Web Hosting Talk







View Full Version : take out antiabuse info on the email header


VNPIXEL
03-20-2003, 06:22 PM
is there away to do it? I have a reseller client and on all of his email header look like this:

From: *** Customer Support Forums Mailer
[mailto:***@***com]
Sent: None
To: ***@***.com
Subject: New User at *** Customer Support Forums

Message-Id: <E18vqC6-0004wP-00@host.vnpixel.com>
Date: Wed, 19 Mar 2003 18:54:14 -0800
X-AntiAbuse: This header was added to track abuse, please include it
with any abuse report
X-AntiAbuse: Primary Hostname - host.vnpixel.com
X-AntiAbuse: Original Domain - ***.com
X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [99 99]
X-AntiAbuse: Sender Address Domain - host.vnpixel.com

Is there away to get rid of that X-AntiAbuse part? or at least replace our domain to his? :confused: :confused:

alwaysweb
03-20-2003, 06:33 PM
If you're reselling, it would have been a good idea to have picked an 'anonymous' server hostname rather than your own, and put your shared hosting customers on a separate, branded one.

Since its all after the fact, there is a specific file for Cpanel that puts the AntiAbuse headers there. I HIGHLY recommend you leave them there for obvious spam-tracking reasons (we do), but if you really have to remove or edit them, look at:

/etc/exim.conf

The section you're interested in is around line # 454. You can clear it entirely (Just set headers_add = "" for example), or using the variables you can figure how to adjust the header lines to be what you wish.
Good luck!

VNPIXEL
03-20-2003, 06:46 PM
i am not reselling. The client that I have is on our reseller package which he has his own name server.

I just check the file and see this:

headers_add = "X-AntiAbuse: This header was added to track abuse, please include it with any abuse report\n\
X-AntiAbuse: Primary Hostname - $primary_hostname\n\
X-AntiAbuse: Original Domain - $original_domain\n\
X-AntiAbuse: Originator/Caller UID/GID - [$originator_uid $originator_gid] / [$caller_uid $caller_gid]\n\
X-AntiAbuse: Sender Address Domain - $sender_address_domain\n"
condition = "${perl{checkspam}}"


what should i put under X-AntiAbuse: Sender Address Domain - $sender_address_domain\n" so it will point to my client domain instead of ours? or just put # infront of headers_add to take out the whole thing?

alwaysweb
03-20-2003, 06:53 PM
If you want the last line to have the Original domain, use the $original_domain variable (just like the other line did)

The headers_add variable is started and ended by double quotes (") So it takes from the first line until it reaches the " at the end. Just remove any line you don't want, and restart your mail server.

kneadingu
03-20-2003, 09:49 PM
If you change this it will affect all the email headers for every client on that box.

VNPIXEL
03-20-2003, 10:17 PM
i guess so. Anyway, i just took out these 2

X-AntiAbuse: Primary Hostname - $primary_hostname\n\
X-AntiAbuse: Sender Address Domain - $sender_address_domain\n"

sprintserve
03-21-2003, 01:40 AM
That should be fine. As long as end of the day, it provides enough information for you to track spammers. You wouldn't want some php or cgi mailers sending our spam and all they can trace is your server IP and not the domain sending them :)