Hello Colin,
Tuesday, 29 May 2001, you wrote:
CM> At 18:15 25/05/01 +0100, Mark Robinson wrote:
>>Is there an easy way to get sendmail to listen on a port other than
>>port 25?
CM> It is possible. Off the top of my head, this is how various virus checkers
CM> (inflex / amavis) work. From the sendmail manual:
That's what I am trying to do, except with the native SMTP scanner
from Sophos... Their set-up is the virus scanner is on a separate
server which is not really practical... I'm trying to put the virus
scanner on 25, and sendmail on another port on the same box. Sophos
will forward clean mail to a host/port combo, so I'm hoping that
localhost:2525 (or something like that) will work... I've got amavis
(non daemon) on the box, and it works well most of the time, but
occasionally it goes awol and eats 100% cpu...
CM> DaemonPortOptions=options
CM> [O] Set server SMTP options. The options
CM> are key=value pairs. Known keys are:
CM> Port Name/number of listening port (defaults to
CM> "smtp")
CM> Addr Address mask (defaults INADDR_ANY)
CM> Family Address family (defaults to INET)
CM> Listen Size of listen queue (defaults to 10)
CM> SndBufSizeSize of TCP send buffer
CM> RcvBufSizeSize of TCP receive buffer
CM> The Address mask may be a numeric address in
CM> dot notation or a network name.
CM> AIR you can set control options on the command line as well as in the
CM> sendmail.cf file.
I'll try that when I get a spare hour/day/life!
CM> Alternatively you could do something clever with port forwarding.
Hmm, could be tricky... I tend to use the SuSE firewall scripts which
can be a little inflexible at times.
CM> HTH
Yep thanks...
Mark
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------