running procmail on the contents of /var/mail/$USER

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Wed Jul 28 14:41:07 UTC 2004


On Wed, Jul 28, 2004 at 09:54:50AM -0400, G. Matthew Rice wrote:
>William O'Higgins <william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org> writes:
>> I was looking at formail, and tried things like "formail +1 -ds
>> procmail" and "formail -ds < /var/mail/$USER > procmail", but that
>> didn't work.  Does anyone know the syntax of this kind of thing?
>
>Have you looked at the examples in the formail manpage?  Read up on the -s
>option.

Yes, that's where the attempts above come from.  These recipies seem to
be based on getting processed via procmail, and I am trying to get an
mbox file *into* procmail.  I tried "cat /var/mail/$USER | formail -ds
procmail", but I get the same result - the command starts, but doesn't
do anything and needs to be Ctrl-C'd.  So, the problem remains - what
syntax is required to get the individual messages in my spool to be
processed by procmail?  Thanks again.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20040728/27c0d03b/attachment.sig>


More information about the Legacy mailing list