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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux