Last active
December 25, 2016 01:07
-
-
Save rmsaitam/55a35853fb531f649d5b0f5d422861ed to your computer and use it in GitHub Desktop.
Amavis-new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/amavis/conf.d/15-content_filter_mode | |
use strict; | |
# You can modify this file to re-enable SPAM checking through spamassassin | |
# and to re-enable antivirus checking. | |
# | |
# Default antivirus checking mode | |
# Please note, that anti-virus checking is DISABLED by | |
# default. | |
# 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); | |
1; # ensure a defined return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/amavis/conf.d/50-user | |
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 | |
# | |
# Número de processos | |
$max_servers = 3; | |
# Nível que irá apresentar | |
$sa_spam_subject_tag = '***SPAM*** '; | |
$sa_tag_level_deflt = undef; | |
# Nível no qual irá considerar SPAM | |
$sa_tag2_level_deflt = 6.3; | |
# Sem isso nem todos os e-mails serão analisados | |
@local_domains_maps = ['.']; | |
@lookup_sql_dsn = ( | |
['DBI:mysql:database=mail;host=127.0.0.1;port=3306', | |
'mail', | |
'mailpass']); | |
$sql_select_policy = 'SELECT domain from domain WHERE CONCAT("@",domain) IN (%k)'; | |
# $log_level = 2; # Nível de log, em produção deixe comentado | |
#------------ Do not modify anything below this line ------------- | |
1; # ensure a defined return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment