auth between postfix and dovecot?

Jerry jerry at seibercom.net
Mon Apr 25 09:57:27 UTC 2022


On Sun, 24 Apr 2022 09:06:11 +0800, ミユナ (alice) stated:

>Shawn Heisey wrote:
>> My setup is virtual users in a postfixadmin database.  Dovecot does
>> all authentication, even with posfix.  I believe the config snippets
>> I have included below are the relevant things that make it possible
>> for postfix to talk to dovecot for mail delivery and authentication.
>> 
>> Mail sent from localhost on port 25 does not require authentication
>> on my system, because 127.0.0.0/8 is in postfix's mynetworks config
>> and port 25's access restrictions include permit_mynetworks.
>> Anything sent via submission (port 587) does require auth, even from
>> trusted networks.  If you can configure your webmail to use
>> submission instead of smtp, maybe that can be authenticated.  You'll
>> need to consult support resources for your webmail to see if that is
>> possible.   I can say for sure that roundcube can do it ... I have
>> roundcube configured to talk to port 587, which as mentioned, ALWAYS
>> requires authentication.
>> 
>> When postfix sends mail to dovecot for delivery, I'm pretty sure
>> that happens without authentication.  It's LMTP via unix socket, not 
>> something an outside client can access directly.  
>
>
>Thank you. that's good suggestion.
>
>regards.

These URLs might prove useful.
https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP
https://doc.dovecot.org/configuration_manual/protocols/lmtp_server/#lmtp-server
https://doc.dovecot.org/configuration_manual/howto/postfix_dovecot_lmtp/

I also use Postfix/Dovecot with LMTP.

-- 
Jerry


More information about the dovecot mailing list