mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #791] aliases not working #707
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#707
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 @daks on GitHub (Nov 23, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/791
Hello,
I'm using Modoboa 1.3.5 with Postfix and Dovecot on Debian 8.
I just switch my main domain my-domain.tld from relay to destination using Modoboa.
I created an identity user@my-domain.tld and an alias *@my-domain.tld pointing to user@my-domain.tld
Sending e-mail to user@my-domain.tld works well but not sending to another-user@my-domain.tld.
When I look at syslog messages, I see the following:
(connection refused is normal because i stopped postfix on the old server)
If I look at MySQL tables it seems ok:
I don't understand what is wrong. Do you have any idea and what I can't do to come back quickly to a functional setting?
@daks commented on GitHub (Nov 23, 2015):
I looked at postfix_relay_domains_relaydomain:
the domain_id is the same as my-domain.tld so I removed this line. (and others like this)
This solved my 'relay' problem.
I now have a 'user doesn't exist' error which seems strange because I don't think I have configured this restriction, but it may have nothing to do with this issue.
edit i think I have another problem with my *@ aliases: until I found what is going wrong, I explicitely created user1@, user2@...
@daks commented on GitHub (Nov 23, 2015):
I looked at the sql-aliases.cf map file generated by Modoboa, it looks like
when I try this mysql query for user1@my-domain.tld it returns nothing.
It works if I query with *@sietch-tabr.com but not with user1@ -> could it be the reason for my problem?
@daks commented on GitHub (Nov 23, 2015):
I think I have found my problem: I changed all my wildcard aliases from *@my-domain.tld to @my-domain.tld
@tonioo commented on GitHub (Nov 24, 2015):
Indeed, the format to define a catchall alias does not include the * character anymore. So, do you have still have an issue ?
@daks commented on GitHub (Nov 24, 2015):
No, it's ok now. Sorry for not closing the issue after my long fight with this issue last night :)
Is it normal that the 'postfix_relay_domains_relaydomain' still had the entries for the domains i switched from relay to destination?
@tonioo commented on GitHub (Nov 25, 2015):
Yes... I don't clean old records when a "relay domain" becomes a "domain". Could you please create a dedicated issue about this ?
@daks commented on GitHub (Nov 25, 2015):
done.