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, which processes are using virtual_alias_maps

From: Wietse Venema (wietseporcupine.org)
Date: Mon Jun 02 2003 - 08:46:36 CDT


Jeroen Vriesman:
> So my conclusion is that the cleanup process is not doing the
>ldap alias expansion, or, it's not the only process which uses the
>virtual_alias_maps parameter.
>
> Does anyone know which processes are using the alias_maps_parameter ?

This changes with Postfix releases. With Postfix 2.0:

Virtual alias lookup (not expansion) happens in smtpd. This is how
smtpd finds out if mail must be rejected with "user unknown". And
this is likely to change in the future.

Virtual alias domain lookup happens in smtpd. This is how smtpd
finds out if mail must be rejected with "relay access denied".

Virtual alias expansion is done in the cleanup server as mail is
written to queue file.

Virtual alias domain lookup happens in trivial-rewrite, in order
to reject mail for unknown users in virtual alias domains.

If you want to be safe against change, then it is better to run
two Postfixes side by side, perhaps on the same machine.

        Wietse