Bug 52034 - Mailinglist with OX and split mail servers
Mailinglist with OX and split mail servers
Status: NEW
Product: UCS
Classification: Unclassified
Component: Mail
UCS 4.4
amd64 Mac OS X 10.1
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-15 22:02 CEST by Dirk Dörflinger
Modified: 2020-09-15 22:03 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Dörflinger 2020-09-15 22:02:25 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.