Ubuntu 10.04 i386 & AXIGEN & ClamAV & spamassassin
Axigen has wow’d me for just simple ease of use and features! They give a great community version which allows you to have 5 extended type users and 100 basic users and a bunch of domains. All and all, an amazing product they are offering to the community. The features are top notch (IMHO) for a package. This is coming from a person who rolled their own complete exim solution with virtual users, antispam, greylisting and so on and so forth. Greylisting seems to be the only thing missing from axigen.
So on to the show:
- 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.