On 2009-05-31, Ben Goren <b...@trumpetpower.com> wrote: > On 2009 May 30, at 5:05 PM, Gilles Chehade wrote: > >> On Sat, May 30, 2009 at 08:01:49PM -0400, Aaron W. Hsu wrote: >>> Hello SMTPD Gurus, >>> >>> I have noticed some TLS based authentication stuff in the >>> smtpd.conf(5) >>> man page. I don't see more details about how it works, though. How >>> far along is the TLS based stuff? I'd like to test smtpd with my >>> email server on my local machine, which operates as a client to my >>> sendmail based server remotely via TLS Authentication. Is this in >>> their yet, or does the TLS work differently right now? >>> >>> Thanks! And, sorry for bugging you if this should be obvious. >>> >> >> It should just work :-) >> >> If it doesn't let me know, I'm in an ssl mood right now > > Since you're offering.... > > TLS I got to work just by reading starttls(8) and making sure the keys > were in the right place. > > That doesn't get you SMTP AUTH, though. It's been at least a few weeks > since I tried, so I'm afraid I don't remember the details, but I tried > installing the Cyrus SASL package without success. That may or may not > have been due to my idiocy -- but I figured I'd ask: > > What's the preferred method of configuring Sendmail to require a > password for relaying mail from popular MUAs like Apple Mail?
If you're talking about Sendmail (not smtpd), you have to install cyrus-sasl and rebuild from source after setting a variable in mk.conf: $ grep SASL gnu/usr.sbin/sendmail/sendmail/Makefile # To build with SASL support define WANT_SMTPAUTH in /etc/mk.conf (unsupported) ENVDEF+= -DSASL