On 14/03/2024 17:28 EET dovecot--- via dovecot dovecot@dovecot.org wrote:
it is possible to do antispoofing, like reject_authenticated_sender_login_mismatch from postfix ?
I could be wrong, but i believe dovecot submission is only a proxy to postfix submission. Dovecot does not directly delivery mail to the world. Meaning the mail is still passing through postfix and reject_authenticated_sender_login_mismatch would still be applied.
My follow up question would be does dovecot queue the mail or proxy it live? If postfix rejected the submission based on something like reject_authenticated_sender_login_mismatch does the email client get sent the error live by dovecot submission, or would a type of backscatter bounce be created between postfix and dovecot?
Dovecot submission is only a relay. It will not queueing or anything like that, it always requires a live, functional MTA to back it up. If MTA does not reject the mail during sending, then what happens next is up to the MTA.
Aki