Forum Moderators: bakedjake

Message Too Old, No Replies

C Panel/Exim config - having trouble with header_remove

need to modify or remove 'X-AntiAbuse' header for good reason

         

Mr Bo Jangles

11:49 am on May 1, 2004 (gmt 0)

10+ Year Member



Can someone assist pls.
I need to remove this from my server and have tried, but so far unsuccessfully.
This is NOT anything to do with spamming but for country/business reasons with webmail.

Many thanks

bakedjake

9:20 pm on May 4, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Can you show us the relevant header_remove line in your Exim config?

Mr Bo Jangles

9:58 pm on May 4, 2004 (gmt 0)

10+ Year Member



Hi bakedjake,
I've tried this:
headers_remove = "X-AntiAbuse"

and without quotes:
headers_remove = X-AntiAbuse

and I've entered it in the box following where the header seems to be defined - not sure exactly which of the boxes to enter it in but haven't had success so far - any assistance appreciated.

Cheers,

bakedjake

10:29 pm on May 4, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hmm.. Can you search the exim.conf for a headers_add line that contains "X-AntiAbuse"?

Mr Bo Jangles

10:57 pm on May 4, 2004 (gmt 0)

10+ Year Member



Hi bakedjake,
this is an extract copied from the exim config file:

#############

# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.


# This router routes to remote hosts over SMTP using a DNS lookup with
# default options.

lookuphost:
driver = dnslookup
condition = "${perl{checkspam}}"
domains =! +local_domains
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"
transport = remote_smtp

# This router routes to remote hosts over SMTP by explicit IP address,
# given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
# require this facility, which is why it is enabled by default in Exim.
# If you want to lock it out, set forbid_domain_literals in the main
# configuration section above.

literal:
driver = ipliteral
condition = "${perl{checkspam}}"
domains =! +local_domains
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"
transport = remote_smtp


#!# This new router is put here to fail all domains that
#!# were not in local_domains in the Exim 3 configuration.

fail_remote_domains:
driver = redirect
domains =! +local_domains
allow_fail
data = :fail: unrouteable mail domain "$domain"

#!#########

bakedjake

11:03 pm on May 4, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Comment out the "headers_add" and the X-AntiAbuse lines. That should kill those header lines.

Mr Bo Jangles

1:18 am on May 5, 2004 (gmt 0)

10+ Year Member



thanks, I'll try and report back.