Difference between pages "Package:Postfix" and "Package:Clamav"

(Difference between pages)
m (testing console template)
 
m (finish up ebuild)
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=A fast and secure drop-in replacement for sendmail.
+
|Summary=Clam Anti-Virus Scanner
|CatPkg=mail-mta/postfix
+
|CatPkg=app-antivirus/clamav
|Maintainer=
+
|Homepage=http://www.clamav.net/
|Homepage=http://www.postfix.org
+
 
}}
 
}}
 +
Clamav is an open source antivirus solution.
  
Postfix is an advanced mail server, MTA (mail transport agent).  Postfix attempts to be fast, easy to administer, and secure.  The outside has a definite Sendmail-ish flavor, but the inside is completely different.  Funtoo is providing postfix as default MTA.
+
=== Installation ===
 +
{{console|body=###i## emerge app-antivirus/clamav}}
  
== Installation ==
+
Virus definitions need to be installed before starting the clamd service
{{console|body=###i## emerge postfix}}
+
{{console|body=###i## freshclam}}
At this point emerge will try to replace any alternative MTA (if any) installed on your system.
+
  
 +
=== Configuration ===
 +
Configuration files are located at {{c|/etc/conf.d/clamd}}, {{c|/etc/clamd.conf}}, and {{c|/etc/freshclam.conf}}
 +
 +
=== Runtime ===
 +
{{console|body=###i## rc-update add clamd default
 +
###i## rc}}
 +
 +
==== Testing ====
 +
To make sure things are installed correctly, test this harmless file:
 +
{{console|body=###i## wget -O- http://www.eicar.org/download/eicar.com.txt | clamscan -
 +
###i##rm eicar.com.txt}}
 +
 +
==== Usage ====
 +
To scan single files:
 +
{{console|body=###i## clamscan /usr/bin/portageq}}
 +
 +
To scan a directory:
 +
{{console|body=###i## clamscan -ir /var/www/localhost/htdocs/
 +
----------- SCAN SUMMARY -----------
 +
Known viruses: 3736482
 +
Engine version: 0.98.6
 +
Scanned directories: 663
 +
Scanned files: 6067
 +
Infected files: 0
 +
Total errors: 8
 +
Data scanned: 58.61 MB
 +
Data read: 36.59 MB (ratio 1.60:1)
 +
Time: 42.691 sec (0 m 42 s)
 +
}}
 +
 +
=== External Resources ===
 +
http://www.clamav.net/doc/install.html
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Revision as of 10:36, February 3, 2015

app-antivirus/clamav


Source Repository:Repository:Gentoo Portage Tree

http://www.clamav.net/

Summary: Clam Anti-Virus Scanner

Use Flags

clamdtop
A Top like tool which shows what clamd is currently scanning amongst other things
metadata-analysis-api
Enables collection of file property metadata using ClamAV API for analysis by ClamAV bytecode programs.

News

Drobbins

IP Space Migration Continues

All Funtoo user containers in the 8.28 IP space will be moving into our new IP space (172.97) over the next few days. If you have DNS set up -- be sure to watch your container and update to the new IP! container.host.funtoo.org DNS will be updated after the move.
2015-08-27 by Drobbins
Drobbins

Funtoo Hosting IP Move

Funtoo user containers with IPs in the 72.18.x.x range will be gradually migrating to new IP addresses this week. If you have DNS entries for your containers, please be aware that your DNS will need to be updated.
2015-08-11 by Drobbins
Drobbins

New ARM Stages

New ARM Stages, built with a new toolchain, are now hitting mirrors. Existing ARM users should re-install using these stages (dated Aug 3, 2015 or later,) rather than upgrade using emerge.
2015-08-06 by Drobbins
More...

Clamav

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Clamav is an open source antivirus solution.

Installation

# emerge app-antivirus/clamav


Virus definitions need to be installed before starting the clamd service

# freshclam


Configuration

Configuration files are located at /etc/conf.d/clamd, /etc/clamd.conf, and /etc/freshclam.conf

Runtime

# rc-update add clamd default
# rc


Testing

To make sure things are installed correctly, test this harmless file:

# wget -O- http://www.eicar.org/download/eicar.com.txt


Usage

To scan single files:

# clamscan /usr/bin/portageq


To scan a directory:

# clamscan -ir /var/www/localhost/htdocs/
----------- SCAN SUMMARY -----------
Known viruses: 3736482
Engine version: 0.98.6
Scanned directories: 663
Scanned files: 6067
Infected files: 0
Total errors: 8
Data scanned: 58.61 MB
Data read: 36.59 MB (ratio 1.60:1)
Time: 42.691 sec (0 m 42 s)


External Resources

http://www.clamav.net/doc/install.html