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

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Thu Jul 29 21:52:18 UTC 2004


On Thu, Jul 29, 2004 at 01:42:37PM -0400, Peter L. Peres wrote:
>
>On Thu, 29 Jul 2004, Tim Writer wrote:
>
>>Did you try it?  I did:
>>
>>   tim at newsol% grep '^From ' /var/mail/$USER
>>
>>So, I had a single mail in my mail spool.  I ran formail which ran procmail
>>which happily delivered that mail back to my spool (cuz it wasn't filtered
>>into another mailbox).  As a result, I now have two copies of that mail in 
>>my
>>spool.
>
>Yes, but if all things are unfavorable you can end up with a mail loop 
>that will run until the disk is full. I *know* this ;-(

Ah, I see now why you warned against using the command suggested.
Happily, we find this:

:0:
*
inbox

at the end of my .procmailrc.  So that sorts that out, but I appreciate
the further explanation and the lively and informative discussion.
-- 

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/20040729/1f9c7a48/attachment.sig>


More information about the Legacy mailing list