Posts: 46
maary79
Joined: 14 May 2013
#1
Hello, I would like to install clam antivirus to check for a file to send by e-mail.
I read that a virus or spyware can not hit Linux while surfing the internet.
From Sinaptyc I tried clam, and there are many voices, what should I install?
thanks __{{emoticon}}__
Last edited by maary79 on 25 Feb 2014, 10:51, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Because AntiX is based on Debian


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debianadmin.com/clamav-installation-and-configuration.html"
linktext was:"http://www.debianadmin.com/clamav-insta ... ation.html"
====================================


The clamav in synaptic should suffice. It will pull in what is needed when you hit apply.
# apt-get update

#apt-get install clamav

this will install following packages

clamav clamav-base clamav-freshclam libbz2-1.0 libclamav1 libcurl3 libgmp3 libidn11 ucf

at the time of installation it will prompt for the following questions

Virus database update method:daemon

Local Database mirror site:db.local.clamav.net

HTTP proxy information (leave blank for none):none

Should clamd be notified after updates? yes

Manually update virus databases

#freshclam

ClamAV update process started at Mon Sep 11 16:27:40 2006
main.cvd is up to date (version: 40, sigs: 64138, f-level: 8, builder: tkojm)
daily.cvd is up to date (version: 1859, sigs: 4556, f-level: 8, builder: ccordes)

Auto-updating Virus Databases

freshclam is the default database updater for Clam AntiVirus. It can work in two modes

interactive -- from command line, verbosely

daemon -- alone, silently
Posts: 1,062
Dave
Joined: 20 Jan 2010
#3
Is this to scan your email for personal use (with claws-mail or icedove) or on a mail server ?
I would be carefull and make sure which one you would like, there are many many many how tos that will steer you in many many many directions.
The link rocky provided will setup clam av, but not for email. It is just for generic file scaning / AV of the local machine, not really ideal for email only.
If is is for claws mail email client then you are probably best to install the claws mail plugin (claws-mail-clamd-plugin). Likewise for icedove or similar....
If it is for an email server, then we will need to know what server you are planning to use (postfix / sendmail / qmail / etc.....).

Dave
Posts: 46
maary79
Joined: 14 May 2013
#4
@rokytnji

Thank you,
when I gave the command:
apt- get install clamav

He did not ask configuration , wrote as follows:

Code: Select all

Reading package lists ... Done
Building dependency tree
Reading state information ... Done
Suggested packages :
  clamav -docs
The following NEW packages will be installed:
  clamav
0 upgraded, 1 newly installed , 0 to remove and 281 not upgraded.
Need to get 298 kB of archives.
After this operation, 605 kB will be occupied disk space .
Download : 1 http://ftp.gr.debian.org/debian/ testing / main i386 clamav 0.98.1 + dfsg -1 [ 298 kB ]
Recovered 298 kB in 4s ( 66.1 kB / s)
Selecting previously deselected package clamav not previously selected .
(Reading database ... 103386 files and directories currently installed.)
Preparing to unpack ... / clamav_0.98.1 + dfsg - 1_i386.deb ...
Unpacking clamav ( 0.98.1 + dfsg - 1) ...
Processing triggers for man -db ( 2.6.6-1 ) ...
Setting up clamav ( 0.98.1 + dfsg -1) ..
I had already selected some packages a few days ago with synaptic .
On the menu I can not find a trace of clam .
Thank you.
Posts: 46
maary79
Joined: 14 May 2013
#5
@Dave

I read the email from the server and upload or download files from the server. I would like to understand how it works clam, even if I do a system scan, and as you upgrade.
Thanks.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
On the menu I can not find a trace of clam .
If you have not auto updated menu

Code: Select all

which clamav
if it spits out

Code: Select all

/usr/bin
or

Code: Select all

/usr/local/bin
you can launch it from terminal with

Code: Select all

$ clamscan <myfile goes here>
I had already selected some packages a few days ago with synaptic .
Was one of them clamtk? The graphical frontend for clamav.

It won't be in the menu if just a command line clamav install.
Posts: 46
maary79
Joined: 14 May 2013
#7
I did not understand, I have to give this command:

