Hi all,
I am sending test mail by doing SMTP manually & try to
send some spam
mail. But the subject doesn't get tagged, however the body
the message
is getting spam tag (******SPAM******). Im running FC3 with
postfix,
amavisd & spamassassin.
Thanks
Gopinath.U
My amavisd.conf file
********************
use strict;
$MYHOME = '/var/amavisd';
$mydomain = 'mydomain.com';
$myhostname = 'mymta.mydomain.com';
$daemon_user = 'amavisd';
$daemon_group = 'amavisd';
#$daemon_chroot_dir = $MYHOME;
$QUARANTINEDIR = "$MYHOME/quarantine";
$TEMPBASE = "$MYHOME/tmp";
$ENV = $TEMPBASE;
$helpers_home = $MYHOME;
$max_servers=4;
$child_timeout=20*60; # we need to adjust the timeout since
it is not a
localhost transfer
$forward_method = 'smtp:127.0.0.1:10025';
$notify_method = $forward_method;
$inet_socket_port = 10024;
$inet_socket_bind = '127.0.0.1';
# bypass_header_checks_maps =
(read_hash("/var/amavisd/badheader"));
bypass_virus_checks_acl = (1);
#read_hash(%local_domains, '/etc/postfix/relay_domains');
local_domains_maps = ([ ".$mydomain",
'.xyz.co.in']);
$DO_SYSLOG = 0; # (1 = syslog, 0 = logfile)
$LOGFILE = "/var/amavisd/amavis.log";
$log_level = 0; # (0-5)
$final_spam_destiny = D_PASS; # Set to D_REJECT, D_PASS to
pass through
$final_bad_header_destiny = D_PASS; # D_REJECT, D_BOUNCE,
D_DISCARD,
D_PASS
read_hash(%whitelist_sender, '/var/amavisd/whitelist');
read_hash(%blacklist_sender, '/var/amavisd/blacklist');
read_hash(%spam_lovers, '/var/amavisd/spam_lovers');
#defending against mail bombs
$MAXLEVELS = 14;
$MAXFILES = 1500;
$MIN_EXPANSION_QUOTA = 100*1024;
$MAX_EXPANSION_QUOTA = 300*1024*1024;
$path = '/usr/bin:/bin';
$file = 'file';
$gzip = '/usr/bin/gzip'; # location of gzip on your
system -
Important!
$enable_db = 1; # enable use of
BerkeleyDB/libdb (SNMP
and nanny)
$enable_global_cache = 1; # enable use of libdb-based
cache if
$enable_db=1
#If you want to adhere to the principle that postmaster
should be able
to receive all mail (except viruses), find and uncomment the
following
$spam_lovers{lc("postmaster $mydomain")} = 1;
# SpamAssassin settings
$sa_local_tests_only = 0;
$sa_auto_whitelist = 1; # comment this line out to turn off
auto
whitelist
$sa_mail_body_size_limit = 64*1024; # 64KB
$sa_tag_level_deflt = 3.0; # controls adding the
X-Spam-Status and
X-Spam-Level headers,
$sa_tag2_level_deflt = 6.3; # controls adding 'X-Spam-Flag:
YES', and
editing Subject,
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam
evasive
actions:
$sa_spam_subject_tag = '***SPAM*** ';
$sa_spam_modifies_subj = 1;
$sa_debug = 1; # comment this line out to turn off debugging
1; # insure a defined return
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
|