MTA restrictions no...
 
Notifications
Clear all

MTA restrictions not working (part 2)

2 Posts
2 Users
1 Reactions
415 Views
 CarC
(@carloscunha)
Joined: 12 months ago
Posts: 126
Topic starter  

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,


   
vladki reacted
Quote
(@vladki)
Active Member
Joined: 6 months ago
Posts: 20
 

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/


   
ReplyQuote