Hello,

i want to alter the contents_category in an amavisd custom hook.

The checks would report as CC_BANNED oder CC_VIRUS and i want to declare the 
mail as CC_CLEAN.

I've tried with $r->add_contents_category(CC_CLEAN,0) and 
$msginfo->is_in_contents_category(CC_CLEAN)
But this seems to add another contents_category and not to overwrite the 
contents_category.

How can i delete the other contents_categorys from the list or overwrite it to 
CC_CLEAN as amavisd decides on the worst category,


Regards,

Ralf Kirmis

Reply via email to