OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: relay configuration on postfix 2.0.6

From: Wietse Venema (wietseporcupine.org)
Date: Mon Nov 03 2003 - 08:19:22 CST


darknicofree.fr:
>
>
> Hello,
>
> I'm actually trying to setup a mail relay with postfix 2.0.6, and I'm having few
> questions. This relay will be put in DMZ, it has to accept external mails
> (coming from internet) for recipients belonging to mydomain.org and
> beta.mydomain.fr and redirecting it to a specific mailserver. It also has to
> accept internal mails (coming from some servers of a specific network) to
> external accounts (internet).
>
> To do this I was thinking of setting in main.cf
>
> mynetworks = "trusted networks"
> relay_domain = mydomain.org,beta.mydomain.fr
>
> and in transport :
> myrelay smtp:[destination smtp server]
>
> Is postfix making a reverse DNS verification on the helo client command, to be
> sure that the client really belongs to the network it says it is belonging to ?

If you specify only numerical address information in mynetworks,
then Postfix compares mynetworks against the client IP address.

        Wietse

> Thanx a lot in advance
>
> Regards
>
> Nicolas PEYRESAUBES
>
>