procmail/formail syntax question

2005-10-23 Thread stan
I'm trying to get procmail to rewrite the TO: header. I've tried something like: TO=`formail -xTo:` # is moved to viruses. :0: * ^X-Virus-Status: Yes | formail -I To: is_virus, $TO # Mails with a score of 15 or higher are almost certainly spam (with 0.05% # false positives according to

Re: procmail/formail syntax question

2005-10-23 Thread Roland Smith
On Sun, Oct 23, 2005 at 03:09:51PM -0400, stan wrote: I'm trying to get procmail to rewrite the TO: header. I've tried something like: TO=`formail -xTo:` I think this command is expanded only once, and gives an empty string because you didn't give formail any input. # is moved to viruses.

Re: procmail/formail syntax question

2005-10-23 Thread stan
On Sun, Oct 23, 2005 at 10:07:17PM +0200, Roland Smith wrote: On Sun, Oct 23, 2005 at 03:09:51PM -0400, stan wrote: I'm trying to get procmail to rewrite the TO: header. I've tried something like: TO=`formail -xTo:` I think this command is expanded only once, and gives an empty

Re: procmail/formail syntax question

2005-10-23 Thread Giorgos Keramidas
On 2005-10-23 17:49, stan [EMAIL PROTECTED] wrote: On Sun, Oct 23, 2005 at 10:07:17PM +0200, Roland Smith wrote: On Sun, Oct 23, 2005 at 03:09:51PM -0400, stan wrote: I'm trying to get procmail to rewrite the TO: header. I've tried something like: TO=`formail -xTo:` I think this command is

Re: procmail/formail syntax question

2005-10-23 Thread stan
On Mon, Oct 24, 2005 at 01:13:18AM +0300, Giorgos Keramidas wrote: On 2005-10-23 17:49, stan [EMAIL PROTECTED] wrote: On Sun, Oct 23, 2005 at 10:07:17PM +0200, Roland Smith wrote: On Sun, Oct 23, 2005 at 03:09:51PM -0400, stan wrote: I'm trying to get procmail to rewrite the TO: header. I've

Re: procmail/formail syntax question

2005-10-23 Thread Giorgos Keramidas
:20:05 2005 % @@ -36,7 +36,7 @@ % for [EMAIL PROTECTED]; Sun, 23 Oct 2005 19:11:03 -0400 % Date: Sun, 23 Oct 2005 19:11:03 -0400 % From: stan [EMAIL PROTECTED] % -To: Giorgos Keramidas [EMAIL PROTECTED] % +To: [STAN] Giorgos Keramidas [EMAIL PROTECTED] % Subject: Re: procmail/formail syntax

Re: procmail/formail syntax question

2005-10-23 Thread Giorgos Keramidas
On 2005-10-23 18:56, stan [EMAIL PROTECTED] wrote: On Mon, Oct 24, 2005 at 01:13:18AM +0300, Giorgos Keramidas wrote: On 2005-10-23 17:49, stan [EMAIL PROTECTED] wrote: On Sun, Oct 23, 2005 at 10:07:17PM +0200, Roland Smith wrote: On Sun, Oct 23, 2005 at 03:09:51PM -0400, stan wrote: I'm trying

Re: procmail/formail syntax question

2005-10-23 Thread stan
On Mon, Oct 24, 2005 at 02:25:30AM +0300, Giorgos Keramidas wrote: Please do *not* remove the mailing list from the Cc: header, unless there is a very good reason (i.e. confidential information in the message text). Sorry, I hit r instead of l in mutt. My apoligies. -- U.S. Encouraged by

Re: procmail/formail syntax question

2005-10-23 Thread Giorgos Keramidas
On 2005-10-23 19:53, stan [EMAIL PROTECTED] wrote: On Mon, Oct 24, 2005 at 02:25:30AM +0300, Giorgos Keramidas wrote: Please do *not* remove the mailing list from the Cc: header, unless there is a very good reason (i.e. confidential information in the message text). Sorry, I hit r instead of

Re: procmail/formail syntax question

2005-10-23 Thread stan
On Mon, Oct 24, 2005 at 04:28:49AM +0300, Giorgos Keramidas wrote: On 2005-10-23 19:53, stan [EMAIL PROTECTED] wrote: On Mon, Oct 24, 2005 at 02:25:30AM +0300, Giorgos Keramidas wrote: Please do *not* remove the mailing list from the Cc: header, unless there is a very good reason (i.e.