OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Relay behaviour
From: Ralf Hildebrandt (Ralf.Hildebrandtberliner-volksbank.de)
Date: Thu Nov 02 2000 - 07:32:51 CST


Cristian Prevedello wrote:
>

> > > myhostname = penney.prosa.it
> > > myorigin = penney.prosa.it
> > > queue_directory = /var/spool/postfix
> > > relay_domains =
> > > transport_maps = hash:/etc/postfix/transport
> > > mynetworks = 127.0.0.0/8 213.255.48.128/29

> smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains

aha

> (they are the default values).

Hey, I don't know the defaults by heart :)

By default, the Postfix SMTP server relays mail:

* from trusted clients whose IP address matches $mynetworks,
* from trusted clients whose hostname matches $relay_domains or a
subdomain thereof,
* from untrusted clients to destinations that match $relay_domains or a
subdomain thereof, except for addresses that contain sender-specified
routing (userelsewheredomain).

So, since relay_domains is empty, Postfix should only relay for
mynetworks.
How do you test relaying?

-- 
ralf.hildebrandtinnominate.com
system engineer                                         innominate AG
                                                 the linux architects
tel: +49-30-308806-62   fax: -77            http://www.innominate.com