mailscanner-3.04.1 adds ^M at end of line

Nick Phillips nwp at LEMON-COMPUTING.COM
Tue Jan 29 11:16:02 GMT 2002


On Tue, Jan 29, 2002 at 08:58:47AM +0000, Julian Field wrote:
> At 02:03 29/01/2002, you wrote:
> >Noticed this with 3.04:
> >  - the mails are ok in the incoming queue
> >  - lines copied by mailscanner have an ^M appended
> >  - lines inserted by mailscanner are ok
> >
> >this leads to corrupted attachments.
>
> Has anyone else seen this? I certainly haven't...

I haven't upgraded yet; will be doing so shortly, but the only way I can see
for this to happen is if $\ has somehow got set to "\r".

The only places that "\r" is mentioned in the code are where we're stripping
it from things.

Maybe it's a non-fatal example of the kind of memory corruption that causes
the segfaults?


Matthias, which version of perl are you using?


Cheers,


Nick

--
Nick Phillips -- nwp at lemon-computing.com
You will become rich and famous unless you don't.



More information about the MailScanner mailing list