1 |
On 11/25/20 9:47 PM, Grant Taylor wrote: |
2 |
> That is supported. You will need to set up a map and tell Sendmail how |
3 |
> to use it. It's not difficult. But it's been so long that I don't |
4 |
> remember exactly how to do it. It's another define(...) or feature(...) |
5 |
> line and adding entries to the file they reference. |
6 |
|
7 |
TL;DR: |
8 |
|
9 |
sendmail.cf: |
10 |
--8<-- |
11 |
define(`SMART_HOST', `mail.shaw.ca') |
12 |
FEATURE(`authinfo') |
13 |
-->8-- |
14 |
|
15 |
authinfo: |
16 |
--8<-- |
17 |
AuthInfo:mail.shaw.ca "U:USERNAME" "P:PASSWORD" "M:PLAIN" |
18 |
-->8-- |
19 |
|
20 |
PSA: Remember that Sendmail uses one or more tab(s), not a space, to |
21 |
separate the Left Hand Side (LHS) and Right Hand Side (RHS) of maps. |
22 |
authinfo is a map. |
23 |
|
24 |
This looks correct. At least it seems to match my vague memory. |
25 |
|
26 |
Link - Smart Host setup with SMTP Authentication on Sendmail |
27 |
- http://dnsexit.com/support/mailrelay/sendmail.html |
28 |
|
29 |
|
30 |
|
31 |
|
32 |
-- |
33 |
Grant. . . . |
34 |
unix || die |