Sendmail not listening to IP ...
m.seaman at infracaninophile.co.uk
Sat Mar 13 14:02:36 PST 2004
On Sat, Mar 13, 2004 at 05:28:02PM -0400, Marc G. Fournier wrote:
> 'k, have to be missing something obvious here ... I have
> DontProbeInterfaces set to True, since I don't want it to pick up the
> other IPs on the box, but do want to bind it to one of the IPs ...
> I can telnet to localhost 25, but not to 22.214.171.124 25 ... so I'm
> figurinmg I disabled everything, and need to add the above IP for binding
> ... somewhere?
To make sendmail bind to selected interfaces use the following syntax
FEATURE(no_default_msa)dnl ## overridden with DAEMON_OPTIONS below
DAEMON_OPTIONS(`Name=IPv4, Addr=126.96.36.199, Family=inet')dnl
DAEMON_OPTIONS(`Name=IPv4, Addr=127.0.0.1, Family=inet')dnl
DAEMON_OPTIONS(`Name=MSA, Addr=188.8.131.52, Port=587, M=E')dnl
DAEMON_OPTIONS(`Name=MSA, Addr=127.0.0.1, Port=587, M=E')dnl
DAEMON_OPTIONS(`Name=IPv6, Addr=::1, Family=inet6')dnl
DAEMON_OPTIONS(`Name=IPv6, Addr=2001:8b0:cf:1::1, Family=inet6')dnl
This is taken directly from my own sendmail config, where I have a
jailed environment on 184.108.40.206 and I don't want the sendmail in the
host environment to listen on that IP number.
See the /usr/share/sendmail/cf/README file for more details
The 'DontProbeInterfaces' stuff is more commonly used when you have
either interfaces that only appear trasniently on the machine (such as
ppp connections) or you have interfaces with hostnames/IP numbers not
registered in the public DNS.
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040313/f975fb93/attachment.bin
More information about the freebsd-questions