sawyl: (Default)
[personal profile] sawyl
The trick to setting up SMTP client authentication with sendmail seems to be the following:

  1. mkdir -m 700 /etc/mail/auth
  2. vi /etc/mail/auth/client-info
  3. Dump the following into the file: 'AuthInfo:smtphost.isp "U:localuser" "I:remoteuser" "P:smtppassword" "R:smtphost.isp" "M:DIGEST-MD5 CRAM-MD5 LOGIN PLAIN"' with the various bits and pieces tuned to reflect your setup.
  4. cd /etc/mail/auth; makemap hash client-info < client-info
  5. vi /etc/mail/sendmail.mc
  6. Add 'FEATURE(`authinfo',`hash /etc/mail/auth/client-info')'
  7. m4 sendmail.mc > sendmail.cf
  8. kill -HUP `cat /var/run/sendmail.pid`

Easy when you know how...

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 5th, 2026 03:47 am
Powered by Dreamwidth Studios