Open g1smo opened 3 years ago
Hey, don't know if it helps but I had a simliar issue:
Did you follow the instructions in the Readme at "Configure incoming mail"?
In /etc/postfix/main.cf I just had to add hash:/var/lib/mailman3/data/postfix_lmtp
to this line: virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf
I'm no expert here, but thought it be the same thing?
Hey,
Yes, I had to add that to get mailing lists working in the first place:
virtual_mailbox_maps =
hash:/var/lib/mailman3/data/postfix_lmtp,
ldap:/etc/postfix/ldap-accounts.cf
I moved postfix_lmtp above ldap accounts, since, otherwise, adding a mail alias for a user could "trump" the mailing list address. Since we're not using a subdomain for lists.
The non-primary domain still doesn't work...
Running postmap /var/lib/mailman3/data/postfix_domains or sudo -su list mailman aliases return the following warning:
root@kompot-produkcija:/etc/postfix# sudo -su list mailman aliases postmap: warning: /var/lib/mailman3/data/postfix_domains.db: duplicate entry: "yunohost.org"
/var/lib/mailman3/data/postfix_domains
[...] yunohost.org kompot.si yunohost.org lom.je
I had a similar setup and the same issue. It seems mailman3 does not like to have multiple mail hosts pointing to identical alias domains. I was able to solve it by using different alias domains for each mail host. In your case that'd be 1.yunohost.org
and 2.yunohost.org
instead of yunohost.org
. I think this is probably a bug in mailman3 but I have not looked into it any deeper.
Describe the bug
When trying to use a secondary domain on our yunohost installation for a mailing list, 550 mailbox not available is replied every time.
Context
Our primary domain is
kompot.si
and the secondary onelom.je
.Steps to reproduce
Add a secondary domain's site and domain in mailman3 administration panel, create a new mailing list, send email to it.
Expected behavior
Recipients of the mailing list should receive the mail
Logs
/var/log/mail.log
relevant section:Additional information
Running
postmap /var/lib/mailman3/data/postfix_domains
orsudo -su list mailman aliases
return the following warning:/var/lib/mailman3/data/postfix_domains
/var/lib/mailman3/data/postfix_lmtp
(relevant section)I can add some additional configuration files.
Multiple mailing lists on our primary
kompot.si
domain are working flawlessly.