[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: [vps-mail] Re: Clamav



On Tue, Mar 09, 2004 at 10:25:04AM -0800, Dale Britt wrote:
> Hi Scott
> 
> It looks like the log file thinks that there is never a virus coming
> through.
> 
> Here is the log on it
> 
> procmail: [87623] Tue Mar  9 17:40:01 2004
> procmail: Assigning "NL=
> "
> procmail: Assigning "CLAMAV="
> procmail: Executing
> "/usr/local/bin/clamscan,--disable-summary,--stdout,--mbox,-"
> procmail: [87623] Tue Mar  9 17:40:02 2004
> procmail: No match on ".*: \/.* FOUND"
> procmail: Executing "formail,-aX-ClamAV: clean"
> procmail: Assigning "MATCH="
> procmail: Matched "clean"
> procmail: Match on "^X-ClamAV: \/.*"
> procmail: No match on ! "^^clean^^"
> procmail: Skipped "-I"Subject: VIRUS FOUND (was: $SUBJECT)"; \"
> procmail: Skipped "/usr/local/etc/virus_message.txt;) | $SENDMAIL -t"

That appears to be correct! Now your task is to figure out why
procmail is not assigning the CLAMAV variable (currently, it's just
assigning it empty: procmail: Assigning "CLAMAV=").

Do you have this recipe before your notification recipe?

  :0
  CLAMAV=|/usr/local/bin/clamscan --disable-summary --stdout --mbox -

Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: