procmail
[Top] [All Lists]

Re: Need to clear out inbox with procmail

2008-07-21 11:42:18
Yes, I meant to reply to the list, thank you. As mentioned in a different
reply, I just now realized that the processing script needs to be executed
on an mbox file. I supposed that I could open up the script and see if i can
get it to accept STDIN...

On Mon, Jul 21, 2008 at 2:38 PM, Charles Gregory <cgregory(_at_)hwcn(_dot_)org> 
wrote:


Nathan replied privately. Presume he meant to post to list....

On Mon, 21 Jul 2008, Nathan Brown wrote:
What would be the proper way to write that out? Just take out the line
where
it's delivered and leave the rest the same?

 :0
 * ^TO(_dot_)*upload(_at_)example(_dot_)com
 | /usr/local/bin/upload.sh

Your script will receive the mail on 'standard input' (STDIN).
.... procmail will consider this a 'delivering' recipe...



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail