|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Derek Simkowiak (dereks_at_itsite.com)
Date: Thu Jan 02 2003 - 13:55:58 CST
> > You have real local users, with real local userids associated with
> > their real local system accounts on your mailserver. You want to use
> > Postfix's local(8) delivery agent. Since you want to deliver with
> > procmail, you want something like
> >
> > mailbox_command = /usr/bin/procmail
> - If you want extension support (you are using recipient_delimiter and
> want procmail to be extension aware) use:
What does "extension aware" mean?
The external LDAP database that holds my users is also being used
for PAM (Pluggable Authentication Modules), and thus, each email recipient
(aka "local user") does have a system account.
But here's a wrench to throw into the gears: I want to support
multiple domains, and I can't have usernames conflict across domains.
Thus, I need to support both
dereks
first.com
dereks
second.com
...and have those refer to two separate "dereks" accounts on the
system. The solution seems to be using account usernames like
dereks
first.com
dereks
second.com
That is, the username is the same as the email address, including
the
domain.com part. It seems to work with all the software I need
(Courier IMAP, PAM, Apache) but my understanding is that Postfix has no
way to look up a local user account *including the domain part*. The docs
say it uses everything up to the first '
' character.
With the "virtual" delivery agent, I can build the LDAP query to
search for the domain with the email address (I believe... not yet
tested). And _that_ is the reason I want to treat my users as "virtual".
But I need to use procmail as the local delivery agent because of
some other pieces (Squirrelmail).
> mailbox_command = /usr/bin/procmail -a "$EXTENSION"
What is this, and what problem does it solve? (A URL would be
great.)
Thanks,
Derek
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]