#314 W32.Swen.A@mm problems

open
None
5
2005-01-06
2003-09-23
No

Running debian with

courier-maildrop 0.39.1-1
courier-mta 0.39.1-1
amavis-ng 0.1.6.2-1

The "Microsoft Updates" (approx. 150kB Mails) were not
handled correctly.

Reason: the mails contains headers in unusual capitals.
/usr/share/perl5/AMAVIS/MTA/Maildrop.pm is used to
extract Header information with case sensitive regular
expressions.

Both original lines:

if (/^From: *(.*)$/) {
if (/^To: *(.*)$/) {

could be changed to

if (/^[Ff][Rr][Oo][Mm]: *(.*)$/) {
if (/^[Tt][Oo]: *(.*)$/) {

to accept From: and To: in all case variations.

Best regards

Discussion

  • Lars Hecking

    Lars Hecking - 2003-10-01
    • assigned_to: nobody --> bengen
     
  • Russell Odom

    Russell Odom - 2004-05-26

    Logged In: YES
    user_id=697352

    Or, even better:

    if (/^From: *(.*)$/i) {
    if (/^To: *(.*)$/i) {

     
  • Anonymous - 2005-01-06
    • assigned_to: bengen --> braeucup
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks