On 12/29/2010 10:12 AM, Phil Howard wrote:
I'm sending mail out through amavis for spam checking, and back in,
again.  There are extra "Received:" headers being added.  Is there a
way to either remove these, or customize them to "X-Received:" or
something?  Amavis adds one and that's an amavis issue.  Postfix adds
one coming back and that's the one of interest for this post.  If
there is a directive to suppress the "Received:" header I could add
that on the incoming from amavis.



You can turn off the "Received: " header in amavisd-new with
$insert_received_line = 0;

In postfix, you can use a header_checks IGNORE rule to remove unwanted headers. Be careful that your rule only matches the exact header you want to remove.

Or just ignore the extra headers, that's what most everyone else does.


  -- Noel Jones

Reply via email to