Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mail-Audit CPAN distribution.

Report information
The Basics
Id: 1730
Status: resolved
Priority: 0/
Queue: Mail-Audit

People
Owner: Nobody in particular
Requestors: matthew [...] davin.ottawa.on.ca
Cc:
AdminCc:

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



Date: Sun, 27 Oct 2002 21:44:24 -0500 (EST)
From: Matthew Darwin <matthew [...] davin.ottawa.on.ca>
To: simon [...] simon-cozens.org
Subject: Urgent patch for Mail::Audit
Mail::Audit doesn't excape "From " lines correctly when delivering to mailbox type format. *** /usr/local/share/perl/5.6.1/Mail/Audit.pm Sun Oct 27 21:42:34 2002 --- /usr/local/share/perl/5.6.1/Mail/Audit.pm.orig Sun Oct 27 21:34:45 2002 *************** *** 450,462 **** } _log(4, "printing self as mbox string."); ! if ($write_opts->{'need_from'}) { ! my $content = $self->as_string; ! $content =~ s/\nFrom /\n>From /g; ! print FH $content; ! } else { ! print FH $self->as_string; ! } print FH "\n" if $write_opts->{'extra_newline'}; # extra \n added because mutt seems to like a "\n\nFrom " in mbox files flock(FH, LOCK_UN) or return "Couldn't unlock $file"; --- 450,456 ---- } _log(4, "printing self as mbox string."); ! print FH $self->as_string; print FH "\n" if $write_opts->{'extra_newline'}; # extra \n added because mutt seems to like a "\n\nFrom " in mbox files flock(FH, LOCK_UN) or return "Couldn't unlock $file"; -- Matthew Darwin matthew@davin.ottawa.on.ca http://www.davin.ottawa.on.ca/~matthew/
Date: Mon, 28 Oct 2002 15:23:07 -0500
From: Meng Weng Wong <mengwong [...] dumbo.pobox.com>
To: Matthew Darwin via RT <bug-Mail-Audit [...] rt.cpan.org>
Subject: Re: [cpan #1730] Urgent patch for Mail::Audit
RT-Send-Cc:
done, thanks On Mon, Oct 28, 2002 at 03:49:09AM -0500, Matthew Darwin via RT wrote: | | This message about Mail-Audit was sent to you by matthew@davin.ottawa.on.ca via rt.cpan.org | | Full context and any attached attachments can be found at: | <URL: https://rt.cpan.org/Ticket/Display.html?id=1730 > | | | Mail::Audit doesn't excape "From " lines correctly when delivering to | mailbox type format. | | | *** /usr/local/share/perl/5.6.1/Mail/Audit.pm Sun Oct 27 21:42:34 2002 | --- /usr/local/share/perl/5.6.1/Mail/Audit.pm.orig Sun Oct 27 21:34:45 2002 | *************** | *** 450,462 **** | } | | _log(4, "printing self as mbox string."); | ! if ($write_opts->{'need_from'}) { | ! my $content = $self->as_string; | ! $content =~ s/\nFrom /\n>From /g; | ! print FH $content; | ! } else { | ! print FH $self->as_string; | ! } | print FH "\n" if $write_opts->{'extra_newline'}; # extra \n added because mutt seems to like a "\n\nFrom " in mbox files | | flock(FH, LOCK_UN) or return "Couldn't unlock $file"; | --- 450,456 ---- | } | | _log(4, "printing self as mbox string."); | ! print FH $self->as_string; | print FH "\n" if $write_opts->{'extra_newline'}; # extra \n added because mutt seems to like a "\n\nFrom " in mbox files | | flock(FH, LOCK_UN) or return "Couldn't unlock $file"; | | -- | Matthew Darwin | matthew@davin.ottawa.on.ca | http://www.davin.ottawa.on.ca/~matthew/ | | |