Code: Select all

andrea@antiX1:~
$ which clamav
andrea@antiX1:~
$ 
It does not show anything.

ClamTk has not been installed.

Thanks.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
It does not show anything.
Then try

Code: Select all

locate clamav
Maybe A spacefm plugin for clamav would serve you better.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/IgnorantGuru/spacefm/wiki/plugins"
linktext was:"https://github.com/IgnorantGuru/spacefm/wiki/plugins"
====================================

ClamAV Scan

Scan the selected files/folders with ClamAV, the open source (GPL) antivirus engine.

Requirements: clamav

Download: tarball

Feedback/suggestions to fabertawe, please see the README for contact details and further info.
The struggle here for me is that I don't run a Anti-Virus engine on my AntiX installs.



^---- embedded YouTube-hosted video: https://www.youtube.com/jR3CmHJr23Q?list=PL628AB8A7B7A877D8



Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9
I just woke up. I am doing some investigating on my netbook.

Code: Select all

harry@biker:~
$ sux
Password: 
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
root@biker:/home/harry# apt-get update
Get:1 http://liquorix.net sid InRelease [6,714 B]
Get:2 http://liquorix.net sid/main i386 Packages [4,117 B]                     
Get:3 http://security.debian.org testing/updates InRelease [73.5 kB]           
Get:4 http://ftp.us.debian.org testing InRelease [153 kB]                      
Get:5 http://antix.daveserver.info testing InRelease [21.9 kB]                 
Ign http://mozilla.debian.net experimental InRelease                           
Ign http://www.duinsoft.nl debs InRelease                                      
Get:6 http://mozilla.debian.net experimental Release.gpg [811 B]               
Get:7 http://packages.siduction.org unstable InRelease [17.7 kB]               
Get:8 http://security.debian.org testing/updates/main i386 Packages [14 B]     
Get:9 http://mozilla.debian.net experimental Release [7,151 B]                 
Hit http://www.duinsoft.nl debs Release.gpg                                    
Get:10 http://security.debian.org testing/updates/contrib i386 Packages [14 B] 
Ign http://liquorix.net sid/main Translation-en_US                             
Get:11 http://security.debian.org testing/updates/non-free i386 Packages [14 B]
Get:12 http://antix.daveserver.info testing/main i386 Packages [66.6 kB]       
Hit http://www.duinsoft.nl debs Release                                        
Get:13 http://mozilla.debian.net experimental/iceweasel-beta i386 Packages [15.2 kB]
Ign http://liquorix.net sid/main Translation-en                                
Get:14 http://security.debian.org testing/updates/contrib Translation-en [14 B]
Get:15 http://packages.siduction.org unstable/main i386 Packages [75.8 kB]     
Get:16 http://security.debian.org testing/updates/main Translation-en [14 B]   
Get:17 http://ftp.us.debian.org testing/main i386 Packages/DiffIndex [7,876 B] 
Get:18 http://security.debian.org testing/updates/non-free Translation-en [14 B]
Hit http://www.duinsoft.nl debs/all i386 Packages                              
Get:19 http://ftp.us.debian.org testing/contrib i386 Packages/DiffIndex [7,819 B]
Get:20 http://ftp.us.debian.org testing/non-free i386 Packages/DiffIndex [7,819 B]
Hit http://packages.siduction.org unstable/contrib i386 Packages               
Get:21 http://ftp.us.debian.org testing/contrib Translation-en/DiffIndex [7,819 B]
Get:22 http://ftp.us.debian.org testing/main Translation-en/DiffIndex [7,876 B]
Hit http://packages.siduction.org unstable/non-free i386 Packages              
Get:23 http://ftp.us.debian.org testing/non-free Translation-en/DiffIndex [7,819 B]
Get:24 http://ftp.us.debian.org testing/contrib i386 2014-01-23-0243.19.pdiff [1,116 B]
Get:25 http://ftp.us.debian.org testing/non-free i386 2014-01-26-0244.21.pdiff [241 B]
Get:26 http://ftp.us.debian.org testing/contrib i386 2014-01-23-0243.19.pdiff [1,116 B]
Get:27 http://ftp.us.debian.org testing/non-free i386 2014-01-26-0244.21.pdiff [241 B]
Get:28 http://ftp.us.debian.org testing/contrib 2014-01-23-0243.19.pdiff [247 B]
Get:29 http://ftp.us.debian.org testing/contrib 2014-01-23-0243.19.pdiff [247 B]
Get:30 http://ftp.us.debian.org testing/main Translation-en [4,266 kB]         
Ign http://mozilla.debian.net experimental/iceweasel-beta Translation-en_US    
Ign http://antix.daveserver.info testing/main Translation-en_US                
Ign http://antix.daveserver.info testing/main Translation-en                   
Ign http://mozilla.debian.net experimental/iceweasel-beta Translation-en       
Ign http://www.duinsoft.nl debs/all Translation-en_US                          
Ign http://www.duinsoft.nl debs/all Translation-en                             
Ign http://packages.siduction.org unstable/contrib Translation-en_US
Ign http://packages.siduction.org unstable/contrib Translation-en              
Ign http://packages.siduction.org unstable/main Translation-en_US              
Ign http://packages.siduction.org unstable/main Translation-en                 
Ign http://packages.siduction.org unstable/non-free Translation-en_US          
Ign http://packages.siduction.org unstable/non-free Translation-en             
Get:31 http://ftp.us.debian.org testing/non-free 2014-01-27-0240.23.pdiff [180 B]
Get:32 http://ftp.us.debian.org testing/non-free 2014-01-27-0240.23.pdiff [180 B]
Get:33 http://ftp.us.debian.org testing/main i386 Packages [6,282 kB]          
Get:34 http://ftp.us.debian.org testing/contrib i386 2014-01-24-0242.43.pdiff [1,778 B]
Get:35 http://ftp.us.debian.org testing/contrib i386 2014-01-24-0242.43.pdiff [1,778 B]
Get:36 http://ftp.us.debian.org testing/non-free i386 2014-01-27-0240.23.pdiff [1,184 B]
Get:37 http://ftp.us.debian.org testing/non-free i386 2014-01-27-0240.23.pdiff [1,184 B]
Get:38 http://ftp.us.debian.org testing/contrib 2014-01-24-0242.43.pdiff [879 B]
Get:39 http://ftp.us.debian.org testing/non-free 2014-01-28-0242.07.pdiff [581 B]
Get:40 http://ftp.us.debian.org testing/contrib 2014-01-24-0242.43.pdiff [879 B]
Get:41 http://ftp.us.debian.org testing/contrib i386 2014-01-25-0241.00.pdiff [504 B]
Get:42 http://ftp.us.debian.org testing/non-free 2014-01-28-0242.07.pdiff [581 B]
Get:43 http://ftp.us.debian.org testing/non-free i386 2014-01-28-0242.07.pdiff [673 B]
Get:44 http://ftp.us.debian.org testing/contrib 2014-01-25-0241.00.pdiff [318 B]
Get:45 http://ftp.us.debian.org testing/contrib i386 2014-01-25-0241.00.pdiff [504 B]
Get:46 http://ftp.us.debian.org testing/non-free i386 2014-01-28-0242.07.pdiff [673 B]
Get:47 http://ftp.us.debian.org testing/non-free 2014-02-04-0245.35.pdiff [245 B]
Get:48 http://ftp.us.debian.org testing/contrib 2014-01-25-0241.00.pdiff [318 B]
Get:49 http://ftp.us.debian.org testing/contrib i386 2014-01-27-0240.23.pdiff [729 B]
Get:50 http://ftp.us.debian.org testing/non-free 2014-02-04-0245.35.pdiff [245 B]
Get:51 http://ftp.us.debian.org testing/non-free i386 2014-01-30-0248.25.pdiff [360 B]
Get:52 http://ftp.us.debian.org testing/contrib i386 2014-01-27-0240.23.pdiff [729 B]
Get:53 http://ftp.us.debian.org testing/contrib 2014-01-27-0240.23.pdiff [251 B]
Get:54 http://ftp.us.debian.org testing/non-free 2014-02-06-0246.26.pdiff [171 B]
Get:55 http://ftp.us.debian.org testing/non-free i386 2014-01-30-0248.25.pdiff [360 B]
Get:56 http://ftp.us.debian.org testing/contrib i386 2014-01-29-0243.35.pdiff [317 B]
Get:57 http://ftp.us.debian.org testing/contrib 2014-01-27-0240.23.pdiff [251 B]
Get:58 http://ftp.us.debian.org testing/non-free 2014-02-06-0246.26.pdiff [171 B]
Get:59 http://ftp.us.debian.org testing/non-free i386 2014-01-31-0246.50.pdiff [374 B]
Get:60 http://ftp.us.debian.org testing/contrib 2014-02-09-0241.39.pdiff [299 B]
Get:61 http://ftp.us.debian.org testing/contrib i386 2014-01-29-0243.35.pdiff [317 B]
Get:62 http://ftp.us.debian.org testing/non-free i386 2014-01-31-0246.50.pdiff [374 B]
Get:63 http://ftp.us.debian.org testing/non-free 2014-02-06-1447.24.pdiff [42 B]
Get:64 http://ftp.us.debian.org testing/contrib i386 2014-02-01-0245.50.pdiff [434 B]
Get:65 http://ftp.us.debian.org testing/contrib 2014-02-09-0241.39.pdiff [299 B]
Get:66 http://ftp.us.debian.org testing/non-free 2014-02-06-1447.24.pdiff [42 B]
Get:67 http://ftp.us.debian.org testing/non-free i386 2014-02-01-0245.50.pdiff [385 B]
Get:68 http://ftp.us.debian.org testing/contrib i386 2014-02-01-0245.50.pdiff [434 B]
Get:69 http://ftp.us.debian.org testing/non-free 2014-02-18-0241.44.pdiff [215 B]
Get:70 http://ftp.us.debian.org testing/non-free i386 2014-02-01-0245.50.pdiff [385 B]
Get:71 http://ftp.us.debian.org testing/contrib i386 2014-02-09-0241.39.pdiff [666 B]
Get:72 http://ftp.us.debian.org testing/non-free 2014-02-18-0241.44.pdiff [215 B]
Get:73 http://ftp.us.debian.org testing/non-free i386 2014-02-02-0246.48.pdiff [242 B]
Get:74 http://ftp.us.debian.org testing/contrib i386 2014-02-09-0241.39.pdiff [666 B]
Get:75 http://ftp.us.debian.org testing/non-free i386 2014-02-02-0246.48.pdiff [242 B]
Get:76 http://ftp.us.debian.org testing/contrib i386 2014-02-10-0246.39.pdiff [235 B]
Get:77 http://ftp.us.debian.org testing/contrib i386 2014-02-10-0246.39.pdiff [235 B]
Get:78 http://ftp.us.debian.org testing/non-free i386 2014-02-04-0245.35.pdiff [2,478 B]
Get:79 http://ftp.us.debian.org testing/non-free i386 2014-02-04-0245.35.pdiff [2,478 B]
Get:80 http://ftp.us.debian.org testing/contrib i386 2014-02-18-0241.44.pdiff [480 B]
Get:81 http://ftp.us.debian.org testing/contrib i386 2014-02-18-0241.44.pdiff [480 B]
Get:82 http://ftp.us.debian.org testing/non-free i386 2014-02-05-0244.59.pdiff [250 B]
Get:83 http://ftp.us.debian.org testing/non-free i386 2014-02-05-0244.59.pdiff [250 B]
Get:84 http://ftp.us.debian.org testing/contrib i386 2014-02-19-0243.17.pdiff [31 B]
Get:85 http://ftp.us.debian.org testing/contrib i386 2014-02-19-0243.17.pdiff [31 B]
Get:86 http://ftp.us.debian.org testing/non-free i386 2014-02-06-0246.26.pdiff [413 B]
Get:87 http://ftp.us.debian.org testing/non-free i386 2014-02-06-0246.26.pdiff [413 B]
Get:88 http://ftp.us.debian.org testing/contrib i386 2014-02-19-1446.56.pdiff [447 B]
Get:89 http://ftp.us.debian.org testing/contrib i386 2014-02-19-1446.56.pdiff [447 B]
Get:90 http://ftp.us.debian.org testing/non-free i386 2014-02-06-1447.24.pdiff [42 B]
Get:91 http://ftp.us.debian.org testing/non-free i386 2014-02-06-1447.24.pdiff [42 B]
Get:92 http://ftp.us.debian.org testing/contrib i386 2014-02-20-1451.29.pdiff [600 B]
Get:93 http://ftp.us.debian.org testing/contrib i386 2014-02-20-1451.29.pdiff [600 B]
Get:94 http://ftp.us.debian.org testing/non-free i386 2014-02-10-1445.11.pdiff [661 B]
Get:95 http://ftp.us.debian.org testing/non-free i386 2014-02-10-1445.11.pdiff [661 B]
Get:96 http://ftp.us.debian.org testing/contrib i386 2014-02-21-0311.55.pdiff [2,637 B]
Get:97 http://ftp.us.debian.org testing/contrib i386 2014-02-21-0311.55.pdiff [2,637 B]
Get:98 http://ftp.us.debian.org testing/non-free i386 2014-02-11-0241.53.pdiff [522 B]
Get:99 http://ftp.us.debian.org testing/non-free i386 2014-02-11-0241.53.pdiff [522 B]
Get:100 http://ftp.us.debian.org testing/non-free i386 2014-02-12-0244.56.pdiff [595 B]
Get:101 http://ftp.us.debian.org testing/non-free i386 2014-02-12-0244.56.pdiff [595 B]
Get:102 http://ftp.us.debian.org testing/non-free i386 2014-02-14-0244.58.pdiff [224 B]
Get:103 http://ftp.us.debian.org testing/non-free i386 2014-02-14-0244.58.pdiff [224 B]
Get:104 http://ftp.us.debian.org testing/non-free i386 2014-02-15-0241.23.pdiff [297 B]
Get:105 http://ftp.us.debian.org testing/non-free i386 2014-02-15-0241.23.pdiff [297 B]
Get:106 http://ftp.us.debian.org testing/non-free i386 2014-02-16-0245.42.pdiff [286 B]
Get:107 http://ftp.us.debian.org testing/non-free i386 2014-02-16-0245.42.pdiff [286 B]
Get:108 http://ftp.us.debian.org testing/non-free i386 2014-02-18-0241.44.pdiff [3,262 B]
Get:109 http://ftp.us.debian.org testing/non-free i386 2014-02-18-0241.44.pdiff [3,262 B]
Get:110 http://ftp.us.debian.org testing/non-free i386 2014-02-19-1446.56.pdiff [31 B]
Get:111 http://ftp.us.debian.org testing/non-free i386 2014-02-19-1446.56.pdiff [31 B]
Get:112 http://ftp.us.debian.org testing/non-free i386 2014-02-20-0247.16.pdiff [3,519 B]
Get:113 http://ftp.us.debian.org testing/non-free i386 2014-02-20-0247.16.pdiff [3,519 B]
Fetched 11.1 MB in 40s (271 kB/s)                                              
Reading package lists... Done
root@biker:/home/harry# apt-cache search clam
amavisd-new - Interface between MTA and virus scanner/content filters
libc-icap-mod-clamav - transitional dummy package
libc-icap-mod-virus-scan - Antivirus Service for c-icap
clamassassin - email virus filter wrapper for ClamAV
clamav - anti-virus utility for Unix - command-line interface
clamav-base - anti-virus utility for Unix - base package
clamav-daemon - anti-virus utility for Unix - scanner daemon
clamav-dbg - debug symbols for ClamAV
clamav-docs - anti-virus utility for Unix - documentation
clamav-freshclam - anti-virus utility for Unix - virus database update utility
clamav-milter - anti-virus utility for Unix - sendmail integration
clamav-testfiles - anti-virus utility for Unix - test files
libclamav-dev - anti-virus utility for Unix - development files
libclamav6 - anti-virus utility for Unix - library
clamav-unofficial-sigs - update script for 3rd-party clamav signatures
clamfs - user-space anti-virus protected file system
clamsmtp - virus-scanning SMTP proxy
clamtk - graphical front-end for ClamAV
clamz - command-line program to download MP3's from Amazon
claws-mail-clamd-plugin - ClamAV socket-based plugin for Claws Mail
libclamav-client-perl - Perl client for the ClamAV virus scanner daemon
liburcu-dev - userspace RCU (read-copy-update) library - development files
liburcu1 - userspace RCU (read-copy-update) library
littler - GNU R scripting and command-line front-end
nagios-plugins-basic - Plugins for nagios compatible monitoring systems
nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
proftpd-mod-clamav - ProFTPD module mod_clamav
proxsmtp - multi purpose SMTP Proxy
python-pyclamd - Python interface to the ClamAV daemon
python-clamav - Python bindings to ClamAV - transitional package
python-pyclamav - Python bindings to ClamAV
t-prot - display filter for Internet messages
libclamunrar6 - anti-virus utility for Unix - unrar support
From what I see.

clamtk - graphical front-end for ClamAV
clamav-freshclam - anti-virus utility for Unix - virus database update utility
clamav-testfiles - anti-virus utility for Unix - test files
claws-mail-clamd-plugin - ClamAV socket-based plugin for Claws Mail
clamav-daemon - anti-virus utility for Unix - scanner daemon
clamav-base - anti-virus utility for Unix - base package
clamav - anti-virus utility for Unix - command-line interface
clamassassin - email virus filter wrapper for ClamAV

Is what I would look into synaptic for to see if they were installed.
If not. I would install them. If anything else other than I show on my list is installed also.
It is because I am not awake yet and missed any dependencies needed
for any packages. Ignore any other installs showing not on my list as they are a bonus and no need to worry about them.
Posts: 46
maary79
Joined: 14 May 2013
#10
rokytnji wrote:
It does not show anything.
Then try

Code: Select all

locate clamav
Maybe A spacefm plugin for clamav would serve you better.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/IgnorantGuru/spacefm/wiki/plugins"
linktext was:"https://github.com/IgnorantGuru/spacefm/wiki/plugins"
====================================

ClamAV Scan

Scan the selected files/folders with ClamAV, the open source (GPL) antivirus engine.

Requirements: clamav

Download: tarball

Feedback/suggestions to fabertawe, please see the README for contact details and further info.
The struggle here for me is that I don't run a Anti-Virus engine on my AntiX installs.



