[ start | index | login ]

Changes of knowledgebase/linux/miscapplications/clamav from #2 to #2

Inserted lines at line 1
1: __ClamAV with Procmail__
2: Using procmail is an easy way to use ClamAV with Postfix, or Sendmail (although the Sendmail milter below is probably better for Sendmail users).
3: {code:none}
4: SHELL=/bin/sh
5: DROPPRIVS=yes
6: AV_REPORT=`clamscan --stdout --disable-summary - | cut -d: -f 2`
7: VIRUS=`if [ "$AV_REPORT" != " OK" ]; then echo Yes; else echo No;fi`
8: :0fw
9: | formail -i "X-Virus: $VIRUS"
10: :0:
11: * ^X-Virus: Yes
12: $HOME/mail/junkbox
13: {code}
Powered by snipsnap.org Found a mistake in a howto? Let us know via an email to p.blikibugs at rimuhosting com.