[GH-ISSUE #926] Missing reference to sql-sender-login-mailboxes-extra.cf restricts using extra user sender addresses #801

Closed
opened 2026-02-27 11:13:37 +03:00 by kerem · 1 comment
Owner

Originally created by @tkosars on GitHub (Sep 26, 2016).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/926

Originally assigned to: @tonioo on GitHub.

I have a special account for relaying messages using various email addresses. Added the required Sender addresses but I kept getting the following error in mail.log:

553 5.7.1 <example.adress@domain.com>: Sender address rejected: not owned by user specialaccount@modoboa-host;

Started lurking in /etc/postfix folder and found out that modoba already has a mapping for this case, but there is no reference in main.cf:

mysql:/etc/postfix/sql-sender-login-mailboxes-extra.cf

Added this mapping to smtpd_sender_login_maps and the Sender address is being accepted for relaying now:

smtpd_sender_login_maps = mysql:/etc/postfix/sql-sender-login-mailboxes.cf mysql:/etc/postfix/sql-sender-login-aliases.cf mysql:/etc/postfix/sql-sender-login-mailboxes-extra.cf

Please let me know if I'm thinking it right.

Originally created by @tkosars on GitHub (Sep 26, 2016). Original GitHub issue: https://github.com/modoboa/modoboa/issues/926 Originally assigned to: @tonioo on GitHub. I have a special account for relaying messages using various email addresses. Added the required Sender addresses but I kept getting the following error in mail.log: `553 5.7.1 <example.adress@domain.com>: Sender address rejected: not owned by user specialaccount@modoboa-host;` Started lurking in /etc/postfix folder and found out that modoba already has a mapping for this case, but there is no reference in main.cf: `mysql:/etc/postfix/sql-sender-login-mailboxes-extra.cf` Added this mapping to smtpd_sender_login_maps and the Sender address is being accepted for relaying now: `smtpd_sender_login_maps = mysql:/etc/postfix/sql-sender-login-mailboxes.cf mysql:/etc/postfix/sql-sender-login-aliases.cf mysql:/etc/postfix/sql-sender-login-mailboxes-extra.cf` Please let me know if I'm thinking it right.
kerem 2026-02-27 11:13:37 +03:00
Author
Owner

@tonioo commented on GitHub (Sep 26, 2016):

You're right, I forgot to mention in the documentation and in the upgrade procedure. I'll fix it asap. Thanks for the feedback!

<!-- gh-comment-id:249661954 --> @tonioo commented on GitHub (Sep 26, 2016): You're right, I forgot to mention in the documentation and in the upgrade procedure. I'll fix it asap. Thanks for the feedback!
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-modoboa#801
No description provided.