OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix behavior

From: Wietse Venema (wietseporcupine.org)
Date: Mon Mar 01 2004 - 12:36:04 CST


Mike Futerko:
> Hi Wietse,
>
> Sorry that bother you again, but:
>
> > > 2) When I send mail I see that Postfix checks sender address/domain in the
> > > virtual_alias_maps. Why does Postfix do this?
> >
> > Because by default, virtual_alias_domains = $virtual_alias_maps, for
> > backwards compatibility with Postfix 1.1.
>
> Here I mean Postfix checks SENDER address and then SENDER domain in the
> virtual_alias_maps, as shown in the logs attached. So why Postfix checks
> SENDER address/domain in recipient aliases? What is the reason to check SENDER
> address and domain in RECIPIENT aliases?

Postfix recent snapshots check SENDER and RECIPIENT. This can stop
malware, and it is generally a bad idea to send mail with an invalid
return address.

        Wietse