Matthias,

> amavisd-new already can remove some headers (X-Spam... X-Virus).
> It would be nice, if it is possible to remove some more headers
> (configurable which ones).
>
> Why do i want to do this: Some stupid notes servers add many (> 60)
> X-Notes-Item headers. These mails are later blocked by some mailers
> because of too many headers. It seems, notes cannot be persuaded to not
> add these headers. Other to be removed headers also come to mind:
> X-Authentication-Warning, etc.
> Also DKIM signing probably benefits, if some header cleanup can be done.

For the time being you may edit the amavisd file and add additional
calls to $hdr_edits->delete_header, e.g. in the code section:

sub add_forwarding_header_edits_common
...
  $hdr_edits->delete_header('X-Amavis-Hold');
  $hdr_edits->delete_header('X-Amavis-Alert');
...
  $hdr_edits->delete_header('X-Notes-Item');
  ...

Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/

Reply via email to