> On 04-23-2022 12:35 am, ミユナ wrote:
> when postfix talks to dovecot, does it require user's username/password for 
> authentication? or this communication just goes without
> authentication?

I have to do a little guessing on what you mean.
When postfix talks to dovecot? To do what? Deliver an email to inbox? LMTP?
Or do you mean when a user sends an email through postfix submission?


> I asked this, b/c my webmail send mail from localhost has been going without 
> authentication to postifx.
> so i am not sure if postfix talks to dovecot without requiring auth too.

As far as your webmail sending email, usually webmail is not setup to talk to 
dovecot and goes to postfix submission for sending email. By default postfix 
does not speak with dovecot when sending an email through submission. However 
you can configure postfix to check with dovecot auth before sending the email.


You will want to look into the following settings for submission in the 
master.cf

   -o smtpd_sasl_type=dovecot
   -o smtpd_sasl_path=private/auth
   -o smtpd_sasl_auth_enable=yes
   -o smtpd_sasl_security_options=noanonymous
   -o smtpd_*_restrictions=reject_sender_login_mismatch

This can look
differently depending on each server setup, so i don't recommend copying those 
exact settings.
Just use those as examples to give you an idea of where to look in docs and how 
they are used.

Reply via email to