On Wed, Mar 24, 1999 at 11:55:07PM +0000, Robin Bowes wrote:
> Chris Green wrote:
> > 
> man qmail-users:
> 
>        The file /var/qmail/users/assign assigns addresses to users. For
> example,
> 
>           =joe.shmoe:joe:503:78:/home/joe:::
> 
>        says  that  mail for joe.shmoe should be delivered to user joe,
> with uid 503 and gid 78, as specified
>        by /home/joe/.qmail.
> 
> So, in your example, you would use:
> 
> =maxine.green:maxine:xxx:yyy:/home/maxine:::
> .
> 
> Where xxx is Maxine's user ID and yyy is her group ID.  Don't forget the
> "." on the last line.  Also, don't forget to re-build the cdb with
> qmail-newu.
> 
> > I have created a file .qmail-maxine.green in /var/qmail/alias with
> > just 'maxine' in it but that doesn't seem to work.  It also seems a
> > rather clumsy mechanism if I wanted to create a lot of aliases.  
> 
> man dot-qmail:
> 
>       WARNING:  For  security, qmail-local replaces any dots in ext with
> colons before checking .qmail-ext.
>        For convenience, qmail-local converts any uppercase letters in
> ext to lowercase.
> 
> Try using .qmail-maxine:green instead.
> 
So that's qmail-users, qmail-newu and dot-qmail manual pages I have to
look at just to add a simple alias.  Also there's still no guidance as
to *which* mechanism would be the normal way to do it.

Also, the qmail-users approach apparently doesn't replace the . with a :
whereas the other approach *does* replace the . with a :. I
realise this is all probably to do with the order in which the various
processes in qmail handle mail but it's not conducive to helping a
newcomer set things up.

While I am not a Unix newcomer (I have programmed on Unix systems
since the early 80s) I *am* a newcomer to managing a Unix mail system.
As I have said before there are now far more people likely to be doing
this sort of thing with the coming of small home networks running
Linux.  A tutorial or some sort of introductory text for this sort of
user would be extremely useful.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/

Reply via email to