Is this linux box acting as your email server, or simply a gateway between your LAN and the internet?
If it is your email server, then checkout Spamassassin at:
http://www.spamassassin.org
If the problem is spam originating from within your LAN and going out to the internet, then that should be resolved by cleaning up and securing the PCs on your LAN.