Re: Postfix

From: Dylan Griffiths <dylang_at_no.spam.please>
Date: Fri May 26 2006 - 17:55:31 CST

Jason Pion wrote:
> Ok, I have used sendmail exclusively for 9 years, and I have just
> installed a SuSE 10.1 box that is going to handle smtp. I have a small
> list of domains that I want to allow external email from, as well as
> allowing email from the LAN and all outgoing email.
>
> In sendmail I use tcp wrappers to limit the hosts that can even connect to
> the smtp server. I can't seem to find a service name to use in
> hosts.allow for postfix. Does postfix support tcp wrappers, or am I
> barking up the wrong tree entirely here? Is there a better way to limit

The author of Postfix is also the author of TCP wrapper. I would say it
supports it.

http://www.postfix.org/linuxsecurity-200407.html

However, you are much better served by using the internal Postfix
restriction support. You will find that since Postfix does not M4
line-noise for its configuration file, everything will fall into place
easily. More than 10 lines or so in your main.cf is an over-configured
Postfix setup ;)

mynetworks = 192.168.0.0/24, 127.0.0.0/8, EXTERNAL_IP
  -- Allows my private class C, my loopback, and the external IP of the
server.

Add in some SMTP auth, shake, and enjoy a smooth dose of good SMTP
courtesy of Mr. Venema.

> the external hosts/domains that can connect to postfix? Something in
> main.cf?
>
> Any help for a postfix newbie would be greatly appreciated. Thanks.
Received on Fri May 26 17:55:43 2006

This archive was generated by hypermail 2.1.8 : Fri Sep 08 2006 - 23:26:38 CST