<<< Date Index >>>     <<< Thread Index >>>

Re: Howto strip attachments from digest ???



Todd <Freedom_Lover@xxxxxxxxx> [2003:09:16:21:19:13-0400] scribed:
> Michael D Schleif wrote:
<snip />

> I don't get any lists in digest format so I've never used this, but does
> this command from the formail man page help?
> 
>        To split up a digest one usually uses:
>               formail +1 -ds >>the_mailbox_of_your_choice
>        or
>               formail +1 -ds procmail

Patrick Shanahan <WideGlide@xxxxxxxxxxxxx> [2003:09:16:20:31:17-0500] scribed:
> * Michael D Schleif <mds@xxxxxxxxxxx> [09-16-03 19:52]:
> > Patrick Shanahan <WideGlide@xxxxxxxxxxxxx> [2003:09:16:13:45:10-0500] 
> > scribed:
> > > 
> > > Save the digest file to a text file and:
> > > formail -s procmail < file.txt
> > 
> > This does not do what I want ;<
> > 
> > Perhaps, I am missing some arcane procmail rule?
> > 
> > All it does is put the entire ``digest'' back into my inbox.
> > 
> > What I want is *all* of the attachments saved as individual and
> > distinct email messages -- exactly the same as if I received them one
> > at a time.
> 
> Left one letter out,
>   formail -d -s procmail < file.txt

Yes, this does the trick!

I knew that I'd seen it somewhere, and man formail doesn't list
arguments alphabetically.  In fact, even when I found -d, I misread it
and doubted that my attachments would work.

But, it does and I am happy!

Thank you, both Todd and Patrick . . .

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgpBo1wMSk39U.pgp
Description: PGP signature