|
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: Cristian Prevedello (plasma
prosa.it)Date: Thu Nov 02 2000 - 08:01:51 CST
- Next message: Thomas Andres: "Re: Relay behaviour"
- Previous message: Ralf Hildebrandt: "Re: Relay behaviour"
- In reply to: Ralf Hildebrandt: "Re: Relay behaviour"
- Next in thread: Thomas Andres: "Re: Relay behaviour"
- Reply: Cristian Prevedello: "Re: Relay behaviour"
- Reply: Thomas Andres: "Re: Relay behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Nov 02, 2000 at 02:32:51PM +0100, Ralf Hildebrandt wrote:
> 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 (user
elsewhere
domain).
>
> So, since relay_domains is empty, Postfix should only relay for
> mynetworks.
> How do you test relaying?
>
> --
> ralf.hildebrandt
innominate.com
> system engineer innominate AG
> the linux architects
> tel: +49-30-308806-62 fax: -77 http://www.innominate.com
telnet mail 25
MAIL FROM: <some address>
RCPT TO: <some remote address>
DATA
.
bye
as i enter RCPT TO postfix should answer relay denied as he did when i try
to relay from a remote site.
-- Cristian Prevedello, System Administrator at Prosa Labs +39.049.804.3.411 tel, +39.049.803.6.484 fax plasmaprosa.it, http://www.prosa.it/ Italians do it better
- Next message: Thomas Andres: "Re: Relay behaviour"
- Previous message: Ralf Hildebrandt: "Re: Relay behaviour"
- In reply to: Ralf Hildebrandt: "Re: Relay behaviour"
- Next in thread: Thomas Andres: "Re: Relay behaviour"
- Reply: Cristian Prevedello: "Re: Relay behaviour"
- Reply: Thomas Andres: "Re: Relay behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]