http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5300

           Summary: DKIM plugin - verify fails when given DOS-style line
                    endings
           Product: Spamassassin
           Version: 3.1.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I've discovered the DKIM plugin has a problem where messages with DKIM
signatures will fail to verify if you pass it to SpamAssassin with DOS-style
line endings. The same message will verify if you change to Unix-style line
endings. (This applies to a Unix-like platform... I don't know what happens if
on Windows.)

It seems to be a problem with the DKIM plugin for SpamAssassin, because the
dkimverify script that comes with the Mail::DKIM CPAN module does not have this
problem.

I'll attach a sample that can be used to check.

spamc -y < dkim_msg_dos.txt
DATE_IN_FUTURE_96_XX,DKIM_SIGNED,UNPARSEABLE_RELAY

spamc -y < dkim_msg_unix.txt
DATE_IN_FUTURE_96_XX,DKIM_SIGNED,DKIM_VERIFIED,UNPARSEABLE_RELAY


I have a patch to Plugin::DKIM that corrects this behavior,
which I'll also attach.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to