|
myhostname = linux.somedomain.com
mydomain = somedomain.com
mydestination = $myhostname, $mydomain
relay_domains = $mydestination
putting the preceeding in your /etc/postfix/main.cf will restrict relaying only for your domain and none other...
hth,
Chris
-------Original Message-------
Date: Wednesday, October 22, 2003 12:23:31
Subject: [plug] postfix open relay
Hello, everyone!
They say Postfix is NOT an open relay out-of-the-box. I believer them because it won't work for you out-of-the-box. But when I configured it to use my own hostname, domain, and network address, it was declared an open relay by 2 blacklists after a few hours because it kept relaying mails to thousands of "<some domains>.ru" addresses!
What is the quickest way to "close" its "openness?"
I've already tried the various "smtpd_client_restrictions, ....sender_restrictions, ek-ek, to no avail. "
I've gone around the world thru cyberspace, but all the solutions I've seen, including pop-before-smtp, haven't closed all the holes!
-samboy . |