Univention Bugzilla – Bug 52034
Mailinglist with OX and split mail servers
Last modified: 2020-09-15 22:03:20 CEST
I am running different systems for OX an Mailserver (Postfix/Dovecot). When adding a Mailingliste (ox-mailinglist), delivery fails: Sep 15 21:40:13 ucsmail postfix/smtpd[4979]: NOQUEUE: reject: RCPT from mymailgateway[192.168.102.104]: 550 5.1.1 <mailinglist@mydoamin.de>: Recipient address rejected: User unknown in virtual mailbox table; from=<myself@icloud.com> to=<mailinglist@mydomain.de> proto=ESMTP helo=<mymailgateway> The reason is that the ox specific ldap-maps are missing on the standalone mailserver. Workaround: * copy /etc/postfix/ox-* from the OX server to the mailserver * add the following UCR settings mail/postfix/virtual/alias/maps: hash:/etc/postfix/virtual, \ ldap:/etc/postfix/ldap.groups, ldap:/etc/postfix/ldap.ox-distlist, \ ldap:/etc/postfix/ldap.ox-sharedfolder, ldap:/etc/postfix/ldap.ox-virtual, \ ldap:/etc/postfix/ldap.external_aliases mail/postfix/virtual/mailbox/maps: ldap:/etc/postfix/ldap.ox-sharedfolder_mailbox, \ ldap:/etc/postfix/ldap.ox-virtual_mailbox * ucr commit /etc/postfix/* * systemctl restart postfix * Try to remember this for updates A real solution would be to install the files and set ucr correctly on every mailserver in the domain when installing OX, just like it is done with the master packages.