Israel Garcia wrote:
Yes, I did it, I put all my servers IPs inside mynetworks at
main.cf.......BUT I noticed that a user from any server can send mail
using any sender and it's a big problem, because any user can send
spam inside my network to Internet.. How can I block this user from
sending mail with any sender address?
regards,
Israel.
On Thu, Aug 20, 2009 at 8:07 AM, Udo Rader<list...@bestsolution.at> wrote:
Israel Garcia wrote:
My scenario:
I have a lot of postfix servers, each one, use to sent mail directly
to internet, so It's difficult to monitor them.
What I want?
Put all postfix's of my servers to send all their external mail to an
smarthost server in my network. I mean, the smarthost must receive
ONLY mail from my servers and relay them mail to internet. Remember I
have a lot of different servers and domains so I don't know how to
configure this smarthost becasuse in some way it's becoming an open
relay.
My question:
How can I setup a secure smarthost to my network that receive mail
ONLY from my servers and relay all mail directly to Internet? Include
some configuration if possible.
if you know the IP addresses of "your" lots of different servers and
domains, just use the mynetwork directive [1]
And most important, RTFM [2]
[1] http://www.postfix.org/postconf.5.html#mynetworks
[2] http://www.postfix.org/STANDARD_CONFIGURATION_README.html
please don't top post and please don't reply off-list.
then, as suggested in http://www.postfix.org/DEBUG_README.html#mail
show what postconf -n gives and post log excerpts for the described
problem from the affected server.
--
Udo Rader, CTO
http://www.bestsolution.at
http://riaschissl.blogspot.com