[GH-ISSUE #441] When renaming a domain in the modoboa interface, it seems the domain name is not modified in the autoreply table #425

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

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

Originally assigned to: @tonioo on GitHub.

Originally created by Fabrice Flore-Thébault on 2013-07-30T12:29:59Z

When domain name contains a dash, autoreply fails to write the reply and the sender of the message receive an error message with following error:

<"test@domain-dash.tld"@autoreply.ddomain-dash.tld>
(expanded from ): Host or domain name
not found. Name service error for name=autoreply.test@domain-dash.tld
type=A: Host not found
Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/441 Originally assigned to: @tonioo on GitHub. **Originally created by Fabrice Flore-Thébault on 2013-07-30T12:29:59Z** When domain name contains a dash, autoreply fails to write the reply and the sender of the message receive an error message with following error: <pre> <"test@domain-dash.tld"@autoreply.ddomain-dash.tld> (expanded from <test@domain-dash.tld>): Host or domain name not found. Name service error for name=autoreply.test@domain-dash.tld type=A: Host not found </pre>
kerem 2026-02-27 11:11:42 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Posted by Fabrice Flore-Thébault on 2013-07-30T15:45:00Z

It was a postfix + amavisd-new configuration issue. Amavis was filtering badly the autoreply messages

added in main.cf:

receive_override_options=no_address_mappings 

modified master.cf to add the no_address_mapping to amavisfeed also.

<!-- gh-comment-id:29816475 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Fabrice Flore-Thébault on 2013-07-30T15:45:00Z** It was a postfix + amavisd-new configuration issue. Amavis was filtering badly the autoreply messages added in main.cf: <pre> receive_override_options=no_address_mappings </pre> modified master.cf to add the no_address_mapping to amavisfeed also.
Author
Owner

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

Posted by Fabrice Flore-Thébault on 2013-08-12T14:01:29Z

Finally the cause of the problem was completely different: using the interface of modoboa, the domain name was modified, from @ddomain-dash.com@ to @ddomain-dash.tld@.

But in the @postfix_autoreply_transport@ sql table, the domain was not modified. The domain was still @autoreply.ddomain-dash.com@ in the database.

As a result, instead of resolving locally the autoreply adresses, postfix tried to resolve the domain and to send the message through smtp. As there is no @autoreply.ddomain-dash.tld@ in public DNS, the message was bounced back (to the original sender).

So the issue should be reworded: when renaming a domain in the modoboa interface, it seems the domain name is not modified in the autoreply table.

<!-- gh-comment-id:29816477 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Fabrice Flore-Thébault on 2013-08-12T14:01:29Z** Finally the cause of the problem was completely different: using the interface of modoboa, the domain name was modified, from @ddomain-dash.com@ to @ddomain-dash.tld@. But in the @postfix_autoreply_transport@ sql table, the domain was not modified. The domain was still @autoreply.ddomain-dash.com@ in the database. As a result, instead of resolving locally the autoreply adresses, postfix tried to resolve the domain and to send the message through smtp. As there is no @autoreply.ddomain-dash.tld@ in public DNS, the message was bounced back (to the original sender). So the issue should be reworded: when renaming a domain in the modoboa interface, it seems the domain name is not modified in the autoreply table.
Author
Owner

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

Posted by Antoine Nguyen on 2013-08-25T14:37:46Z

Applied in changeset commit:ef826224c4f2ac224163efbbd03cf6fc78f546bc.

<!-- gh-comment-id:29816479 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2013-08-25T14:37:46Z** Applied in changeset commit:ef826224c4f2ac224163efbbd03cf6fc78f546bc.
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#425
No description provided.