[GH-ISSUE #15] Autoreply does not work with Postfix smtpd_sender_login_maps #9

Closed
opened 2026-02-27 10:25:16 +03:00 by kerem · 1 comment
Owner

Originally created by @phaf on GitHub (Aug 20, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa-postfix-autoreply/issues/15

According to the newest version of modoboa's documentation of Postfix maps [0], the configuration settings smtpd_sender_login_maps and smtpd_sender_restrictions should be used.
If I enable them, the autoreply script is not allowed to send the reply mails.

smtpd_sender_login_maps =
<driver>:/etc/postfix/sql-sender-login-mailboxes.cf
<driver>:/etc/postfix/sql-sender-login-aliases.cf
<driver>:/etc/postfix/sql-sender-login-domain-aliases.cf
<driver>:/etc/postfix/sql-sender-login-catchall-aliases.cf

smtpd_sender_restrictions =
reject_sender_login_mismatch

[0] https://github.com/tonioo/modoboa/blob/master/doc/integration/imap_and_smtp.rst

Any ideas on how those settings have be configured in order to work with autoreply?

Thanks in advance.

Originally created by @phaf on GitHub (Aug 20, 2015). Original GitHub issue: https://github.com/modoboa/modoboa-postfix-autoreply/issues/15 According to the newest version of modoboa's documentation of Postfix maps [0], the configuration settings _smtpd_sender_login_maps_ and _smtpd_sender_restrictions_ should be used. If I enable them, the autoreply script is not allowed to send the reply mails. ``` smtpd_sender_login_maps = <driver>:/etc/postfix/sql-sender-login-mailboxes.cf <driver>:/etc/postfix/sql-sender-login-aliases.cf <driver>:/etc/postfix/sql-sender-login-domain-aliases.cf <driver>:/etc/postfix/sql-sender-login-catchall-aliases.cf smtpd_sender_restrictions = reject_sender_login_mismatch ``` [0] https://github.com/tonioo/modoboa/blob/master/doc/integration/imap_and_smtp.rst Any ideas on how those settings have be configured in order to work with autoreply? Thanks in advance.
kerem closed this issue 2026-02-27 10:25:16 +03:00
Author
Owner

@tonioo commented on GitHub (Aug 21, 2015):

Hi,
you need to activate this feature only for the submission port (587), not globally.

<!-- gh-comment-id:133381031 --> @tonioo commented on GitHub (Aug 21, 2015): Hi, you need to activate this feature only for the submission port (587), not globally.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-postfix-autoreply-modoboa#9
No description provided.