We have two servers - one is running Zentyal on 10.0.1.2 and the other is running OpenERP on 10.0.1.3
The OpenERP is correctly authenticating with the LDAP server on Zentyal so there is basic authentication working.
However what we cannot do is send email from the OpenERP out if not administrator. OpenERP works by sending on behalf of the logged in user (logged in via LDAP)
On the previous system, iRedmail, we fixed this by changing the config line in /etc/postfix/main.cf to
smtpd_sender_restrictions = permit_mynetworks, reject_unauthenticated_sender_login_mismatch, permit_sasl_authenticated
However in the case of Zentyal this file is rewritten by Zentyal so manually changing this is not an option.
So how can we get the openerp relay working with Zentyal in the same way as iRedmain?