Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postfix warning do not list domain in BOTH virtual_mailbox_domains and relay_domains #5

Open
jens0073 opened this issue May 15, 2023 · 2 comments

Comments

@jens0073
Copy link

We have Mailcow in use and now mailman added. We have followed the README.md. Basically the setup worked fine! However, in the Mailcow postfix logfile we see the following warning:

warning: do not list domain mydomain.com in BOTH virtual_mailbox_domains and relay_domains

We created the extra.cf as specified in the README.md. We did not make any other manual adjustments to postfix. However, the domain mydomain.com is created both in Mailcow for normal mailboxes and in Mailman for mailing lists. Is this setup supported?

@g4rf
Copy link
Owner

g4rf commented May 17, 2023

Hello, glad to hear, that the documentation helps. :)

But I have only little knowings about internal workings of mailcow and mailman, I just combined the two docker version of them as best as I could. The best will be to ask this question in the Mailcow issues. If you'll find an answer there, it would be nice, to post it here also, if somebody else hits this log warning.

@ecdlguy
Copy link

ecdlguy commented Sep 26, 2024

Hi, I think if your mailman maildomain name is the same as your mailcow maildomain the warning is because the domain exists in both postfix domain databases. This is not needed if I understand the mailman3 docs correctly:

Note that if you are not using virtual domains, then relay_domains isn’t strictly needed (but it is harmless). All you need to do in this scenario is to make sure that Postfix accepts mail for your one domain, normally by including it in mydestination.

Here is also something related.

cheers, Thorsten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants