Re: Sendmail on a LAN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux