<html><head></head><body>I am quite curious about the circumstances of this question. I was not aware that Dovecot actually offered mail submission service. If Dovecot does offer such a service, then it will have to relay the submitted mail to the real MTA, which is very likely not Dovecot. At the moment I have Postfix set up as MTA for that purpose —<br><br>Relaying on port 25 is usually quick and easy to whitelist for certain permitted hosts, but otherwise port 587, optionally with STARTTLS, and/or port 465 with SSL/TLS is generally set up for user authenticated mail submissions.<br><br>See also:<br><a href="https://www.mailgun.com/blog/which-smtp-port-understanding-ports-25-465-587/">https://www.mailgun.com/blog/which-smtp-port-understanding-ports-25-465-587/</a><br><br><br><br><div class="gmail_quote">On July 28, 2021 6:10:28 AM AKDT, Dan Conway <darkc0de@archnix6.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hello,<br><br>Is it possible to disable the requirement for authentication on the <br>submission service? I'm trying to require authentication for all, except <br>for a handful of IP addresses.<br><br>Thank you.<br><br><br>ehlo test.com<br>250-aaa<br>250-AUTH PLAIN LOGIN<br>250-BURL imap<br>250-CHUNKING<br>250-DSN<br>250-ENHANCEDSTATUSCODES<br>250-SIZE<br>250 PIPELINING<br>MAIL FROM:<test@test.com><br>530 5.7.0 Authentication required.<br><br></pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>