MTA on non-standard port

Jeremy Chadwick koitsu at FreeBSD.org
Fri Oct 24 09:29:16 PDT 2008


On Fri, Oct 24, 2008 at 10:50:39AM -0500, Kevin Kinsey wrote:
> Hello,
> 
> For various reasons, I find myself in need of an MTA
> accepting submission on a port other than 587 (or 25).
> 
> It'd be Real Nice(tm) if sendmail could Just Do It,
> but I'd be willing to look at other options as well,
> as long as I can get a good spam solution to play nice
> with the server (currently I'm running dual-sendmail
> with Amavisd-new and spamassassin).
> 
> Anyone doing such a thing, or have a few hints handy?

It can do it.

See the DAEMON_OPTIONS macro in your /etc/mail/hostname.mc file.
(Remember: DO NOT edit sendmail.cf directly).  Here's a hint:

http://www.sendmail.org/~gshapiro/8.10.Training/DaemonPortOptions.html

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-questions mailing list