Sendmail needs authentication with Smart Host

Joe Zeff joe at zeff.us
Thu Jan 13 00:01:18 UTC 2011


On 01/12/2011 03:29 PM, Kevin J. Cummings wrote:
> It doesn't work
> to just set the SMART_HOST, and I can't seem to find the right macro for
> user/password authentication information....

Most of what you need is at http://www.sendmail.org/m4/smtp_auth.html

What it doesn't mention is that after rebuilding sendmail.cf and before 
restarting sendmail you need to run this:

makemap hash /etc/mail/authinfo < /etc/mail/authinfo


More information about the users mailing list