[Mimedefang] Problem with ^M's and Razor

Nate Carlson natecars at real-time.com
Tue Jun 4 14:48:04 EDT 2002

Hey all,

I've noticed a problem where MIMEDefang's way of calling SpamAssassin does
not find the message in the Razor database, even though if I send the
message from my mbox file to razor-check it shows up in the DB.

I ran a packet sniffer, and found that the checksum for the messages that
is being sent from Razor when invoked from Mimedefang is different than
the checksum that is being sent from my mbox file.

I finally decided to have some fun and made a copy of the mdefang spool
directory while it was scanning the message. I took a look at the INPUTMSG
file, and low and behold, there were ^M's at the end of each line. If I
ran razor-check against this file, it would return the same checksum that
was being returned when Mimedefang/SA was querying Razor.

So, my question is, where are the ^M's coming from, and how can I get rid
of 'em?

Software versions:

Any suggestions appreciated.  (Is anyone else having this problem?)

Nate Carlson <natecars at real-time.com>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500

More information about the MIMEDefang mailing list