Quote:
|
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 main.cf
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/main.cf.
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
Code:
telnet localhost 25
and then issue
and post the output here?
If you see a line starting with
250-AUTH then it should be fine.
Recent comments
1 day 1 hour ago
1 day 8 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 22 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 12 hours ago
2 days 16 hours ago
2 days 17 hours ago