[GH-ISSUE #803] User can't create *@example.com => @otherdomain.com alias #715

Closed
opened 2026-02-27 11:13:11 +03:00 by kerem · 4 comments
Owner

Originally created by @tonioo on GitHub (Dec 4, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/803

From @harobed on July 1, 2015 12:5

User can't create *@example.com => @otherdomain.com alias.

Solution :

What do you think about this solution ?

Copied from original issue: modoboa/modoboa-admin#32

Originally created by @tonioo on GitHub (Dec 4, 2015). Original GitHub issue: https://github.com/modoboa/modoboa/issues/803 _From @harobed on July 1, 2015 12:5_ User can't create `*@example.com` => `@otherdomain.com` alias. Solution : - user define *@example.com => *@otherdomain.com in modoboa-admin user interface - append `TRIM(LEADING '*' FROM al.extmboxes)` here : https://github.com/modoboa/modoboa-admin/blob/master/modoboa_admin/postfix_maps.py#L66 What do you think about this solution ? _Copied from original issue: modoboa/modoboa-admin#32_
kerem closed this issue 2026-02-27 11:13:11 +03:00
Author
Owner

@tonioo commented on GitHub (Dec 4, 2015):

From @harobed on July 2, 2015 13:26

What do you think about this proposition ?

<!-- gh-comment-id:162084990 --> @tonioo commented on GitHub (Dec 4, 2015): _From @harobed on July 2, 2015 13:26_ What do you think about this proposition ?
Author
Owner

@tonioo commented on GitHub (Dec 4, 2015):

As modoboa already provides a way to create domain aliases (based on http://www.postfix.org/postconf.5.html#virtual_alias_domains), we need to know what's the best mechanism.

<!-- gh-comment-id:162084994 --> @tonioo commented on GitHub (Dec 4, 2015): As modoboa already provides a way to create domain aliases (based on http://www.postfix.org/postconf.5.html#virtual_alias_domains), we need to know what's the best mechanism.
Author
Owner

@SonRiab commented on GitHub (Dec 8, 2015):

Trim leading * from alias addresses before saving them would reduce wrong user input for catch-all aliases. Doing it in the mapping file is to late in my opinion. And adding domain aliases this way is confusing. The already provided way is much clearer for me.

<!-- gh-comment-id:162885472 --> @SonRiab commented on GitHub (Dec 8, 2015): Trim leading \* from alias addresses before saving them would reduce wrong user input for catch-all aliases. Doing it in the mapping file is to late in my opinion. And adding domain aliases this way is confusing. The already provided way is much clearer for me.
Author
Owner

@tonioo commented on GitHub (Dec 8, 2015):

Catchall aliases are no longer defined using a * character. Modoboa does now respect the internal postfix format.

<!-- gh-comment-id:163001383 --> @tonioo commented on GitHub (Dec 8, 2015): Catchall aliases are no longer defined using a \* character. Modoboa does now respect the internal postfix format.
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#715
No description provided.