View Full Version : Mail-Loop
redeye
11-16-2006, 03:39 AM
I have a customer, which is using an autoresponder. Somehow spam is hitting that address, which the responder answeres. After that the mail returns because of an non-existing email-adres. From this point we have a loop, which is fl00ding spamd, which overloads the system.
How can we prevent this?
Using default installation, (latest) spamblocker config and SA 3.0x
redeye
11-18-2006, 01:04 AM
* BUMP *
nobaloney
11-18-2006, 12:04 PM
Turn off the autoresponder for that address.
It would be nice if there was a better answer but since autoresponders are designed to respond to an email, I'm not sure how easy it would be to fix this.
I've written DA staff to see if they can somehow fix this by adding a loop-counter local header when sending out the email, and checking it later when the mail comes back. Not easy because the loopcounter may be stripped, and if not stripped will end up in the body of the return mail, not in the headers.
But maybe doable.
Jeff
DirectAdmin Support
11-18-2006, 05:02 PM
Hello,
edit your /etc/exim.conf.
Find this section:
userautoreply:
driver = autoreply
bcc = ${lookup{${local_part}} lsearch {/etc/virtual/${domain}/autoresponder.conf}{$value}}
file = /etc/virtual/${domain}/reply/${local_part}.msg
from = "${local_part}@${domain}"
log = /etc/virtual/${domain}/reply/${local_part}.log
no_return_message
subject = "${if def:h_Subject: {Autoreply: ${quote:${escape:$h_Subject:}}} {Autoreply Message}}"
to = "${sender_address}"
user = mail
#once = /etc/virtual/${domain}/reply/${local_part}.once
Change it to look like
userautoreply:
driver = autoreply
bcc = ${lookup{${local_part}} lsearch {/etc/virtual/${domain}/autoresponder.conf}{$value}}
file = /etc/virtual/${domain}/reply/${local_part}.msg
from = "${local_part}@${domain}"
log = /etc/virtual/${domain}/reply/${local_part}.log
no_return_message
subject = "${if def:h_Subject: {Autoreply: ${quote:${escape:$h_Subject:}}} {Autoreply Message}}"
to = "${sender_address}"
user = mail
once = /etc/virtual/${domain}/reply/${local_part}.onceBasically, you're adding a "once" file so that it knows if someone already got the email.
We had to comment it out because this file gets very very big over time... if you're willing to keep an eye on these files, then they're your easiest option ;)
John
nobaloney
11-20-2006, 01:17 PM
Why I didn't notice that is beyond me :( .
We'll probably fix it in SpamBlocker pro, by running something to clean up the once file.
Jeff
redeye
11-22-2006, 05:24 AM
Just back in town. Sorry for my late response. I will check on the size of it ones in a while, but this works for me. Thank you very much.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.