Nick:
> Postfix is doing exactly what it should as is the python code. What I
> noticed though is that a header is being prepended onto the original
> email. From what I can tell this is done via the cleanup daemon, with
> the code being found within cleanup_message.c.

When Postfix receives a malformed message that begins with non-header
text, Postfix will prepend From: etc. just like it does with any
local message submission.

The Postfix-generated header is followed by a blank line and the
content of the malformed message.

Is the message injected through the Postfix sendmail command, is
it injected through the SMTP server port, or via some other mechanism?

What is the message content immediately after the Postfix-generated
header?

        Wietse

Reply via email to