|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Alexander V. Kolesnik (sasha
abisoft.spb.ru)Date: Tue Mar 26 2002 - 05:41:39 CST
Michael Alan Dorman wrote:
>
> > So, don't you know how to make postfix read aliases in any
> > situation, since makeing the full copy of NIS+ tables in
> > /etc/procmail/virtual doesn't look like a good step..
>
> I've never had to do it, so I don't have a recipe or anything, and I'm
> hoping someone who understands this better will speak up---but I do
> note that you can use NIS (and presumably NIS+) maps as a virtual
> maps, so perhaps you could do that and thus not have to copy
> anything...?
That's a good idea but I'm not sure that this will work, since virtual
file
contains:
alias
domain user
domain
lines, and aliases are just:
alias user
I gonna use another mechanism: postfix will pass DOMAIN parameter to
procmail and
the procmail will decide itself which deliver to run. Unfortunately, I
can't make
postfix pass this environment parameter (see my discussion with Ralf and
Wietse).
This way looks better than using two procmails.
Anyway, thank you for your help!
-- Best regards, Alexander. - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]