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: Mike Futerko (mikeLITech.lviv.ua)
Date: Tue Mar 02 2004 - 05:12:08 CST


Hi Wietse,

> > > > 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.
> >
> > Yes, I understand and agree that it's bad to allow to send mail with
> > invalid return address. However logs show that Postfix checks SENDER
> > address in ALIAS tables,
>
> If the sender address does not exist then Postfix rejects their mail.
> To find out if the address does not exist, Postfix must examine the
> tables with valid recipient addresses.

It's applicable when I relay mail through my server, but not when I accept
mail from the Internet.

For example you send me mail, so why I have to check YOUR address in MY ALIAS
tables, while I don't accept mail for YOUR domain nor your IP match mynetworks?!

Thanks,
Mike.