Grant, > any one else able to maybe offer pointers ? I've been looking through > the code at add_forwarding_header_edits_per_recip > but it is a bit deep for me.
As a message id to be inserted is probably not dependent on the recipient (so there is no need to split a message if different recipients of the same message need different header section edits), then the right place to do it is in add_forwarding_header_edits_common. Just call a: $hdr_edits->prepend_header('X-Message-ID', $your_string); somewhere in that subroutine. If you also want to remove any previous 'X-Message-ID' that might exist in a message, call also the $hdr_edits->delete_header('X-Message-ID'); Mark ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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/