Making no assertions\judgements as to the goal or intended path to get there…just helping with the original question…
Based on the submission server link below, it appears you will need to use the same auth mechanisms for submission as you do for imap\pop. So essentially, the same type of config for allowing no auth imap\pop connections should be how you cfg no auth submission connections.
In addition to the following links, I would also take a look at Dovecot’s default auth config file for more details on how to allow access without auth…
https://doc.dovecot.org/admin_manual/submission_server/ https://doc.dovecot.org/configuration_manual/authentication/
On 28 Jul 2021, at 7:10, Dan Conway wrote:
Hello,
Is it possible to disable the requirement for authentication on the submission service? I'm trying to require authentication for all, except for a handful of IP addresses.
Thank you.
ehlo test.com 250-aaa 250-AUTH PLAIN LOGIN 250-BURL imap 250-CHUNKING 250-DSN 250-ENHANCEDSTATUSCODES 250-SIZE 250 PIPELINING MAIL FROM:<test@test.com> 530 5.7.0 Authentication required.