OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: When does postfix append a for <> in the Recieved: entry?

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Thu Nov 01 2007 - 12:30:56 CDT


On Thu, Nov 01, 2007 at 06:19:22PM +0100, Eddy Ilg wrote:

> we are using a spam filter that needs the information in the Recieved
> header entry, such as:
>
> Received: from mail2.rz.tu-harburg.de (mail2.rz.tu-harburg.de
> [134.28.202.179])
> by smtp3.rz.tu-harburg.de (8.13.8/8.13.8) with ESMTP id
> l9TFak5e023365
> (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
> for <eddyfericom.net>; Mon, 29 Oct 2007 16:36:46 +0100
>
> Sometimes postfix does not append the "for <user>". Can this be
> controlled by configuration? When does it append the line and when does
> it leave it out?

Some messages have multiple recipients, your spam filter needs a better
design (obtain message recipient information from SMTP or command-line
arguments). Do take the time to understand the distinction between
message content and envelope. Recipients are carried outside the message.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.