View Single Post
Old 5th October 2005, 03:16
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Originally Posted by matehortua
i think an Open Relay is when th mail server (postfix) sends mail from any domain to any destination.

i think it should restrict the sending of mails to:

mydestination = /etc/postfix/local-host-names

but is not...

i have this line also on the
relay_domains = $mydestination

can you tell what is the appropiate way to enable on my server the sending of messagges ONLY to my local-host-names??

a lot of tanx
There are 3 cases where your server accepts emails without authentication, but is still not an open relay:
1) You're sending directly from your server, i.e. you're logged in on the server, e.g. on the shell or with a webmail interface.
2) You're sending an email to a recipient who is on the server.
3) You're sending from within a network that is specified in the mynetworks variable in /etc/postfix/

If one of these 3 points applies, and you're wondering why you don't need to authenticate: this is normal and does not mean your server is an open relay.

Can you run
telnet localhost 25
and then issue
ehlo localhost
and post the output here?
If you see a line starting with 250-AUTH then it should be fine.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote