[Mimedefang] ENTIRE_MESSAGE not a Mailbox (mbox) file

Kevin A. McGrail kmcgrail at pccc.com
Fri Mar 5 12:31:46 EST 2004


You all rock for answering the question.  This let me implement zip blocking
at sites that may get the occasional good zip and work at a slower pace to
combat all these darn virii.

Regards,
KAM
----- Original Message ----- 
From: "SRAR Mail Administrator" <mailadm at srar.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Friday, March 05, 2004 12:09 PM
Subject: Re: [Mimedefang] ENTIRE_MESSAGE not a Mailbox (mbox) file


>
> On Mar 4, 2004, at 7:11 AM, David F. Skoll wrote:
>
> > On Thu, 4 Mar 2004, Kevin A. McGrail wrote:
> >
> >> Is there a quick trick (probably something crazy with formail) that
> >> you can
> >> run on ENTIRE_MESSAGE to turn it into an mbox with the correct first
> >> line so
> >> I can view it with mutt and determine whether to bounce it?
> >
> > This shell one-liner will do it, though the date obviously won't match
> > the date in the message.  The date also won't be in RFC 822 format, but
> > most mail clients shouldn't barf on that.  If they do, see "man date"
> > and
> > come up with the proper formatting string...
> >
> > (echo "From `cat SENDER | tr -d '<>'` `date '+%c'`"; cat
> > ENTIRE_MESSAGE) > message.mbox
>
> `date +%d%m%y" "%H:%m%S`  should[0] create RFC 822 compatible date +
> time
>
> [0] It does on Darwin 7.2.0 - Mac OS X 10.3.2 (7D24)
>
>
> --
> -Loren K Louthan | tel: 818 786 2110 | AIM: LorenSRAR
> -Data Communications Engineer - CRISNet Regional MLS
> Government's view of the economy could be summed up in a few short
> phrases: If it moves, tax it. If it keeps moving, regulate it. And if
> it stops moving, subsidize it."
> -Ronald Wilson Reagan
>
> _______________________________________________
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>



More information about the MIMEDefang mailing list