Limiting/Disabling Return to Sender e-mails for blocked spam (Mail Queue)

Bastille

Verified User
Joined
Mar 25, 2013
Messages
51
Hello,

We're currently in the process of setting up a new DirectAdmin server, gradually moving clients over. I've been keeping an eye on the Mail Queue Administration to make sure messages are not getting lost as we work on this. Now that we have a few customers and their e-mails set up on it, I've noticed that several e-mails marked with "Mail delivery failed: returning message to sender" are winding up in the MQA on a daily basis from responding to spam e-mails. I would like to get this resolved while the number is still low.

How would I go about limiting the conditions for, or outright disabling, when our customers attempt to automatically respond to spam? A fair number of the e-mails in the MQA stem from one domain with a lot of forwarders and the e-mails they're forwarding to are rejecting the forwarded e-mail because it's tripping their spam filter.
 
Thank you for the assistance. I've set up 145,142, and your addition on the server and I'll how those fare over the weekend.
 
No way to edit posts? I'm assuming that's to prevent headaches for the mod staff of the forum. Regardless...

I stand corrected. When trying to set up "require verify = sender", I get this:
Code:
Starting exim: 2013-04-19 17:51:39 Exim configuration error in line 2 of /etc/exim.conf:
  main option "require" unknown

The others were set up without issue though.
 
Specifically what do you want to edit? (I can edit for you.) Where did you try require verify? In my file it works fine if in the ACL section; see SpamBlocker Version 4 (nobaloney.net).

Jeff
 
I had tried inserting it at the top of the exim.conf file, after bounce_return_message.

The exim.conf I'm running is the one you modified back in June of 2007, since that was what came with the latest version of DA when it was installed on this server. I take it I should upgrade this?

As for what I'm trying to do, I am trying to either stop or limit response e-mails to spam mail in an attempt to keep the amount of mail in the MQA at a reasonable level. I want it like that so that I can determine possible problems more easily without having to wade through spam. That and some of the Return to Sender e-mails for forwarding accounts were responding back with the e-mail that address was being forwarded to, which struck me as a bit of a security flaw. I don't know how many of those actually make it back to the spammers but sending them an e-mail that reveals the actual account receiving the mail just means they switch their target or have a new e-mail to add to their lists.
 
Exim SpamBlocker 2.x which comes with Directadmin be default, already has the option:

Code:
require verify = sender

but it's commented, so it looks like the following:

Code:
# require verify = sender

so you should find it and remove a leading # mark, and re-start exim.
 
Back
Top