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 to get procmail to rewrite the TO: header. I've tried >>>>> something like: >>>>> >>>>> TO=`formail -xTo:` >>>> >>>> [...] >>> >>> So, I need to be able to rewrite the subject. Yes it's dumb but.... >> >> ``Much confusion in you I sense, young Jedi.'' >> >> If you want to rewrite the *SUBJECT* of the messages, then why are you >> trying to rewrite the *RECIPIENT* header? >> >> Having said that, I think that what you're missing is the 'f' option in >> the rule that pipes mail to formail and that you don't really need >> formail for something as simple: >> >> :0 Hf >> * X-Virus-Status: Yes >> | sed -e 's/^[sS]ubject:[[:space:]]\+/Subject: [virus] ' > > Yes, Oh freat master, I sense a great confusion :-) > It's the To: header he wants rewriten.
You can always hit the Windows user hard on the head with a cluebat. All the mail reading software for Windows that I've recently had to work with supports filtering by the _SUBJETC_ of the messages too :-) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"