Hi,
I think that you have to change the DaemonPortOptions in file sendmail.cf . Look at this instructions from sendmail's site (
www.sendmail.org).
-- Gway
DaemonPortOptions
Previously, sendmail would only listen on one port
Needed to run multiple sendmail daemons to list to multiple ports
Now one daemon can listen on multiple ports on multiple interfaces
Each "daemon" can have different behavior, controlled through new DaemonPortOptions syntax
Specify one DaemonPortOptions setting for each "daemon"
Configuration options: O DaemonPortOptions=Name=name, Modifiers=modifiers, Family=family, Address=addr, Port=port, Listen=listen, SndBufSize=size, RcvBufSizesize
Name= specifies a unique name for that daemon, used in logging (daemon=) and the new ${daemon_name} macro:
Feb 24 14:07:09 horsey sendmail[48955]: e1OM77i48955:
from=<gshapiro@example.com>, size=2163, class=-60, nrcpts=1,
msgid=<200002242206.OAA22862@katroo.example.COM>, proto=ESMTP,
daemon=example.net, auth=gshapiro@katroo.send,
relay=katroo.example.COM [10.246.26.35]
Modifiers= modifies the behavior of that daemon according to the following flags: Flag Description
a require SMTP authentication
b bind to interface through which mail has been received for outgoing message
c perform hostname canonification
f require fully qualified hostname
h use name of interface for outgoing HELO command
C don't perform hostname canonification
E disallow ETRN (see RFC 2476)
Address= specifies the address to listen on (default: all)
Port= specifies the port to listen on (default: smtp (25))
Family= specifies the protocol family (e.g., inet (IPv4) or inet6 (IPv6)) (default: both)
Listen= specifies the listen queue size
SndBufSize= specifies the network send buffer size
RcvBufSize= specifies the network receive buffer size
Example:
O DaemonPortOptions=Name=example.net, Addr=smtp.example.net
O DaemonPortOptions=Name=endmail, Addr=10.220.147.187, Port=smtp, Modifiers=bh
O DaemonPortOptions=Name=halcyondays, Addr=10.220.147.188, Port=25, Modifiers=bh
O DaemonPortOptions=Port=587, Name=MSA, M=E
DAEMON_OPTIONS(`Name=example.net, Addr=smtp.example.net')
DAEMON_OPTIONS(`Name=endmail, Addr=10.220.147.187, Port=smtp, Modifiers=bh')
DAEMON_OPTIONS(`Name=halcyondays, Addr=10.220.147.188, Port=25, Modifiers=bh')
DAEMON_OPTIONS(`Port=587, Name=MSA, M=E')