[AMaViS-user] howto setup amavis to deliver message when antivirus fails?

2008-02-07 Thread Tomas Macek
We use Postfix 2.4 with amavisd-new amavisd-new-2.4.5-1 on RHEL 4 system. We use classical setup with 2 SMTP servers - Postfix and amavisd-new listening on 10024 and we use AVG antivirus daemon for checking viruses. The problem is, that when antivirus dies for some reason, Postfix's queue is

Re: [AMaViS-user] howto setup amavis to deliver message when antivirus fails?

2008-02-07 Thread Aleksandr
Hello, When primary antivirus failes, amavis tries to use backup antivirus scanners. They are specified in av_scanners_backup array in amavisd.conf: @av_scanners_backup = ( ### http://www.clamav.net/ - backs up clamd or Mail::ClamAV ['ClamAV-clamscan', 'clamscan', --stdout

Re: [AMaViS-user] howto setup amavis to deliver message when antivirus fails?

2008-02-07 Thread Cernohorsky Wolfgang
Date: Thu, 7 Feb 2008 11:37:45 +0100 (CET) From: Tomas Macek [EMAIL PROTECTED] Subject: [AMaViS-user] howto setup amavis to deliver message when antivirus fails? The problem is, that when antivirus dies for some reason, Postfix's queue is growing, because amavisd-new says to the

Re: [AMaViS-user] score

2008-02-07 Thread MrC
Andrea Bencini wrote: I installed postfix-2.4.5-2.fc8, amavisd-new-2.5.2-2.fc8 and spamassassin-3.2.3-2.fc8. They are running. I would like to test spam changing score in local.cf. My local.cf is: report_safe 0 use_bayes 1 use_bayes_rules 1 skip_rbl_checks 0 bayes_path

Re: [AMaViS-user] score

2008-02-07 Thread Andrea Bencini
Andrea Bencini wrote: I installed postfix-2.4.5-2.fc8, amavisd-new-2.5.2-2.fc8 and spamassassin-3.2.3-2.fc8. They are running. I would like to test spam changing score in local.cf. My local.cf is: report_safe 0 use_bayes 1 use_bayes_rules 1 skip_rbl_checks 0 bayes_path

Re: [AMaViS-user] bad-header

2008-02-07 Thread Andrea Bencini
The sub check_header_validity implements the following checks: What is check_header_validity ? I don't found in amavisd.conf file!! Mark is indicating that the following checks are performed by amavis: I was looking for amavisd.conf, but I didn't found them!! Andrea

Re: [AMaViS-user] bad-header

2008-02-07 Thread Andrea Bencini
You can telnet to your mailhost and create a mail message with a duplicate header, for example: $ telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mail.mydomain.com ESMTP Postfix EHLO mydomain.com 250-mail.mydomain.com 250-PIPELINING

[AMaViS-user] amavisd processes

2008-02-07 Thread Stefan Jakobs
Hello list, I like to increase the number of amavisd processes, therefore I set $max_servers from 20 to 40. And in the postfix master.cf I changed the number of processes for amavisd also: smtp-amavis unix - - n - 40 lmtp But if I restart postfix and amavisd,

[AMaViS-user] score

2008-02-07 Thread Andrea Bencini
I installed postfix-2.4.5-2.fc8, amavisd-new-2.5.2-2.fc8 and spamassassin-3.2.3-2.fc8. They are running. I would like to test spam changing score in local.cf. My local.cf is: report_safe 0 use_bayes 1 use_bayes_rules 1 skip_rbl_checks 0 bayes_path /var/spool/amavisd/.spamassassin/bayes score

Re: [AMaViS-user] bad-header

2008-02-07 Thread MrC
Andrea Bencini wrote: How can I test BAD_HEADER? Perhaps ... by sending a message with a bad header. Yes...by sending a message with a bad header, but how can I prepare a message with a bad header? You can telnet to your mailhost and create a mail message with a duplicate header, for

Re: [AMaViS-user] bad-header

2008-02-07 Thread Andrea Bencini
How can I test BAD_HEADER? Perhaps ... by sending a message with a bad header. Yes...by sending a message with a bad header, but how can I prepare a message with a bad header? The sub check_header_validity implements the following checks: What is check_header_validity ? I don't found in

Re: [AMaViS-user] bad-header

2008-02-07 Thread MrC
Andrea Bencini wrote: The sub check_header_validity implements the following checks: What is check_header_validity ? I don't found in amavisd.conf file!! Mark is indicating that the following checks are performed by amavis: I was looking for amavisd.conf, but I didn't found them!! Andrea

Re: [AMaViS-user] score

2008-02-07 Thread MrC
Andrea Bencini wrote: Andrea Bencini wrote: I installed postfix-2.4.5-2.fc8, amavisd-new-2.5.2-2.fc8 and spamassassin-3.2.3-2.fc8. They are running. I would like to test spam changing score in local.cf. My local.cf is: score FREE_PORN 1000 score LIVE_PORN 1100 Now I send an e-mail where

Re: [AMaViS-user] score

2008-02-07 Thread mouss
MrC wrote: Andrea Bencini wrote: Andrea Bencini wrote: I installed postfix-2.4.5-2.fc8, amavisd-new-2.5.2-2.fc8 and spamassassin-3.2.3-2.fc8. They are running. I would like to test spam changing score in local.cf. My local.cf is: score FREE_PORN 1000 score