LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-15-2008, 12:41 PM   #1
bmorency
LQ Newbie
 
Registered: Oct 2005
Posts: 15

Rep: Reputation: 1
configure clamav and getmail


HI,

I am trying to configure an email server that will download email from the ISP and scan the incoming mail with clamav then the user can use outlook to get the email. I am using getmail and postfix.

I can send and receive email thru outlook with this setup so far but clamscan will not scan attachements (or possibly not scan inside attachements). When I run getmail I have set it to be verbose but nothing displays on the screen. I have tested clamscan with zip files in my user's home directory. it will extract it, find the virus and delete the archive. Here is my getmailrc file in my home directory.

Code:
[retriever]

type = SimplePOP3Retriever
server = mail.server.com
username = user@domain.com
password = password

[destination]

type = Maildir
path = ~/Maildir/

[options]

delete = true
message_log = ~/.getmail/log

[filter-av]
type = Filter_classifier
path = /usr/bin/clamscan
arguments = ("-", "--remove","--verbose","--stdout",
        "--unzip=/usr/bin/unzip",
    "--unrar=/usr/bin/unrar",
    "--lha=/usr/bin/lha",
    "--jar=/usr/bin/unzip",
    "--tar=/usr/bin/tar",
    "--tgz=/usr/bin/tar")
exitcodes_keep = (0,1)

Does anyone know what I could be missing for clamscan to scan attachments?

Thanks for any help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configure postfix with ClamAV MailScanner Dovecot Ilohamail shipon_97 Linux - Newbie 2 04-22-2010 01:51 PM
getmail prashantbhushan Linux - Server 7 06-02-2007 07:56 AM
configure clamsmtp with clamav shipon_97 Linux - Enterprise 0 05-09-2006 06:18 AM
Getmail exvor Linux - Software 3 03-31-2005 09:28 PM
using getmail linksocc Linux - Software 0 11-21-2003 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration