<source>
The default is true: the AUTH command is allowed. With false the engine neither offers nor accepts it — so no login works on this source.
The pair with require-auth reads like this: this directive says whether you can log in, that one — whether you must. The combination “cannot log in, but must” makes the source non-working: nobody will be able to hand over mail through it.
It is turned off to narrow the attack surface — where logins on this source are not intended at all and login attempts from it can only be someone else’s.
The mistake is easy to make: false is written in a broad block to narrow the surface, and the login requirement in a narrow one, and the narrow one gets both.
The directive would be useful on a source from which submission is not intended at all — for example, the one that accepts complaints and bounces on the mail port. Today the Hub does not make that separation.
What to set. It is turned off rarely and for one reason:
| Value | When |
|---|---|
| yes (default) | submission under a login is intended — the usual case |
| no | there must be no logins on this source, and any login attempt is someone else’s |
The second makes sense where the source accepts only incoming mail — complaints, bounces, reports — and submission through it is not expected.
# logins are not needed on the receiving source — a login attempt is someone else's <source 0/0> allow-auth false</source>
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.7.7
2 relations
printf 'EHLO test\r\nQUIT\r\n' | nc <node-address> 2525 | grep -i auth
3 articles
◇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.◇The group that grants management rightsMembership in the pmta group gives an unprivileged user the right to call the node’s commands and use submission.◇How the node selects a source and combines its settingsA connection falls under all source blocks whose addresses cover it, and they act merged — the narrow one overrides the wide one; named blocks are attached only by direct reference.