We would like to track our emails for spam abuse and know where they came from
including if they ran from website script.
Thanks
Scott
No one has clue here ? That can't be true right?
Postfix already puts all that into the received: headers. What else do
you need?
--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hil...@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to snic...@charite.de
According to what I see we don't get that above info in the headers. Ran a
email from a php script through postfix and no info was given other then
sending IP.
>
> Postfix already puts all that into the received: headers. What else do
> you need?
>
We are looking for the following...
X-AntiAbuse: ------------------------------------------------------
X-AntiAbuse: This header was added to track abuse, please include it with any
abuse report
X-AntiAbuse: Mail was sent from ${client_name}, contact abuse@$s
X-AntiAbuse: Primary Hostname - ${client_name}
X-AntiAbuse: Primary HostIP - ${client_addr}
X-AntiAbuse: Sender Address Domain - $s
X-AntiAbuse: Auth Sender - ${auth_author}
X-AntiAbuse: Auth ID - ${auth_authen}
X-AntiAbuse: Auth Type - ${auth_type}
X-AntiAbuse: ------------------------------------------------------
Which what we had in our sendmail mc file before we switched to postfix.
> According to what I see we don't get that above info in the headers. Ran a
> email from a php script through postfix and no info was given other then
> sending IP.
Received: by www.charite.de (Postfix, from userid 33)
id 0DC881748C3; Wed, 2 Jan 2008 13:30:44 +0100 (CET)
"Postfix, from userid 33" indicates that sendmail was called.
Another way would be to wrap the sendmail call with a script which
always adds headers.
>> Postfix already puts all that into the received: headers. What else do
>> you need?
>>
>
> We are looking for the following...
>
> X-AntiAbuse: ------------------------------------------------------
> X-AntiAbuse: This header was added to track abuse, please include it with any
> abuse report
> X-AntiAbuse: Mail was sent from ${client_name}, contact abuse@$s
> X-AntiAbuse: Primary Hostname - ${client_name}
> X-AntiAbuse: Primary HostIP - ${client_addr}
> X-AntiAbuse: Sender Address Domain - $s
Received: Headers have that info, example:
Received: from [200.1.1.149] (unknown [200.1.1.149])
by mail.asg.local (Postfix) with ESMTP id BAE2955401F
for <Ralf.Hil...@charite.de>; Tue, 26 Feb 2008 12:36:27 +0100 (CET)
> X-AntiAbuse: Auth Sender - ${auth_author}
> X-AntiAbuse: Auth ID - ${auth_authen}
> X-AntiAbuse: Auth Type - ${auth_type}
Postfix can add stuff like that to the headers:
smtpd_sasl_authenticated_header = yes