Chris Green wrote:
> 
> However I now want to get mail addressed to [EMAIL PROTECTED]
> delivered to [EMAIL PROTECTED]  I tried looking at the qmail
> documentation and it just confused me I'm afraid.  Should I be using
> the /var/qmail/users/assign file describe in qmail-users (but I don't
> have one at the moment).  Should I be using the mechanisms described
> in dot-qmail?  *What* should I be using for a simple alias mechanism?

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.

> What I would really like to do is arrange that all mail for  (regex)
> '.*maxine.*@isbd.demon.co.uk' would go to maxine, is there a simple
> way to do this?

I don't know.

R.
-- 
Two rules to success in life: 
  1. Don't tell people everything you know.
     -- Sassan Tat

Reply via email to