From: D.J. Fan (no email)
Date: Sat Sep 10 2005 - 11:44:38 EDT
>I'm trying to filter the Received: header from emails where it containes
>127.0.0.1 or localhost (from Amavis/SpamAssassin).
>What I've tried is this :
>header_checks = regexp:/etc/postfix/header_checks
>I reloaded Postfix and sent an email to myself but the Received: headers
>are still there.
>Searching around I found various pages describing what seems to be the
>same thing as I do.
>Can someone please tell me what it is that I'm doing wrong ?
Try less regex:
/^Received: from localhost/ IGNORE
Also, you can get rid of one of the two headers by setting:
$insert_received_line = 0;
FREE pop-up blocking with the new MSN Toolbar – get it now!