Re: [Mimedefang] action_change_header w/ multiple Subjects

2005-10-20 Thread Sean Ware
[EMAIL PROTECTED] ([EMAIL PROTECTED]) @ 2005.10.20 10:10:34 -0700: > I'd like to be able to change the subject for emails detected as spam. > > I've been using > action_change_header("Subject", "[SPAM] $Subject"); > which has worked well until recently. > > Alas, recently there have been sp

Re: [Mimedefang] action_change_header w/ multiple Subjects

2005-10-20 Thread David F. Skoll
[EMAIL PROTECTED] wrote: > I'm tempted to do something like > action_delete_all_headers("Subject"); > action_add_header("Subject", "[SPAM] $Subject"); > 1) Will this work? Yes. > Or will action_delete_all_headers("Subject") repopulate the $Subject > variable? No; you're OK on that

[Mimedefang] action_change_header w/ multiple Subjects

2005-10-20 Thread Matthew.van.Eerde
I'd like to be able to change the subject for emails detected as spam. I've been using action_change_header("Subject", "[SPAM] $Subject"); which has worked well until recently. Alas, recently there have been spams that put in multiple Subject headers. action_change_header tags the first