ramblings of a feline simian
Ubuntu 10.04 i386 & AXIGEN & ClamAV & spamassassin
- Here are the steps I had to take to get all this working together…
- Download 10.04 i386 (this is the only set that axigen supports)
- Download axigen mail server
- On the command line:
- apt-get install spamassassin clamav-base clamav-daemon clamav-docs clamav
- vi /etc/default/spamassassin
ENABLED=0
BECOMES
ENABLED=1 - service spamassassin stop
- service clamav-daemon stop
- service clamav-freshclam stop
- gpasswd -a clamav axigen
- vi /etc/clamav/freshclam.conf
DatabaseOwner clamd
BECOMES
DatabaseOwner axigen - rm -rf /var/lib/clamav/*
- vi /etc/clamav/clamd.conf (change the user for clamav and get it to listen on 127.0.0.1:3310)ADD or MODIFY these lines
User axigen
TCPSocket 3310
TCPAddr 127.0.0.1
LocalSocketGroup axigen - chown -R axigen:axigen -R /var/log/clamav/
- chown -R axigen:axigen -R /var/run/clamav/
- chown -R axigen:axigen -R /var/lib/clamav/
- vi /etc/apparmor.d/usr.sbin.clamdadd this line
/var/opt/axigen/queue/** r,
- freshclam
- service apparmor restart
- service spamassassin start
- service clamav-daemon start
- service clamav-freshclam start
- install axigen
You are done Don’t forget to enable spamassassin and clamav in the right places.