OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: mailForwarding from ldap (why doesn't it work?)

From: Pascal Gienger (Pascal.Giengeruni-konstanz.de)
Date: Mon Jun 02 2003 - 07:40:46 CDT


Jeroen Vriesman <jeroen.vriesmanexperian.nl> wrote:

> The result is that the message still gets delivered twice to the
> mailForwardingAddress, so the 'virtual_maps=ldap:ldapalias' options seems
> to be ignored.

Correct me if I am wrong, but:
Virtual expansion gets done by cleanup(8). So your smtpd will ignore that
option and pass your mail which he got from your amavis again to cleanup,
using the standard options.

Try this:

Use "-o cleanup_service_name=my_other_cleanup" as option for your
amavis-smtpd(8) and define an additional transport "my_other_cleanup" in
master.cf, which invokes cleanup with your appropriate option ("-o
virtual_alias_maps=").

Pascal
--
Pascal Gienger, Kanzleistrasse 14, D-78462 Konstanz
Postfix+SASL-AUTH+LDAP Solaris 8: http://pgienger.de/postfix/