mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[GH-ISSUE #403] in autoreply documentation, precise importance of order in virtual_alias_maps #385
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#385
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/403
Originally assigned to: @tonioo on GitHub.
Originally created by Fabrice Flore-Thébault on 2013-05-08T16:44:47Z
In http://docs.modoboa.org/getting_started/plugins.html#postifx-auto-reply-messages please add a note about the importance of the order of the maps.
This will work (sql-autoreplies.cf is 2nd position)
virtual_alias_maps = mysql:/etc/postfix/mapfiles/sql-aliases.cf, mysql:/etc/postfix/mapfiles/sql-autoreplies.cf, mysql:/etc/postfix/mapfiles/sql-domain-aliases-mailboxes.cf, mysql:/etc/postfix/mapfiles/sql-email2email.cf, mysql:/etc/postfix/mapfiles/sql-catchall-aliases.cf,But this will not work (sql-autoreplies.cf is last position):
virtual_alias_maps = mysql:/etc/postfix/mapfiles/sql-aliases.cf, mysql:/etc/postfix/mapfiles/sql-domain-aliases-mailboxes.cf, mysql:/etc/postfix/mapfiles/sql-email2email.cf, mysql:/etc/postfix/mapfiles/sql-catchall-aliases.cf, mysql:/etc/postfix/mapfiles/sql-autoreplies.cf,@tonioo commented on GitHub (Dec 4, 2013):
Posted by Fabrice Flore-Thébault on 2013-05-15T19:48:11Z
In fact the correct order seems to be this one:
virtual_alias_maps = mysql:/etc/postfix/mapfiles/sql-aliases.cf, mysql:/etc/postfix/mapfiles/sql-domain-aliases-mailboxes.cf, mysql:/etc/postfix/mapfiles/sql-email2email.cf, mysql:/etc/postfix/mapfiles/sql-autoreplies.cf, mysql:/etc/postfix/mapfiles/sql-catchall-aliases.cf,With the following one i had bounces errors on a new domain:
virtual_alias_maps = mysql:/etc/postfix/mapfiles/sql-aliases.cf, mysql:/etc/postfix/mapfiles/sql-autoreplies.cf, mysql:/etc/postfix/mapfiles/sql-domain-aliases-mailboxes.cf, mysql:/etc/postfix/mapfiles/sql-email2email.cf, mysql:/etc/postfix/mapfiles/sql-catchall-aliases.cf,The error was following:
<"test@domain.be"@autoreply.domain.be> (expanded from ): Host or domain name not found. Name service error for name=autoreply.domain.be type=A: Host not foundThat said, order really matters and should be carefully documented :)
@tonioo commented on GitHub (Dec 4, 2013):
Posted by Antoine Nguyen on 2013-05-22T16:33:03Z
Applied in changeset commit:dcbf86d41b84bad3b88ca640e0becbaf28b2e39f.