Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-LocalDelivery CPAN distribution.

Report information
The Basics
Id: 2480
Status: resolved
Priority: 0/
Queue: Email-LocalDelivery

People
Owner: Nobody in particular
Requestors: simon [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Mbox module doesn't quote from lines.
Lines beginning "From" in the body need quoted before being spat out to an mbox file. As reported by Barrie Slaymaker.
[SIMON - Fri May 2 10:53:11 2003]: Show quoted text
> Lines beginning "From" in the body need quoted before being spat out > to an mbox file. > As reported by Barrie Slaymaker.
Alternate solution. Add in a Content-Length: header and document as outputting in mboxcl2 format http://www.qmail.org/man/man5/mbox.html Downside requires parsing the message into an Email::Simple object to figure out which part the body is, but then you have that with $body =~ s/^From />From / unless there's a clever regexy was of saying "not the leading From_ is it exists". -- Brain no worky too good today.
[RCLAMP - Tue May 27 11:43:09 2003]: Show quoted text
> Downside requires parsing the message into an Email::Simple object to > figure out which part the body is, but then you have that with $body =~ > s/^From />From / unless there's a clever regexy was of saying "not the > leading From_ is it exists".
Something like this checked into CVS. It's not so clever, but it passes its test. -- Richard Clamp <richardc@unixbeard.net>
Released to CPAN in 0.06 -- Richard Clamp <richardc@unixbeard.net>