Wietse,
--On 13 February 2012 10:33:42 -0500 Wietse Venema <wie...@porcupine.org>
wrote:
...
Sure, but I am trying to fix problems one at a time. The confusion
that header_checks operates only on headers received from ANOTHER
server needs to be addressed first.
I don't see where the text implies that this Postfix header_checks
behavior is somehow tied to mail received from ANOTHER server, and
that therefore Postfix header_checks behavior could be different
for email that was not received from another server, such as local
submission, mail forwarded within Postfix, or mail created by Postfix
(delivery status notificiations).
I should explain my confusion.
What I meant by this:
>>>> I've read the documentation on header_checks and it only *appears* to
>>>> operate on headers received from another server. What I want is
was that I thought header_checks only operated on headers which were
already in the mail header as passed to it by another SMTP speaker
('server' was the wrong word, as it could be an MUA). I thought that
because the documentation implies that header_checks processing is
done prior to the message being 'received', and I assumed that postfix
would not add its own headers until the message was 'received' (particularly
that it would not add the 'received' header). This led me to the (false)
conclusion that postfix's header_checks would not work on headers it
added itself, as it would be run too early.
--
Alex Bligh