View Single Post
  #6  
Old 17th February 2010, 12:49
yalex2000 yalex2000 is offline
Junior Member
 
Join Date: Sep 2009
Location: Moscow, Russia
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
You seem to have modified the amavisd config file, there has never been a db table dbispconfig.maddr in ispconfig, so you use some kind of manually edited amavisd config file and not the one from ispconfig.

Please make sure that you installed your server exactly as described in the perfect server guide and undo the manual edits that you made in the amavisd configuration to ensure that amavisd is able to start again.
I did everything on this documentation:
http://www.howtoforge.org/perfect-se...04-ispconfig-3

But anti-spam does not work, I corrected these files:

/etc/amavis/conf.d/15-content_filter_mode
Code:
# If You wish to enable it, please uncomment the following lines:


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


#
# Default SPAM checking mode
# Please note, that anti-spam checking is DISABLED by
# default.
# If You wish to enable it, please uncomment the following lines:


@bypass_spam_checks_maps = (
   \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
/etc/amavis/conf.d/50-user
Code:
@lookup_sql_dsn =
   ( ['DBI:mysql:database=dbispconfig;host=127.0.0.1;port=3306', 'ispconfig', '*****************************'] );

@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';
/etc/postfix/main.cf
Code:
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
That's all.

what does it need to change I read in this forum...

Maybe it did not need to do?
Reply With Quote