Hi Wietse

Thanks very much for the quick response and the helpful info.

----------
Wietse Venema:
> From <sen...@my.domain>
> Received: from CLIENT (client.my.domain [xx.xx.xx.xx]) by > server.my.domain
> Message-ID: <xxxx...@client>

First of all, that "From <address>" line is an mbox header that
POSTFIX never sends to milter applications.

OK that makes perfect sense.

----------
Postfix always produces Received: headers that include "by servername
(Postfix) with protocolname", followed by "for <recipient>" if the
message has only one recipient.

The Postfix SMTP server, that is.

If that information is deleted, then you need to examine your
header_checks rules.

Thanks for the suggestion about header_checks, but aren't they implemented in 'cleanup', i.e. after the before-queue SMTP milter has finished? Also because the delivered message has the full and correct 'Received:' header, I'm confident that postfix isn't deleting it.

So, it seems possible that the milter application (smtp-vilter) could be mangling the headers before it sends them to spamd. I'll try to get a dump of the dialogue between smtp-vilter and smtpd, in order to clarify this; and also take look at the source for smtp-vilter.

----------
Mail submitted with /usr/sbin/sendmail gets a Received: header
that looks like:

Received: by servername (Postfix, from userid number)
       id queueid; date

which also does not match your quote.

Yes that's correct, I'm submitting the mail into smtpd over the network.


Many kind regards
MARTIN

Reply via email to