Re: [Mimedefang] action_change_header

2018-05-07 Thread Dianne Skoll
On Mon, 7 May 2018 18:31:18 + Thomas Kristensen wrote: > Then I dont understand the rebuild action. action_rebuild does nothing except set a flag telling MIMEDefang that the message must be regenerated and passed back to the milter body-replacement function. The flag is

Re: [Mimedefang] action_change_header

2018-05-07 Thread Thomas Kristensen
- Fra: MIMEDefang [mailto:mimedefang-boun...@lists.roaringpenguin.com] På vegne af Dianne Skoll Sendt: 7. maj 2018 17:51 Til: mimedefang@lists.roaringpenguin.com Emne: Re: [Mimedefang] action_change_header On Mon, 7 May 2018 13:55:19 + Thomas Kristensen <t...@multimed.dk> wrote: >

Re: [Mimedefang] action_change_header

2018-05-07 Thread Dianne Skoll
On Mon, 7 May 2018 13:55:19 + Thomas Kristensen wrote: > If I use action_change_header in the begining of the filter_begin, > will the header I add/change be readable later on? No, not in MIMEDefang. MIMEDefang just makes a note to ask the milter engine to add the header;

[Mimedefang] action_change_header

2018-05-07 Thread Thomas Kristensen
Hey If I use action_change_header in the begining of the filter_begin, will the header I add/change be readable later on? I noted the action_rebuild so my guess would be yes, but i just need to be sure before I go any futher on this path :) Thanks. Med venlig hilsen Thomas Kristensen

[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

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 count. 2)

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 spams that