[Mimedefang] Quarantining msg, modifications not being saved
Mack
roaringpenguin.com at bass-speaker.com
Fri Feb 18 05:29:10 EST 2005
Hi all,
I'm trying to get the quarantining working properly, I have no problems getting the msg saved, but any modifications
are lost, eg X-scanned-by, X-Spam-Score headers and the boilerplate
The code i'm using in filter end is
if ($domboilerplateenabled==1){
if ($domboilerplatelocation==0){
append_text_boilerplate_at_start($entity,"$domboilerplatetext", 0);
append_html_boilerplate_at_start($entity,"$domboilerplatehtml", 0);
}else{
append_text_boilerplate($entity,"$domboilerplatetext", 0);
append_html_boilerplate($entity,"$domboilerplatehtml", 0);
}
}
action_quarantine_entire_message();
Which happily saves the message, but the boilerplate is not added.
(checking the ENTIRE_MESSAGE file in the dir does not have modifications either)
when i release it with
sendmail -oi -Am -f `cat SENDER` `cat RECIPIENTS` < ENTIRE_MESSAGE
the message is not reprocessed through MD but released straight out
I guess i'm missing summit that will rebuild the message before quarantine?
TIA
Mack
More information about the MIMEDefang
mailing list