Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th August 2009, 10:19
gee gee is offline
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default spam delete Ispconfig 3

The spam is being marked as spam but it is not being deleted or rejected on the domain. I have tried selecting the different spam fillets “trigger happy. Normal” but it still passes it through as Tagged “SPAM”
Below is my /etc/amavis/conf.d#50-user configuration.

$final_virus_destiny = D_BOUNCE;
$final_spam_destiny = D_DISCARD;
$final_banned_destiny = D_BOUNCE;
$final_bad_header_destiny = D_PASS;

Is there some place ells I need to configure for each domains spam that it gets deleted or rejected. In ispconfig 2 you just had to click delete tag but that does not appear in ispconfig3
Thanks for the help
Reply With Quote
Sponsored Links
  #2  
Old 17th August 2009, 10:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

Your configuration is fine and spamm will be deleted if the score is above the spam kill level that you have set in the spamfilter policy.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th August 2009, 11:44
gee gee is offline
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISP CONFIG 3 Spam

Hi can anyone please please help.

I am still getting 100 of spams.

Here are my settings. Is there anything im doing wrong? I have my kill level at 6.

Thanks

use strict;

#
# Place your configuration directives here. They will override those in
# earlier files.
#
# See /usr/share/doc/amavisd-new/ for documentation and examples of
# the directives you can use in this file
#

@bypass_virus_checks_maps = (
\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);

@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);

#
# Database connection settings
#

@lookup_sql_dsn =
( ['DBI:mysql:database=dbispconfig;host=127.0.0.1;por t=3306', 'ispconfig', 'f898191d2e41a12c5e98e005a77b9124'] );

# @storage_sql_dsn = @lookup_sql_dsn; # none, same, or separate database
#$sql_select_policy = 'SELECT "Y" as local FROM mail_domain WHERE CONCAT("@",domain) IN (%k)';
# $banned_files_quarantine_method = 'sql';
# $spam_quarantine_method = 'sql';

#
# SQL Select statements
#

$sql_select_policy =
'SELECT *,spamfilter_users.id'.
' FROM spamfilter_users LEFT JOIN spamfilter_policy ON spamfilter_users.policy_id=spamfilter_policy.id'.
' WHERE spamfilter_users.email IN (%k) ORDER BY spamfilter_users.priority DESC';


$sql_select_white_black_list = 'SELECT wb FROM spamfilter_wblist'.
' WHERE (spamfilter_wblist.rid=?) AND (spamfilter_wblist.email IN (%k))' .
' ORDER BY spamfilter_wblist.priority DESC';

#
# Quarantine settings
#

$final_virus_destiny = D_BOUNCE;
$final_spam_destiny = D_DISCARD;
$final_banned_destiny = D_BOUNCE;
$final_bad_header_destiny = D_PASS;

# Default settings, we st this very high to not filter aut emails accidently
$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt = 20.0; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 60.0; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 60.0; # triggers spam evasive actions
$sa_dsn_cutoff_level = 100; # spam level beyond which a DSN is not sent

#
# Disable spam and virus notifications for the admin user.
# Can be overridden by the policies in mysql
#

$virus_admin = undef;
$spam_admin = undef;


#
# Enable Logging
#

$DO_SYSLOG = 1;
$LOGFILE = "/var/log/amavis.log"; # (defaults to empty, no log)

# Set the log_level to 5 for debugging
$log_level = 0; # (defaults to 0)


#------------ Do not modify anything below this line -------------
1; # insure a defined return
Reply With Quote
  #4  
Old 18th August 2009, 13:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

Set

$log_level = 5;

and check your mail log how the spam emails get scored.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 18th August 2009, 20:29
moglia moglia is offline
Member
 
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Exclamation Spam Issues

I recevied lots of spam insted my old postfixadmin instalation.

Have a way to move spam to .spam folder for users?

at past instalation im used postgrey and some rbl lists i put rbl again on postfix conf.
Reply With Quote
  #6  
Old 20th August 2009, 10:59
gee gee is offline
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by till View Post
Set

$log_level = 5;

and check your mail log how the spam emails get scored.
I cheacked my Header scores and most of them score over 10.

I set my kill score to 6 but still the spam gets through.
I get about 60 to 100 spam email over the kill score a day.
The subject labeling is working, it is labeling the spam email with ***Possible Spam*** in the subject bar, it just needs to now delete what it finds.


Any ideas please my boss is going to kill me if I dont get this sorted.

Last edited by gee; 20th August 2009 at 11:20.
Reply With Quote
  #7  
Old 2nd September 2009, 02:56
rputnins rputnins is offline
Junior Member
 
Join Date: Sep 2009
Location: Riga, Latvia
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to rputnins
Default

I have the same problem - the messages that are over spam tag level have modified subject but not deleted.
Reply With Quote
  #8  
Old 2nd September 2009, 03:28
bajodel bajodel is offline
Member
 
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts
Default

(maybe stupid .. but) ..have you restarted "edited" amavis service?

Bye..

bajodel.
Reply With Quote
  #9  
Old 2nd September 2009, 04:08
moglia moglia is offline
Member
 
Join Date: Apr 2009
Posts: 92
Thanks: 7
Thanked 15 Times in 11 Posts
Exclamation _SCORE_ score on spam subject.

You can put level on subject

**** POSSIBLE SPAM (_SCORE_) ***

*** SPAM (_SCORE_) ***

i no have idea about moving spam to spam folder.
Reply With Quote
  #10  
Old 18th September 2009, 16:08
Mccy_McFlinn Mccy_McFlinn is offline
Junior Member
 
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Hi gee,

I'm not sure if this is still a problem but your amavis config file holds the key as to why your spam is not being discarded. You state that you changed your kill level to 6 but do not state that you've changed your tag2_level to 6 or lower. Basically, if you don't tag the email as spam it can't be killed off. So an email would have to reach a level of 60 (according to your config posted) before it would be killed.

I'd recommed setting your tag_level to null and then setting you tag2_level to 6 or lower and then anything 6 or above will be killed off.

Hope this helps.
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
How to delete all spam over a certain score? Olgierd General 3 2nd September 2009 10:37
ISPConfig: Delete a folder in the treeview vaio1 General 18 17th November 2008 18:46
How to delete this from ISPconfig? edge General 1 30th May 2008 01:41
ISPconfig after installation cannot reach www.xyz.de:81 Figth4Linux Installation/Configuration 23 6th March 2008 23:38
ISPConfig 2.2.11/FC 5 -- No Spam Scanning? anders_georgsson General 10 12th May 2007 09:05


All times are GMT +2. The time now is 04:20.


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