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 checked when filter_end
returns,

> Should i then do the action_change_header and also add the header to
> the MIME::Entity? 

If it needs to be visible later on in your code, then yes.

Regards,

Dianne.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] action_change_header

2018-05-07 Thread Thomas Kristensen
Hey

Then I dont understand the rebuild action. 

Should i then do the action_change_header and also add the header to the 
MIME::Entity? 

Med venlig hilsen
Thomas Kristensen

Storhaven 12 - 7100 Vejle
Tlf: 75 72 54 99 - Fax: 75 72 65 33
E-mail: t...@multimed.dk

-Oprindelig meddelelse-
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  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; Sendmail does the header addition just before delivery.

Regards,

Dianne.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above message, 
it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang 
mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


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; Sendmail does the header addition
just before delivery.

Regards,

Dianne.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[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
[MM_mail_logo_3_AS]
Storhaven 12 - 7100 Vejle
Tlf: 75 72 54 99 - Fax: 75 72 65 33
E-mail: t...@multimed.dk


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang