How to disable bounces in exim?

Status
Not open for further replies.

GordonH

Well-Known Member
Sep 6, 2001
104
0
316
I have searched around and can't see how to do this.

We get lots of spamcop complaints for "unsolicited bounces" which can lead to blacklisting so I need to disable bounces from all our servers.

Has anyone managed to do this relibaky without cpanel overwriting it?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN

GordonH

Well-Known Member
Sep 6, 2001
104
0
316
Thanks for that
It seems like a possible solution as it would be possible to automate adding ti to all the servers when cpanel overwrites the config files (I had to do that for blacklisting as well....)
 

GordonH

Well-Known Member
Sep 6, 2001
104
0
316
Hi, thanks for the link. I implemented this fix and lost my email functionality altogether. How can I delete the bounce notifications while also allowing through regular mail?
I don't know.
It did the same for me so I never implemented it.

This is domething that should be selectable in the Exim editor like "use callouts".
 

randomuser

Well-Known Member
Jun 25, 2005
146
0
166
For those of you that tried this from the URL listed above and it didn't work, did you try replacing all instances of “” with "" ? Haven't tried it myself, but if someone tries that and reports success, I may have to consider it.

For example, the tut says:

if $sender_address is “”

but I think that should probably be:

if $sender_address is ""
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
For those of you that tried this from the URL listed above and it didn't work, did you try replacing all instances of “” with "" ? Haven't tried it myself, but if someone tries that and reports success, I may have to consider it.

For example, the tut says:

if $sender_address is “”

but I think that should probably be:

if $sender_address is ""
yes, if you replace those with the double quotes " " it works fine.

Mickalo
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
Hi, thanks for the link. I implemented this fix and lost my email functionality altogether. How can I delete the bounce notifications while also allowing through regular mail?
I tweaked that entry on all of our clients' servers:
Code:
if $sender_address is ""
        then
if ${lookup{${extract{2}{@}{$recipients}}}lsearch{/etc/localdomains}{yes}{no}} is "no"
        then
        noerror fail text "Delayed bounce message ignored"
        seen finish
    endif
endif
Save and then run these commands:
/scripts/restartsrv exim
/scripts/restartsrv spamd
 

erinspice

Well-Known Member
Feb 12, 2006
99
0
166
Also, (on my box at least) restarting exim restarts spamd, so you're essentially restarting spamd twice there.

But yes, thanks for this fix! It works!
 
Status
Not open for further replies.