Re: [AMaViS-user] Configuring Sophos with amavisd-new
Hello everyone, Mark Martinec schrieb: Can anybody reply with a good 'how to' or reference for this. Since version amavisd-new-2.7.0(-pre*) it is possible to use a native Sophos protocol SSSP to connect amavisd to their daemon savdid. Can somebody tell me where the implementation of the SSSP and the savdid daemon are? It sounds like it is all in the Sophos-AV. But I'm using Sophos Anti-Virus for Linux 7.1 on a SuSE SLES 11 and cannot find a savdid daemon. Also I didn't found any useful explanation on neither the Sophos website nor in the Web. Sorry for the slightly off-topic question. Sebastian -- ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org
Re: [AMaViS-user] Addon: Problem with call plugin and hookon amavisd-new
I have updatet to SA 3.5.2 - but now : #:amavisd-new debug-sa Nov 2 18:31:42.659 debian.localdomain /usr/sbin/amavisd-new[9144]: logging initialized, log level 5, syslog: amavis.mail Nov 2 18:31:42.769 debian.localdomain /usr/sbin/amavisd-new[9144]: run_command: [9185] /usr/bin/uptime /dev/null Nov 2 18:31:42.817 debian.localdomain /usr/sbin/amavisd-new[9144]: system uptime 0 0:22:00: 18:31:42 up 22 min, 1 user, load average: 2.44, 2.26, 1.79 Nov 2 18:31:42.831 debian.localdomain /usr/sbin/amavisd-new[9144]: Valid PID file (younger than sys uptime 0 0:22:00) Nov 2 18:31:42.832 debian.localdomain /usr/sbin/amavisd-new[9144]: The amavisd daemon is already running, PID: [1779] The amavisd daemon is already running, PID: [1779] and the syslog-file shows: Nov 2 18:06:41 debian amavis[13828]: (!)_DIE: Can't locate object method call_plugins via package Mail::SpamAssassin at (eval 91) line 306. Nov 2 18:06:41 debian amavis[13829]: Net::Server: Child Preforked (13829) Nov 2 18:06:41 debian amavis[13828]: Amavis::Cache DESTROY called Nov 2 18:06:41 debian amavis[13828]: Amavis::DB::SNMP DESTROY called Nov 2 18:06:41 debian amavis[13829]: entered child_init_hook Nov 2 18:06:41 debian amavis[13829]: TIMING [total 45 ms] - bdb-open: 45 (100%)100, rundown: 0 (0%)100 Nov 2 18:06:41 debian amavis[13829]: (!!)TROUBLE in child_init_hook: Can't locate object method call_plugins via package Mail::SpamAssassin at (eval 91) line 306. Nov 2 18:06:41 debian amavis[13829]: (!)_DIE: Can't locate object method call_plugins via package Mail::SpamAssassin at (eval 91) line 306. Nov 2 18:06:41 debian amavis[13829]: Amavis::Cache DESTROY called Nov 2 18:06:41 debian amavis[13829]: Amavis::DB::SNMP DESTROY called Nov 2 18:06:41 debian amavis[13494]: Net::Server: Starting 1 children Nov 2 18:06:41 debian amavis[13830]: Net::Server: Child Preforked (13830) Nov 2 18:06:41 debian amavis[13830]: entered child_init_hook Nov 2 18:06:41 debian amavis[13830]: TIMING [total 34 ms] - bdb-open: 34 (100%)100, rundown: 0 (0%)100 Nov 2 18:06:41 debian amavis[13494]: Net::Server: Starting 1 children Nov 2 18:06:41 debian amavis[13830]: (!!)TROUBLE in child_init_hook: Can't locate object method call_plugins via package Mail::SpamAssassin at (eval 91) line 306. Nov 2 18:06:41 debian amavis[13830]: (!)_DIE: Can't locate object method call_plugins via package Mail::SpamAssassin at (eval 91) line 306. Nov 2 18:06:41 debian amavis[13831]: Net::Server: Child Preforked (13831) Nov 2 18:06:41 debian amavis[13830]: Amavis::Cache DESTROY called Nov 2 18:06:41 debian amavis[13830]: Amavis::DB::SNMP DESTROY called Nov 2 18:06:41 debian amavis[13831]: entered child_init_hook Nov 2 18:06:41 debian amavis[13831]: TIMING [total 35 ms] - bdb-open: 35 (100%)100, rundown: 0 (0%)100 Nov 2 18:06:41 debian amavis[13831]: (!!)TROUBLE in child_init_hook: Can't locate object method call_plugins via pack^C -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] Write my own rulesets for spamassassin
Hello, I want to write my own rules - in this case my own rules for Uribl. If this pattern is in the mail, the score should be XX. I enabled my own rules in local.cf in /etc/mail/spamassassin with allow_user_rules 1 The spamassassin --lint -D shows me [16656] dbg: config: allowing user rules! My rules in local.cf are: uri LOCAL_URI_EXAMPLE /www\.uni-leipzig.de\.de\/2009\// score LOCAL_URI_EXAMPLE 5.1 But my user rules are not working - the message with www.uni-leipzig.de/2009 is not market with 5.1 points. In the postfix-mailinglist a user said if you use amavis with spamassassin, not all the things will happen like in the spamasassin help document. Tnx Sebastian - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] compressed zip archives with exe-files
Hello, my amavis is blocking zip files which included legal exe-files. Who do i stop this? Tnx - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] How to get any mail from quarantine
Hello, i want to get some of my quarantained mails off quarantine. The quarantine-directory is /var/lib/amavis/virusmails/a to /b /c ... /z There are the maildir-files. amavisd-release do not have any manpages. How do i release the mails from quarantine. Thx Sebastian - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Problem with amavis and clamav WARN: all primary virus scanners failed, considering backups
Mark Martinec schrieb: Sebastian, I have installed amavis with clamav and postfix on debian etch. Clamd is working - ps aux | grep clamd shows clamav3961 0.1 7.7 97116 76760 ?Ss 11:31 0:10 clamd The /var/run/clamav/clamd.ctl ist there too. If I send a infected message for example the eicar-test-virus to the mailrelay - the virus is filtered and quarantined. But the mail.log shows: Jun 20 13:41:03 server amavis[10738]: (10738-07) (!!) ask_av (ClamAV-clamd) FAILED - unexpected result: /var/lib/amavis/tmp/amavis-20080620T132641-10738/parts: lstat() failed. ERROR\n Jun 20 13:41:03 ks360112 amavis[10738]: (10738-07) (!!) WARN: all primary virus scanners failed, considering backups What is wrong? clamd can't access files in /var/lib/amavis/tmp/amavis-2008.../parts. INSTALL: - some virus scanners run as daemons or change UID when checking files. It is easiest to run such virus scanners under the same UID/GID (or at least within the same group) as amavisd, to avoid file permission problems when virus scanner reads files prepared for checking by amavisd daemon. Some virus scanners may require write permission to the $TEMPBASE directory to be able to create auxiliary files there. If a different UID is preferred for an AV scanner, a solution for ClamAV is to add user clamav to the amavis group (e.g.: vscan:*:110:clamav in a file /etc/group), and then add: AllowSupplementaryGroups yes to clamd.conf. That's it - thanx :-) - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] amavis-new spamassassin
Hello, amavis should use spamassassin to mark mails as spam and then mark the subject-line with *** SPAM ***. But the spammails where quarantined. How do i take out the quarantine? Amavis should not compress the quarantined Mails to a .gz file - how do i setup this function? Thanx - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] delivered mail does not contain x-spam headers
Hi, the mail delivered to my mailbox does not contain X-Spam headers, but amavis is indeed working (delivered lots of mail to ~/virusmails), also there is the X-Virus-Scanned header in every mail. (but not the X-Spam...) i tried: $sa_tag_level_deflt = -999; $sa_tag_level_deflt = 0; $sa_tag_level_deflt = 0.1; no difference. I attached the debug output of amavis, maybe someone can look at it. THANK YOU VERY MUCH. if you need more information, just ask. Regards Sebastian Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: starting. /usr/sbin/amavisd-new at mydummymailhost amavisd-new-2.4.2 (20060627), Unicode aware Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: user=, EUID: 0 (0); group=, EGID: 0 0 (0 0); log_level= Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Perl version 5.008004 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: INFO: no optional modules: unicore::PVA.pl Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: INFO: no optional modules: Sys::Hostname::Long Razor2::Client::Agent Mail::SpamAssassin::Plugin::DomainKeys Mail::SpamAssassin::Plugin::HTTPSMismatch Mail::DomainKeys::Header Mail::DomainKeys::Message Mail::DomainKeys::Policy Mail::DomainKeys::Signature Mail::DomainKeys::Key Mail::DomainKeys::Key::Public Crypt::OpenSSL::RSA auto::Crypt::OpenSSL::RSA::new_public_key auto::Crypt::OpenSSL::RSA::new_public_key auto::Crypt::OpenSSL::RSA::new_key_from_parameters auto::Crypt::OpenSSL::RSA::get_key_parameters auto::Crypt::OpenSSL::RSA::import_random_seed IP::Country::Fast Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: SpamControl: init_pre_chroot done Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: 2006/10/16-21:19:59 Amavis (type Net::Server::PreForkSimple) starting! pid(22774) Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Binding to UNIX socket file /var/run/amavis/amavisd.sock using SOCK_STREAM Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Setting gid to 103 103 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Setting uid to 104 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Setting up serialization via flock Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Amavis::Conf2.068 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Archive::Tar1.23 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Archive::Zip1.14 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module BerkeleyDB 0.26 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Compress::Zlib 1.42 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Convert::TNEF 0.17 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Convert::UUlib 1.051 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module DBD::mysql 2.9006 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module DBI 1.46 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module DB_File 1.808 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Digest::MD5 2.33 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module MIME::Entity5.420 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module MIME::Parser5.420 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module MIME::Tools 5.420 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::Header1.62 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::Internet 1.62 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::SPF::Query1.997 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::SpamAssassin 3.001004 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::Cmd 2.26 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::DNS 0.48 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::SMTP 2.29 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::Server 0.87 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Time::HiRes 1.59 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Unix::Syslog0.100 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Amavis::DB code loaded Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Amavis::Cache code loaded Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: SQL base
[AMaViS-user] delivered mail does not contain x-spam headers
Hi, the mail delivered to my mailbox does not contain X-Spam headers, but amavis is indeed working (delivered lots of mail to ~/virusmails), also there is the X-Virus-Scanned header in every mail. (but not the X- Spam...) i tried: $sa_tag_level_deflt = -999; $sa_tag2_level_deflt = -999; $sa_tag_level_deflt = 0; $sa_tag_level_deflt = 0.1; no difference. I attached the debug output of amavis, maybe someone can look at it. THANK YOU VERY MUCH. if you need more information, just ask. Regards Sebastian Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: starting. /usr/sbin/amavisd-new at mydummymailhost amavisd-new-2.4.2 (20060627), Unicode aware Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: user=, EUID: 0 (0); group=, EGID: 0 0 (0 0); log_level= Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Perl version 5.008004 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: INFO: no optional modules: unicore::PVA.pl Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: INFO: no optional modules: Sys::Hostname::Long Razor2::Client::Agent Mail::SpamAssassin::Plugin::DomainKeys Mail::SpamAssassin::Plugin::HTTPSMismatch Mail::DomainKeys::Header Mail::DomainKeys::Message Mail::DomainKeys::Policy Mail::DomainKeys::Signature Mail::DomainKeys::Key Mail::DomainKeys::Key::Public Crypt::OpenSSL::RSA auto::Crypt::OpenSSL::RSA::new_public_key auto::Crypt::OpenSSL::RSA::new_public_key auto::Crypt::OpenSSL::RSA::new_key_from_parameters auto::Crypt::OpenSSL::RSA::get_key_parameters auto::Crypt::OpenSSL::RSA::import_random_seed IP::Country::Fast Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: SpamControl: init_pre_chroot done Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: 2006/10/16-21:19:59 Amavis (type Net::Server::PreForkSimple) starting! pid(22774) Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Binding to UNIX socket file /var/run/amavis/amavisd.sock using SOCK_STREAM Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Setting gid to 103 103 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Setting uid to 104 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Net::Server: Setting up serialization via flock Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Amavis::Conf2.068 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Archive::Tar1.23 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Archive::Zip1.14 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module BerkeleyDB 0.26 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Compress::Zlib 1.42 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Convert::TNEF 0.17 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Convert::UUlib 1.051 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module DBD::mysql 2.9006 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module DBI 1.46 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module DB_File 1.808 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Digest::MD5 2.33 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module MIME::Entity5.420 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module MIME::Parser5.420 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module MIME::Tools 5.420 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::Header1.62 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::Internet 1.62 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::SPF::Query1.997 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Mail::SpamAssassin 3.001004 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::Cmd 2.26 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::DNS 0.48 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::SMTP 2.29 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Net::Server 0.87 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Time::HiRes 1.59 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Module Unix::Syslog0.100 Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Amavis::DB code loaded Oct 16 21:19:59 mydummymailhost /usr/sbin/amavisd-new[22774]: Amavis::Cache code loaded Oct 16 21:19:59 mydummymailhost /usr