This could help me with an issue which showed off when I recently enabled SMTP AUTH over my Postfix 2.2 for my users to send mail from outside our LAN. Everytime some user sends mail through the server, it gets tagged with SPF_FAIL by SA. If I could remove the Received: header which get posted over the mail when an authenticated user send a mail from his/her home connection, that rule wouldn't hit. In other words, I would like to anonymize some headers. Dunno if it's possible with Amavis or via header_checks.
Any clues? Luis 2007/6/13, Mark Martinec <[EMAIL PROTECTED]>: > 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/ > -- ------------------------------------------------- GNU-GPL: "May The Source Be With You... Linux Registered User #448382. When I grow up, I wanna be like Theo... ------------------------------------------------- ------------------------------------------------------------------------- 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/