* MrC <[EMAIL PROTECTED]> : > > > Been through most of the files amavis-new installed, and > > can't find anywhere the actual call to spamassassin. > > It uses the SA object interface. > > > Reason for the question is that I can't figure out if > > amavis-new is correctly passing messages to SA. > > Start amavis as "amavisd-new debug-sa" via command line to see how > spamassassin, etc. is being called.
Config file "/etc/amavis/amavisd.conf" does not exist, at /usr/sbin/amavisd-new line 1033. My installation is from the Ubuntu (Debian) packaging system. The amavisd-new is invoked by a script in /etc/init.d which doesn't seem to generate that error message. I'll keep tinkering to get rid of that message... Ok, I did a 'sudo touch /etc/amavid/amavisd.conf' and the error message disappeared. [EMAIL PROTECTED]:~]$ sudo amavisd-new debug-sa Logging to STDERR (no $LOGFILE and no $DO_SYSLOG) Oct 17 17:45:59 armadillo /usr/sbin/amavisd-new[21847]: starting. /usr/sbin/amavisd-new at armadillo amavisd-new-2.3.3 (20050822), Unicode aware, LANG=en_AU.UTF-8 Oct 17 17:45:59 armadillo /usr/sbin/amavisd-new[21847]: Perl version 5.008007 The value of variable $myhostname is "armadillo", but should have been a fully qualified domain name; perhaps uname(3) did not provide such. You must explicitly assign a FQDN of this host to variable $myhostname in amavisd.conf, or fix what uname(3) provides as a host's network name! But in ubuntu's /etc/amavis/conf.d/05-node_id : chomp($myhostname = "piggo.com"); chomp($mydomain = "piggo.com"); > > There is a header added for virus detection via clamav: > > > > X-Virus-Scanned: Debian amavisd-new at piggo.com > > X-Amavis-Alert: INFECTED, message contains virus: > > Eicar-Test-Signature > > > > but not one for SA. > > Tags are added when spam scores are at/above $sa_tag2_level_deflt, evasive > actions at $sa_kill_level_deflt. You can toss spam entirely with > $sa_quarantine_cutoff_level setting. I'll look into tags - thanks. > > My desired setup is to use amavis-new to discard messages > > with certain spam score, allow lower spam scores thru but > > have the scores in headers to I can use procmail to handle > > them on per user basis. > > So set something like: > > $sa_tag2_level_deflt = 2.0 > $sa_kill_level_deflt = 6.5 > $sa_quarantine_cutoff_level = 20.0 > > in amavisd.conf. > > > Where does amavis put (discard?) high score spam messages? > > Does it store them locally or /dev/null? > > It can place them in a quarantine mailbox, Maildir, SQL DB, etc. or delete > them entirely. > > > Does it use spamc or spamassassin command - I understand > > spamc is more efficient/faster. > > It is fast - it uses the SA object interface, and does not spawn a > spamassassin process. It does not use spamc. Ok thanks. > Be sure to review: http://www.ijs.si/software/amavisd/amavisd-new-docs.html My apologies. I missed the link to that page. -- Troy Piggins ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
