Re: newbee getting better

Top Page
Delete this message
Reply to this message
Author: webadmin
Date:  
To: Philip Hazel
CC: exim-users
Subject: Re: newbee getting better
Philip Hazel wrote:
>
> On Mon, 29 Sep 1997, webadmin wrote:
>
> > the probelm i have is that if I have a user say
> > postmaster@??? and postmaster@???
> (where
> > node1 in both is tha same), how can I distinguish.
>
> Set up separate directors for each domain, using
>
> domains = node1.domain1.co.uk
>
> on one of them, or even
>
> domain = *.domain1.co.uk
>
> if you want to catch all of them.
>
> > I thought of setting up an alias file
> >
> > postmaster@??? ------>account1
> > postmaster@??? ------>account2
> >
> > But if I have thousands of aliases, will these be a problem, and is
> > there a better way of doing this.
>
> You could do it that way, though if you have thousands of aliases, you
> should probably put them in a dbm file rather than using a linear
> search.
>
> --
> Philip Hazel                   University Computing Service,
> ph10@???             New Museums Site, Cambridge CB2 3QG,
> P.Hazel@???          England.  Phone: +44 1223 334714


Thanks for that, I have set local domains as
*.domain1.co.uk:*.domain2.co.uk

This way it will pick yup all of them. I need to do it this way cause
the * part will keep changing as users set there own.

As for the aliases file, the dbm would be better, but I dont want to
keep rebuilding the dbm after every entry to it. I think this will be
really slow, if I have about 50000 entries (but then so would the linear
aliase file). Is there a way of updating the dbm on the fly, so I dont
have to rebuild. One of the reasons why I am looking at exim instead of
sendmail is the problem with the rebuilding of the dbm files.

So far it looks good with the option of dropping mail without having a
localuser in /etc/passwd

One last question (famous last words), I want to split the mail spool (
i think thats what its called) basically where the mail is dropped into
several sub dirs. I want more than 26 so i cant go down the route of
$lenght_1:localpart, you dont have any other ideas which could force the
split into more combinations, I was thinking
<firstletter>/secondletter/local_part

thanks for your help

Iqbal

--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/