First I'd like to point out that the best place to get advanced
Postfix configuration advice is on the Postfix User mailing list. I
highly recommend joining that list.
Make sure you search the mailing list archives first though, a lot of
stuff has already been covered many times. It might be a good idea to
follow this advise with this list as well as your second question
below has been covered before. I know because I've covered it at
least a couple of times here myself. Also, Google is your friend!
On 25-Jan-07, at 11:11 AM, Paul Chernoff wrote:
Now that I have a Mac OS X Server mail server running, I would like
to do some additional settings to match settings that I have
created in EIMS. I haven't found this information in Apple's
manuals, but I would be happy for references to where to find this
information in Postfix or Cyrus documentation.
1) I want to restrict the mail servers that this server will accept
e-mail from. We use Postini to filter our e-mail and I want to
ensure that senders are not bypassing Postini by sending mail
directly to my mail servers IP address. In EIMS I have define what
IP addresses and ranges that can access our SMTP service (this is
not the Relay Security setting).
The easiest way to implement this is probably with rules in your
firewall but I think you can do it using Transports in Postfix if you
want to go that route.
2) If someone is in my LAN they can use port 25 for sending e-mail
through our server, but if they are not on our LAN they should use
port 587. This is done partly to get around various ISPs who block
port 25.
This one is easy. Edit the file at /etc/postfix/master.cf. Look for
the following line and remove the hash mark '#' from in front of it.
#submission inet n - n - - smtpd
Reload Postfix.
sudo postfix reload
--
Gino Cerullo
Pixel Point Studios
21 Chesham Drive
Toronto, ON M3M 1W6