On Fri, 29 Aug 2003 at 12:01:29 -0500, [EMAIL PROTECTED] wrote:
> I guess I am unsure how the command line as backup works.  I had
configured the amavisd.conf file in the av scanners.  This we both agree
on does not work.  I then commented it out and let the next group
(backup scanners) to find the clamd and run that way.  I am assuming
that is what your talking about.  Or are you talking about starting
clamscan another way.  Sorry just a little green on the clam.  I am
wanting clam to scan the email.  Thanks.
> 
> thelv

Thelv, please answer _below_ the previous message and remove unneeded
fragments of previous messages (don't quote them as they are)
- especially these noisy, nested a few times, commercial footers by
SF.net.
Also, set the line length in your mail program to about 75 characters -
currently it produces far tooooo long lines (see above).

On amavisd-new config.
Here you are excerpts from my  amavisd.conf. This config works - I
checked that when "primary" av_scanner (clamd) was stopped, the "backup"
scanner (clamscan) was checking mail properly.

@av_scanners = (
# [...]
### http://clamav.elektrapro.com/
  ['Clam Antivirus-clamd',
    \&ask_daemon, ["CONTSCAN {}\n", '/var/run/clamav/clamd.ctl'],
    qr/\bOK$/, qr/\bFOUND$/,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

# [...]

@av_scanners_backup = (

  ### http://clamav.elektrapro.com/
  ['Clam Antivirus - clamscan', 'clamscan',
    '--stdout --disable-summary -r {}', [0], [1],
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],


Note that your path to clamd.ctl may be other than mine - you must check
it in your system.

HTH
-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to