Sendmail needs authentication with Smart Host
Kevin J. Cummings
cummings at kjchome.homeip.net
Thu Jan 13 03:38:39 UTC 2011
On 01/12/2011 07:01 PM, Joe Zeff wrote:
> 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
Hurray! This email proves that I finally(!) got the configuration
correct! I got hung up for a while until I realized I was trying to
send the email to my ISP's pop3 server instead of the outgoing smtp
server. DUMB!
Turns out I was looking at the right WWW page (sendmail
configurationReadme), but using your link, I was able to find the text
that spoke about sendmail in client mode. From there, I was able to
find JonFullmer's http://www.jonfullmer.com/smtpauth/ page, which put
everything in terms I could understand. I tested my connection using
telnet to my ISP's server port 25, and determined that my user IDs all
worked (in Base64), and from there I (eventually) found the wrong server
name.
Much thanks again!
--
Kevin J. Cummings
kjchome at verizon.net
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)
More information about the users
mailing list