ietf-mta-filters
[Top] [All Lists]

Re: Three new drafts and a question

2003-04-30 00:58:02
On Wednesday 30 April 2003 01:07, Kjetil Torgrim Homme wrote:
<snip>
I know you wanted a failed match to not influence the numeric
variables, Ned, it seems like you were right.
<snip>

Well, _obviously_ this particular problem stems from unconditionally 
executing deleteheader+addheader. The correct way to do this would be:

if header :matches "Subject" "[ietf] *" {
        deleteheader "Subject";
        addheader "Subject" "${1}";
}

Marc

-- 
If free-software authors lose the right to disclaim all warranties and
find themselves getting sued over the performance of the programs
they've written, they'll stop contributing free software to the world.
 -- Bruce Perens: Open Sources: Voices from the Open Source Revolution

Attachment: pgpIMYUxrMbz1.pgp
Description: signature