On 31 Oct 2006 16:04:06 -0800, I waved a wand and this message
magically appears in front of Nietzsche:
> My problm is I've been trying to get sendmail to do it by following
> this,
> http://www.sendmail.org/~ca/email/au...thinstsendmail
> but can't get SASL compiled in. Checked my lib and include dirs,
> everything compiles fine with no errors but no SASL when is do
> "sendmail -d0.1 -bv". I posted in the sendmail group but in the mean
> time I thought I ask if anyone had successfully used anything else for
> relaying with a username and pass via port 465 through SSL. Thanks for
> any suggestions.
I have Cyrus-SASL working perfectly with sendmail for sending e-mail
via SMTP-AUTH enabled mail servers. I'm assuming you only want to
connect to a SMTP-AUTH enabled relay server.
It's a bit fiddly but here's the steps:
1. emerge cyrus-sasl (don't bother configuring database stuff)
2. USE="sasl" emerge sendmail
3. Modify /etc/sendmail.mc to include the following:
define(`SMART_HOST', `your isp relay')dnl
define(`confAUTH_MECHANISMS', `CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo', `hash /etc/mail/auth/client-info')dnl
4. Generate sendmail.cf by doing m4 sendmail.mc > /etc/mail/sendmail.cf
5. Create /etc/mail/auth subdirectory
6. Configure /etc/mail/auth/client-info with information necessary so
sendmail can authenticate itself with the remote relay sever.
Now start sendmail and test it by sending an e-mail through.
--
http://www.munted.org.uk
You've been eating the cat food again, haven't you?