RE: Centos 7 | Postfix + Amavisd-new + ClamAV + Spamassassin
02-26-2015, 08:42 PM
(This post was last modified: 02-26-2015, 08:49 PM by kellenw.)
Thanks for the reply Me.B. I tried setting it up substituting the various ubuntu/debian specific commands (apt-get instead of yum, nano instead of vi, etc.). It mostly went well, but I ran into a couple points of confusion.
1. Instead of this:
I used this:
...Because the extra "clamav-update" portion resulted in some "unable to locate package" errors. Is it okay just to use the command above (without "clamav-update") instead, or do I need to add something else instead? For instance,
Maybe that's what I should be using?
2. There was no "Example" line in this file:
I assume that's okay and can be ignored?
3. This file:
...Doesn't exist in Ubuntu... Or better put, it's in a different location than sysconfig, because that folder does not exist. Any idea where it would be located in ubuntu?
The rest is simple enough. I just need to verify/correct the above issues, and then I'll give it another try, and write up a "how-to" specific to Ubuntu once successful.
Thanks!
1. Instead of this:
Code:
yum install clamav clamav-update
I used this:
Code:
apt-get install clamav
...Because the extra "clamav-update" portion resulted in some "unable to locate package" errors. Is it okay just to use the command above (without "clamav-update") instead, or do I need to add something else instead? For instance,
Code:
apt-get install clamav clamav-daemon -y
Maybe that's what I should be using?
2. There was no "Example" line in this file:
Code:
/etc/freshclam.conf
I assume that's okay and can be ignored?
3. This file:
Code:
/etc/sysconfig/freshclam
...Doesn't exist in Ubuntu... Or better put, it's in a different location than sysconfig, because that folder does not exist. Any idea where it would be located in ubuntu?
The rest is simple enough. I just need to verify/correct the above issues, and then I'll give it another try, and write up a "how-to" specific to Ubuntu once successful.
Thanks!