Am 15.01.10 um 09:21 schrieb Kevin A. McGrail:
Expect some flames for not reading the manual so here's two hints:1 - man mimedefang-filter 2 - action_change_header.... action_change_header($hdr, $val, $index)Changes an existing header in the message. This can be used in filter_begin or filter_end. The $hdr parameter is the header name without the colon, and $val is the header value. If the header doesnot exist, then a header with the given name and value is added.The $index parameter is optional; it defaults to 1. If you supply it, then the $index'th occurrence of the header is changed, if there is more than one header with the same name. (This is commonwith the Received: header, for example.)
Nice joke. I was asking for ...
how can I change the sendmail priority from within mimedefang? action_add_header('Precedence','bulk') insite filter_begin() adds the header but seems not to change the priority (probably because sendmail already has set it).
... changing the Priority (grep ^P /etc/mail/sendmail.cf). I know how to fiddle with headers. I have really inhaled the manual.
thanks Frank _______________________________________________ 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 [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

