Topic: Bug in sender_login_mismatch.py
I have found a bug in the iRedAPd plugin sender_login_mismatch - it compares the sender and sasl username case sensitively.
I have fixed this in my plugin sources like this:
Original sender_login_mismatch.py line 29:
sender = kwargs['sender']
Fixed line 29:
sender = kwargs['sender'].lower()
The idea is as I think clear: as you do lowercase for sasl username, you should do lowercase also to sender address...
It would be also nice to note somewhere how to activate the iRedAPd checks for senders / I added the check as first to the smtpd_sender_restrictions but I'm not sure if it's the best...
----Urgent issue? Pay iRedMail developer to solve it remotely at $29.