Hello everyone!
When disabling the option "Reject if the username is different from the authenticated one" in the Carbonio AdminWeb interface (latest version), the change doesn't take effect — the behavior remains as if it’s still enabled. I checked the zimbraMtaSmtpdRecipientRestrictions configuration and it was empty, although it previously contained reject_sender_login_mismatch. However, in the file opt -> zextras -> conf/zmconfigd -> smtpd_sender_restrictions.cf the option is still present:permit_mynetworks, reject_sender_login_mismatch.
To make it work as expected, I had to manually remove the reject_sender_login_mismatch line from that file and restart the MTA. After that, it worked properly.
Is this a bug?
Regards,
Yes it is a bug. I ran into the same issue. The smtpd_sender_restrictions.cf contains:
%%exact VAR:zimbraMtaSmtpdSenderRestrictions reject_authenticated_sender_login_mismatch%% ... which looks like a condition, but the zmprov variable is:
zimbraMtaSmtpdSenderRestrictions: reject_sender_login_mismatch ... so this line will probably never match. And then there is a few lines later uncoditionally:
permit_mynetworks, reject_sender_login_mismatch
This might be related to: https://community.zextras.com/forum/carbonio-general-thread/sender-address-rejected-not-owned-by-use/
