Re: smtp_bind_address

From: Michael Tokarev (no email)
Date: Sun Jan 13 2002 - 16:26:07 EST


Wietse Venema wrote:
>
> Juri Haberland:
> > "David Behr" <> wrote:
> > > Hi
> > >
> > > I've got a box with 2 IPs on the same NIC. I want postfix to listen only to
> > > the one IP. I have tried using smtp_bind_address but it still accepts
> > > connections on both IPs. In fact netstat -n -a --ip shows:
> > >
> > > tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
> > >
> > > Is this the wrong parameter? Is there another one to achieve this? It's not
> > > the end of the world since I can use ipchains to block SMTP to the second
> > > address - but it would be interesting to know if postfix can do this.
> >
> > smtp_bind_address is for the sending part (smtp). I don't know if there is a
> > config option for the receiving part (smtpd).
>
> If Postfix should listen on only one IP address, specify
>
> inet_interfaces = $myhostname
>
> in the main.cf file.

Or specify appropriate addresses in master.cf for smtpd process.

Regards,
 Michael.
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD