gfidente / mlapd

MLAPD is a mailing list access manager which uses LDAP to check for user's rights to post messages
0 stars 0 forks source link

allow case insensitive sender #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Subscribe to mailing list using email address, with all lowercase. ex: 
foo@bar.com
2. Send an email to the mailing list, with mixed case. ex: Foo@Bar.Com

What is the expected output? 
The email should be sent successfully

What do you see instead?
The email is bounced back.

Oct 15 18:04:09 generic01 postfix/smtpd30527: NOQUEUE: reject: RCPT from 
na3sys009aog105.obsmtp.com[74.125.149.75]: 554 5.7.1 
<alluse​rs@jabil.l​ist.cvsdud​e.com>: Recipient address rejected: Not 
Authorized; from=<Foo@Bar.Com​> 
to=<all​users@jabi​l.list.cvs​dude.com​> proto=ESMTP 
helo=<na3sys009aog105.obsmtp.com>

What version of the product are you using? On what operating system?
0.2. Redhat Linux

Please provide any additional information below.
Please find attached the patch that fixes this problem. We've this patch in 
production and it's working. In our case, we did patch ldapmodel.py script, 
however this script has been removed in r96.

Please find the relevant patch to mlapd.py script.

Pre-commit log message:

If sender is in mixed case, allow the email to be posted, as long as he's 
authorized.

  * src/ldapmodel.py
    __get_action(): Do a case insensitive search to accept the email.

Original issue reported on code.google.com by bhuvanes...@gmail.com on 2 Nov 2010 at 4:39

Attachments:

GoogleCodeExporter commented 9 years ago
thanks for your contribution, I've applied the fix and would add you to the 
contributors/committers group; please let me know if interested

will release an updated version ( 0.3.2 ) soon

Original comment by giulivo.navigante on 10 Dec 2010 at 3:07

GoogleCodeExporter commented 9 years ago
yep, thank you for applying the patch.

Sure, you can add me to the list. I"ll contribute fixes when I notice
any issues in mlapd which i use in one of my project.

Original comment by bhuvanes...@gmail.com on 10 Dec 2010 at 3:15

GoogleCodeExporter commented 9 years ago
that is great; thanks for joining

Original comment by giulivo.navigante on 10 Dec 2010 at 3:59