On 2008/01/05 12:00, Daniel wrote:
> I wish to use sendmail in base to use a SMART_HOST (my isp's smtp
> server), and that SMART_HOST requires authentication. I was told that
> sendmail must be compiled with SASL support even if it is only acting
> as and smtp client when using AUTH. Is it right? Am I stuck here, and
> won't be able configure sendmail to support AUTH as an smtp client?

You can install cyrus-sasl and recompile sendmail from /usr/src
with WANT_SMTPAUTH=yes. If you use another MTA for this it makes
OS upgrades simpler though - the sasl2 FLAVOR of postfix works
nicely for me, here are the main configuration entries to set:

/etc/postfix/main.cf -

smtp_use_tls = yes
smtp_tls_cert_file = /etc/mail/certs/mycert.pem
smtp_tls_key_file = /etc/mail/certs/mykey.pem
relayhost = [mail.messagingengine.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpw
smtp_sasl_security_options =

/etc/postfix/saslpw -

[mail.messagingengine.com]:587  [EMAIL PROTECTED]:password

and create the TLS certificates as described in starttls(8)
(I might have missed something but this should get you most of
the way).

Reply via email to