LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 07-02-2009, 12:07 PM   #16
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,534
Thanked: 444

[Log in to get rid of this advertisement]
my fault, did leave out virus :-)

add

VIRUS=$MAILDIR/virus
at the beginning of procmailrc, or replace ${VIRUS} by the path to the mailbox where you want the mail to be stored, once tagged as virus, in your script

Quote:
:0 fhw
| formail -I"Subject: [VIRUS] ${SUBJ_}"
:0 fhw
| formail -A "X-VIRUS-INFO: BLOCKED BY CLAMASSASSIN"
LOG="VIRUS "
:0
${VIRUS}
repo is offline     Reply With Quote
Thanked by:
Old 07-05-2009, 12:40 PM   #17
a7mlinux
Member
 
Registered: Apr 2009
Distribution: RHEL 5, Fedora 10
Posts: 106
Thanked: 4

Original Poster
Cool

this is damn working man, I totally appreciate your damn crazy help
a7mlinux is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to UNIX socket /var/run/clamav/clamd.socket ganick Linux - Server 8 08-01-2008 02:22 PM
LXer: Book review: Setup and Run a Small Office Email Server Using Postfix, Courier, Procmail, Squirrelmail, Clamav and Spamassassin LXer Syndicated Linux News 0 08-24-2006 10:21 AM
Can't connect to UNIX socket /var/run/clamav/clamd shitoryu Linux - Software 1 07-25-2005 01:52 AM
Perl Script Program (need) : SpamAssassin-ClamAV-Procmail-Howto cyberjames Slackware 8 01-27-2005 12:53 PM
Procmail and ClamAV henno Linux - Security 2 08-13-2004 03:45 AM


All times are GMT -5. The time now is 02:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration