Elo,
I've givn up trying to get spamassassin to work (probably my fault, but meh).
Found this http://www.vmware.com/appliances/directory/255 ... has anyone had an experiance with this / does it work? Seems an easy way to get spam and virus sorted if it does.
Cheers
S.
SPAM Assassin VMWare
Re: SPAM Assassin VMWare
I wouldn't use that sheff.
Last Updated: 08/13/2006
Last Updated: 08/13/2006
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: SPAM Assassin VMWare
ah 
assumed it would autoupdate?
S.

assumed it would autoupdate?
S.
Re: SPAM Assassin VMWare
No idea, try it, can't hurt 

If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: SPAM Assassin VMWare
S,
I would suggest setting up Ubuntu Server on VMware, with Spamasassin/ClamAV along with bind for local DNS.
I would suggest setting up Ubuntu Server on VMware, with Spamasassin/ClamAV along with bind for local DNS.
That should get you up and running a full SpamAssassin/ClamAV installation (thx. mbreitba)Install Ubuntu from CD
Follow all setup instructions
Add DNS Server
reboot
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 0.0.0.0 should be the IP address of your mailserver)
--------------------------------------
ENABLED=1
SAHOME="/var/log/spamassassin/"
OPTIONS="--create-prefs --max-children 5 --username spamd --round robin -A 0.0.0.0 -i 0.0.0.0 -H ${SAHOME} -s
${SAHOME}spamd.log"
--------------------------------------------
"apt-get install clamav clamav-daemon"
"cpan"
go through initial CPAN setupcd /
cpan> "force install File::Scan::ClamAV"
get clamav.cf and clamav.pm from here and put them into /etc/mail/spamassassin : http://wiki.apache.org/spamassassin/ClamAVPlugin
Change the clamav.pm file -
"pico /etc/mail/spamassassin/clamav.pm"
# our $CLAMD_SOCK = 3310; # for TCP-based usage
our $CLAMD_SOCK = "/var/run/clamd.basic/clamd.sock"; # change me
to
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
test
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
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
Change DNS resolver to 127.0.0.1 to use local DNS for lookups
"pico /etc/resolv.conf"
hMailServer 5.3.3: External MySql
Win2k3 Server | eWall 4.0 Anti-Spam Anti-Virus SMTP Proxy {http://sssolutions.net/}
SpamAssassin 3.31 - ClamAV on backend Ubuntu Server 10.04(VMware)
Win2k3 Server | eWall 4.0 Anti-Spam Anti-Virus SMTP Proxy {http://sssolutions.net/}
SpamAssassin 3.31 - ClamAV on backend Ubuntu Server 10.04(VMware)