Page 1 of 1

SPAM Assassin VMWare

Posted: 2010-01-08 14:40
by sheffters

I've givn up trying to get spamassassin to work (probably my fault, but meh).

Found this ... has anyone had an experiance with this / does it work? Seems an easy way to get spam and virus sorted if it does.



Re: SPAM Assassin VMWare

Posted: 2010-01-08 15:04
by ^DooM^
I wouldn't use that sheff.

Last Updated: 08/13/2006

Re: SPAM Assassin VMWare

Posted: 2010-01-08 16:59
by sheffters
ah :(

assumed it would autoupdate?


Re: SPAM Assassin VMWare

Posted: 2010-01-09 00:11
by ^DooM^
No idea, try it, can't hurt :)

Re: SPAM Assassin VMWare

Posted: 2010-01-22 16:39
by DFitch

I would suggest setting up Ubuntu Server on VMware, with Spamasassin/ClamAV along with bind for local DNS.
Install Ubuntu from CD

Follow all setup instructions

Add DNS Server


Log in with username/password you set up during installation

"sudo passwd"

change root password to whatever you want

"su root"

"apt-get install make"

"apt-get install spamassassin spamc"

"groupadd spamd"

"useradd -g spamd -s /bin/false -d /var/log/spamassassin spamd"

"mkdir /var/log/spamassassin"

"chown spamd:spamd /var/log/spamassassin"

"pico /etc/default/spamassassin"

Edit /etc/default/spamassassin so these options are set: (-A should be the IP address of your mailserver)



OPTIONS="--create-prefs --max-children 5 --username spamd --round robin -A -i -H ${SAHOME} -s


"apt-get install clamav clamav-daemon"


go through initial CPAN setupcd /

cpan> "force install File::Scan::ClamAV"

get and from here and put them into /etc/mail/spamassassin :

Change the file -

"pico /etc/mail/spamassassin/"

# our $CLAMD_SOCK = 3310; # for TCP-based usage
our $CLAMD_SOCK = "/var/run/clamd.basic/clamd.sock"; # change me


our $CLAMD_SOCK = 3310; # for TCP-based usage
#our $CLAMD_SOCK = "/var/run/clamd.basic/clamd.sock"; # change me

"pico /etc/clamav/clamd.conf"

edit /etc/clamav/clamd.conf - add line "TCPSocket 3310" without quotes

apt-get install ssh

reboot system


Change IP address to static if you like - replace IP addresses with your IP's - we recommend putting your SA box behind a pfsense firewall and using the built-in load balancer to gain redundancy. If you want to leave it dynamic though, you can do that.

"pico /etc/network/interfaces"
iface eth0 inet static

Change DNS resolver to to use local DNS for lookups

"pico /etc/resolv.conf"
That should get you up and running a full SpamAssassin/ClamAV installation (thx. mbreitba)