^---- embedded YouTube-hosted video: https://www.youtube.com/jR3CmHJr23Q?list=PL628AB8A7B7A877D8




I downloaded the file, then the guide is on the web page you tube? I have a problem with flash, I can not see the video.
When I solve the problem, I look.

Thanks
Posts: 46
maary79
Joined: 14 May 2013
#11
rokytnji wrote:
From what I see.

clamtk - graphical front-end for ClamAV
clamav-freshclam - anti-virus utility for Unix - virus database update utility
clamav-testfiles - anti-virus utility for Unix - test files
claws-mail-clamd-plugin - ClamAV socket-based plugin for Claws Mail
clamav-daemon - anti-virus utility for Unix - scanner daemon
clamav-base - anti-virus utility for Unix - base package
clamav - anti-virus utility for Unix - command-line interface
clamassassin - email virus filter wrapper for ClamAV

Is what I would look into synaptic for to see if they were installed.
If not. I would install them. If anything else other than I show on my list is installed also.
It is because I am not awake yet and missed any dependencies needed
for any packages. Ignore any other installs showing not on my list as they are a bonus and no need to worry about them.
Ok, I have installed:

clamav-base
claws-mail-clamd-plugin
clamav-milter
clamav-testfiles
clamav-freshclam
clam-daemon
clam-tk
libclamav6
libclamunrar6
clamav
clamassassins

However, I still do not see any entry for clam ... for example: if I have a file to check in to a folder, I click right button .... but there is no voice like:"check file with clam"
Bye
Posts: 46
maary79
Joined: 14 May 2013
#12
Clam is now up on the menu.
Thanks.
__{{emoticon}}__