Stefan Palme wrote:
Hi all,

Today seems to be postfix day, so sorry for the bulk of questions ;-)

When I receive a mail with only ONE envelope recipient, postfix
inserts a mail header of the form

Received: from localhost (localhost [127.0.0.1]) by
        mail.mydomain.com (Postfix) with ESMTP id F335A4A4084 for
        <[EMAIL PROTECTED]>; Fri, 29 Aug 2008 12:23:23 +0200 (CEST)


Which is nice, because this way I see the original envelope recipient
even when the To: header is forged.


During mail delivery with multiple envelope recipients the generated
Received: header looks like this:

Received: from localhost (localhost [127.0.0.1]) by
        mail.mydomain.com (Postfix) with ESMTP id 2FAE74A406F; Fri, 29 Aug
        2008 12:20:13 +0200 (CEST)

Of course there is no "for ..." part because there are multiple
recipients.
Is there a way to enforce postfix to always insert a "from ..." part
on its Received: header? Maybe by specifing default_destination_recipient_limit = 1 ?

If yes, has default_destination_recipient_limit=1 any bad side effects?


What problem are you trying to solve? Received headers are the wrong place to look for recipients. use LMTP/SMTP, or use command line args, or use Delivered-To header or ...

Reply via email to