Authentication during outbound delivery: the node logs in on the receiver’s side with the CRAM-MD5, LOGIN or PLAIN mechanism, if the receiver supports it. LOGIN and PLAIN — only with use-unencrypted-plain-auth yes.
The login and password are set in the receiver block — auth-username and auth-password; without both, no login is performed.
Needed where the receiver requires a login — for example, corporate mail that accepts messages only from an identified sender. A receiver block inside a sending address limits the login to messages through that address.
Login directives for delivery:
| What | Directive |
|---|---|
| login | auth-username |
| password | auth-password |
| allow LOGIN and PLAIN | use-unencrypted-plain-auth yes |
<virtual-mta auth-mta> smtp-source-host 1.2.3.4 vmta.esp.com <domain secure.example.org> auth-username costanza auth-password bosco </domain> </virtual-mta>
2 relations
pmta trace secure.example.org/auth-mta tail -40 /var/log/pmta/log
3 articles
◇How a message gets into the engineSix described submission methods: extended SMTP, four language bindings and a directory the node watches on disk.◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇Headers the sender uses to control deliverySix control headers let the submitting side choose a stream, tag a message with a job, set signing options and the key, the envelope identifier and the schedule; each is allowed separately and per source.