On 10/30/07, Mark Martinec <[EMAIL PROTECTED]> wrote: > Need Coffee, > > > I am trying to use the SA conf parameter add_header in local.cf and it's > > not working at all (no header is added) with amavisd-new 2.5.2. > > > > Google didn't seem to turn up anything about it, so I'm wondering if I just > > did something wrong... any pointers welcome. > > > > I tried adding it to $allowed_added_header_fields to no effect. > > Mail rewriting by SpamAssassin has no effect on passed mail, > see http://www.ijs.si/software/amavisd/#faq-spam . > > For editing Subject there is a limited subset of SpamAssassin-lookalikes > available for use in @spam_subject_tag_maps: > _SCORE_, _REQD_, _YESNO_, _YESNOCAPS_, > _HOSTNAME_, _DATE_, _U_, _LOGID_, _MAILID_ > > To insert or modify other header fields, you will need to modify subroutine > add_forwarding_header_edits_common or add_forwarding_header_edits_per_recip > and call add_header() from there (or delete_header or edit_header).
Cool, thanks very much for the fast answer. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/