Forum Moderators: bakedjake
Thanks
You can block some spam directly on the server, but only based on the connection and on the envelope, such as relay host, envelope sender and envelope recipient. If you want to filter on other criteria, you will need to download the mail to examine the content.
A good way is to use RBL lists to block mail from open relays or from unprotected formmail scripts. It removes quite a bit spam, but not much
You probably cannot block the current viruses without accepting the message body, since you need to look at the subject or other message headers.
If anyone is still interested in this topic, I've just amended the config file for sendmail on my RAQ4 to filter out all (well most) sobig viruses at source and discard them.
This means that the users on the various sites don't have to download the emails to then delete them.
This saves bandwidth and annoyed users.
If it would help I can post the code changes and instructions. (I only know exactly for a RAQ4 using redhat but it's *nix so it should all be similiar)