2 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildrop & userdb & aliases
FromSent OnAttachments
Alex PorrasFeb 1, 2002 11:23 am 
Alex PorrasFeb 12, 2002 11:40 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] maildrop & userdb & aliasesActions...
From:Alex Porras (apor@ena.com)
Date:Feb 12, 2002 11:40:47 am
List:net.sourceforge.lists.courier-maildrop

Can someone show me an example (or point me to a place that has an example) of
how to set up aliases when using maildrop w/userdb?

I'm not sure how to go about setting that up. Maybe my logic is wrong. Here's
how I see the sequence of events (using qmail by the way):

1. mail comes in 2. qmail looks at /var/qmail/users/assign

I have a wildcard assignment in assign:

+:alias:1008:1008:/var/qmail/alias::: .

3. qmail hands email off to maildrop (which is run as the alias user because of
#2)

4. maildrop looks for recipient in userdb

5. if recipient is found, maildrop looks in homedir of recipient for .mailfilter

6. mail is delivered

Now if I'm not totally wrong about the above, the question I have is, if
maildrop doesn't find the user in the userdb, how does it know where to look for
.qmail alias files? I have several .qmail-foo alias files in /var/qmail/alias,
but they don't seem to work unless I remove the entry from the assign file.

Any help would be appreciated.