Re: Sendmail on a LAN



Once upon a time, JD <jd1008@xxxxxxxxx> said:
Well, that would require that sendmail would have to listen
on that alternate port. How is that accomplished?

Change DaemonPortOptions.

If you are using the .mc (recommended) way of configuring sendmail, do
something like:

dnl for local connections
DAEMON_OPTIONS(`Port=smtp, Name=MTA')
dnl for outside connections redirected
DAEMON_OPTIONS(`Port=1234, Name=EMTA')

If your system has multiple IPs (e.g. a router with outside and inside
interfaces), you could restrict which IP and port combos are used (if
you do this, you usually want to listen on localhost as well):

dnl for local connections
DAEMON_OPTIONS(`Port=smtp, Address=192.168.1.1, Name=MTA')
DAEMON_OPTIONS(`Port=smtp, Address=127.0.0.1, Name=LMTA')
dnl for outside connections redirected
DAEMON_OPTIONS(`Port=1234, Address=10.1.1.1, Name=EMTA')

--
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines