mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-27 01:45:58 +03:00
[GH-ISSUE #1616] Mails are not relayed if there is a local user #1271
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#1271
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 @Clevero on GitHub (Nov 15, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1616
Impacted versions
Steps to reproduce
Current behavior
Expected behavior
All emails are being relayed for a relay domain, if they are CLEAN, wether their is a user on modoboa or not
I'm currently setting up modoboa as a mail gateway with spam and malware filtering. All mails should be relayed if they are CLEAN and if not stored in the amavis quarantine. A user itself should be able to release mails out of his own quarantine if needed. So I created an user alice@mydomain.net and tested the filtering process.
Currently we do not need local mailboxes because a Microsoft Exchange Server is our actual mail server.
According to a comment in an issue:
So, if you create a user with a mailbox for your domain, it means it won't be routed.https://github.com/modoboa/modoboa/issues/1131#issuecomment-305484450
Is there any workaround for this? Can I force relaying mails?
I'm not 100% sure if I understood it correctly, but would the SMTP auth plugin like described in https://github.com/modoboa/modoboa/issues/986 solve my problem?
@tonioo commented on GitHub (Nov 15, 2018):
@Clevero Indeed, modoboa allows the creation of accounts on a relay domain for "splitted domain" situations, for example when you migrate a domain to a new server. SMTP plugin won't solve your issue since it will create local accounts, which leads to the same configuration.
Looks like the proper way to fix this would be to allow the creation of a SimplerUser without a mailbox... Need to think about it a bit more.
@stale[bot] commented on GitHub (Oct 23, 2020):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@stale[bot] commented on GitHub (Dec 22, 2020):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@kytv76 commented on GitHub (Feb 28, 2023):