Date: Sat, 22 Sep 2007 19:26:44 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: "Michael W. Lucas" <mwlucas@blackhelicopters.org> Cc: freebsd-isp@freebsd.org Subject: Re: SMTP AUTH over SSL only? Message-ID: <46F55E64.8080604@infracaninophile.co.uk> In-Reply-To: <20070922174425.GA37518@bewilderbeast.blackhelicopters.org> References: <20070922174425.GA37518@bewilderbeast.blackhelicopters.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Michael W. Lucas wrote: > Hi folks, > > I have a FreeBSD 7.0 server where I'd like to authenticate against > /etc/master.passwd when using SMTP AUTH and Sendmail. This means > using LOGIN, which can use either plain text or SSL-tunneled > connections. I'd like to allow SMTP AUTH only over SSL, and disallow > it over unencrypted connections. Any suggestions on this? Surely > there's just some switch I'm missing? The archives and search engines > are full of people trying to get SSL working, not people trying to > turn off non-SSL connections. > > Here's the relevant snippets of sendmail.mc I'm using. > > TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl > define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl > define(`CERT_DIR', `/usr/local/etc/certs')dnl > define(`confCACERT_PATH', `CERT_DIR')dnl > define(`confCACERT', `CERT_DIR/hostname.pem')dnl > define(`confSERVER_CERT', `CERT_DIR/hostname.pem')dnl > define(`confSERVER_KEY', `CERT_DIR/hostname-key.pem')dnl > define(`confCLIENT_CERT', `CERT_DIR/hostname.pem')dnl > define(`confCLIENT_KEY', `CERT_DIR/hostname-key.pem')dnl > DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl > DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl > > Any suggestions greatly appreciated! Add this to your /etc/mail/`hostname`.mc: define(`confAUTH_OPTIONS', `p,y')dnl See /usr/share/doc/smm/08.sendmailop/paper.ascii.gz for details - -- search for the section on AuthOptions.. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG9V5k8Mjk52CukIwRCJzNAJ9t/LFlY9x+NCpBJMoSk2FcDwXgbQCdERcm SlUoyTu7YKZCn3L8gl/LorI= =6ZUO -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46F55E64.8080604>