On 11/25/20 9:47 PM, Grant Taylor wrote:
That is supported.  You will need to set up a map and tell Sendmail how to use it.  It's not difficult.  But it's been so long that I don't remember exactly how to do it.  It's another define(...) or feature(...) line and adding entries to the file they reference.

TL;DR:

sendmail.cf:
--8<--
define(`SMART_HOST', `mail.shaw.ca')
FEATURE(`authinfo')
-->8--

authinfo:
--8<--
AuthInfo:mail.shaw.ca           "U:USERNAME" "P:PASSWORD" "M:PLAIN"
-->8--

PSA: Remember that Sendmail uses one or more tab(s), not a space, to separate the Left Hand Side (LHS) and Right Hand Side (RHS) of maps. authinfo is a map.

This looks correct.  At least it seems to match my vague memory.

Link - Smart Host setup with SMTP Authentication on Sendmail
 - http://dnsexit.com/support/mailrelay/sendmail.html




--
Grant. . . .
unix || die

Reply via email to