spam to default email

nawas

Verified User
Joined
Jun 25, 2005
Messages
36
Hi

I have a website in directadmin. It is functioning fine, however i am getting a lot of spam to the default email that is created when you create the account. So [email protected]. I sometimes get 100mb a day, and as i cannot access the email, i cant see what emails they are. So i enabled spamassasin, that didnt do anything, and catchall isnt even enable, does anyone know what is going on and how to stop this.

Thanks
 
Hi,

Are you sure that SpamAssassin lines are commented out in /etc/exim.conf?
 
nawas said:
I just checked and they arent, any fix for this?

Uncomment the following spamassassin lines in /etc/exim.conf:
Code:
# Spam Assassin
#spamcheck_director:
#  driver = accept
#  condition = "${if and { \
#			{!def:h_X-Spam-Flag:} \
#			{!eq {$received_protocol}{spam-scanned}} \
#			{!eq {$received_protocol}{local}} \
#			{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
#		} {1}{0}}"
#  retry_use_local_part
#  transport = spamcheck
#  no_verify

It should look like:
Code:
# Spam Assassin
spamcheck_director:
  driver = accept
  condition = "${if and { \
			{!def:h_X-Spam-Flag:} \
			{!eq {$received_protocol}{spam-scanned}} \
			{!eq {$received_protocol}{local}} \
			{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
		} {1}{0}}"
  retry_use_local_part
  transport = spamcheck
  no_verify

Also, don't forget to start /usr/local/directadmin/scripts/spam.sh
Good luck! ;)
 
Thanks :)
I have done that, so i will monitor the email inbox over the next few days.
 
been there, done that, but I would like to have more control over the default email addy thats auto created, mostly, no one uses that, I would like to create a black hole or at least limit the box size to something very, very small, or even disable it if possible
 
You can create a forward for it, to anywhere you want, including a blackhole, through the DA interface.

Jeff
 
Hi

spamassasin didnt work, still getting a lot of spam.

THe large amount of emails that are going to this address are making the server load very high, what do you think is the best way to tackle this, just blacklist certain domains?
 
You can implement SpamBlocker for the domain and then use the local blocklists.

Why is your main email address getting so much spam? Has it been used before?

Or is it being used as the destination for a catchall?

If the latter, then you should consider turning off catchall and creating either real mailboxes or forwards for necessary addresses.

Jeff
 
I have catchall set to delete mail where the address does not exist.]

It has never been used before.

Do you know how to implement spam blocker?

thanks
 
You should always set catchall to refuse mail rather than to delete it, as deleting it first completely reprocesses it on the server and doesn't let accidental legitimate senders know their mail is being refused.

SpamBlocker is included with DirectAdmin. First you have to set up a page somewhere on the net to tell accidentally blocked senders how to contact you to get whitelisted.

Then you should edit your /etc/exim.conf file to change instances of http://www.example.com/ to point to your page instead.

Then restart Exim.

Then copy from /etc/virtual/domains to /etc/virtual/use_rbl-domains all the domain names for which you want SpamBlocker to work.

SpamBlocker includes both whitelists and blocklists in /etc/virtual/, and you don't have to restart exim when you make changes to these files.

Jeff
 
I have set catchall to drop and ignore the email.

As for blacklisting, cant this be done from the spam filter tool in directadmin?
 
Nothing you do in the SpamFilter will take place until after the email has already gotten onto your server. SpamBlocker (two private parties are selling management systems for it) will keep the email from even getting onto the server.

Jeff
 
Back
Top