Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd February 2010, 09:12
Mitz Mitz is offline
Junior Member
 
Join Date: Mar 2008
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
Default blocking spam emails in ispconfig3

I want to block the emails i see as spam so they no longer go to the inbox of the mail users. I'm the admin of a domain and i've asked the users to forward the spam emails to me, so i can start blocking them.

I tried adding mails to the spamfilter blacklist but it did not solve the problems. Emails still go to the user's inbox with the subject modified with a '[SPAM]' tag.

How can i block the spam and send a reply to sender announcing them they are identified as spam?
Can i use some other spam databases or something to block spam?
Reply With Quote
Sponsored Links
  #2  
Old 3rd February 2010, 09:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

In the mailbox settings, select a spamfilter policy, e.g. normal. Then go to the spamfilter policys and change the score value for the spam tag level2 and the kill level. I recommend that you set spam taglevel2 to e.g. 3.4 and the kill level to e.g. 5.0 You should also enter a subject to mark spam emails that are between taglevel 2 and kill level, e.g. "***SPAM***" so your users can filter them easily in the local mail client.

You should never send a message back to the spam senders, as the sender address of a spam email is faked in 99% so you send spam yourself in this case if you reply on spam emails.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
yoplait (5th February 2010)
  #3  
Old 3rd February 2010, 12:09
Mitz Mitz is offline
Junior Member
 
Join Date: Mar 2008
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
Default how it works

thanx for the info. I didn't think about the fake reply emails. i'm still new to server management.

i've read about spamassasin that it can use RBL checks (for DNS blacklists). Can i use this, or is it on by default?
how can i add extra spam identification methods for my users?

i've read some guides about how to improve spamassasin, but ispconfig ussually saves settings for modules in some tables in mysql. is it the same for spamassasin, or can i edit the configs in /etc/spamassasin?

is there any guide on how spamassasin can be tweaked with ispconfig?
if i enter a domain (e.g. '@spam.com') in spamfilter blacklist will it see it all mails from @spam.com as spam? does this just mark them as spam, or does this method kill the email?

i know i'm asking alot of questions, but i just want to learn and i did not find a explanation how spamassasin and ispconfig work together.

thank you in advance,
mitz
Reply With Quote
  #4  
Old 3rd February 2010, 12:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Please edit the scores as I recomended above, this will give you already a spam recognition rate of about 95 - 99% without false positives and the spamfilter will get better day by day as it uses auto learning. There is no need to add any further tweaks and rbl's are automatically used. To keep spamassassin up to date, just run regularily the command:

sa-update

and then restart amavisd.

ISPConfig is not using spamassassin directly, it uses amavisd which loads the spamassassin library. For details on amavisd-new, take a look here:

http://www.ijs.si/software/amavisd/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd February 2010, 12:26
Mitz Mitz is offline
Junior Member
 
Join Date: Mar 2008
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
Default thanx

that was quick

thank you for all the help.
i've set it up as you said.

mitz
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clarification of Spam Filter Policies in ISPConfig3 atjensen11 Installation/Configuration 8 18th July 2010 19:14
Spamfilter policy - question about spam actions prisfeo Installation/Configuration 4 2nd February 2010 16:17
Blocking Emails using Cyrillic Characters rbartz General 1 18th November 2009 16:37
seperating spam emails and real emails. Ryanmt General 1 25th March 2009 22:42
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 17:37


All times are GMT +2. The time now is 12:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.