how to add X-AntiAbuse headers to main.cf

This is a discussion on how to add X-AntiAbuse headers to main.cf within the mailing.postfix.users forums, part of the Mail Servers and Related category; Does anyone have a the lines to add X-AntiAbuse: headers in main.cf ? We would like to track our ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008
Scott Grayban
 
Posts: n/a
Default how to add X-AntiAbuse headers to main.cf

Does anyone have a the lines to add X-AntiAbuse: headers in main.cf ?

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
Reply With Quote
  #2 (permalink)  
Old 02-26-2008
Scott Grayban
 
Posts: n/a
Default Re: how to add X-AntiAbuse headers to main.cf

Scott Grayban wrote:
> Does anyone have a the lines to add X-AntiAbuse: headers in main.cf ?
>
> 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?
Reply With Quote
  #3 (permalink)  
Old 02-26-2008
Ralf Hildebrandt
 
Posts: n/a
Default Re: how to add X-AntiAbuse headers to main.cf

On 2008-02-25, Scott Grayban <sgrayban@NOSPAM-gmail.com> wrote:
> Does anyone have a the lines to add X-AntiAbuse: headers in main.cf ?
>
> We would like to track our emails for spam abuse and know where they came from
> including if they ran from website script.


Postfix already puts all that into the received: headers. What else do
you need?

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt@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 snickebo@charite.de
Reply With Quote
  #4 (permalink)  
Old 02-26-2008
Scott Grayban
 
Posts: n/a
Default Re: how to add X-AntiAbuse headers to main.cf

Ralf Hildebrandt wrote:
> On 2008-02-25, Scott Grayban <sgrayban@NOSPAM-gmail.com> wrote:
>> We would like to track our emails for spam abuse and know where they came from
>> including if they ran from website script.


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.
Reply With Quote
  #5 (permalink)  
Old 02-26-2008
Ralf Hildebrandt
 
Posts: n/a
Default Re: how to add X-AntiAbuse headers to main.cf

On 2008-02-26, Scott Grayban <sgrayban@NOSPAM-gmail.com> wrote:

> 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.Hildebrandt@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

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt@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 snickebo@charite.de
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0