tuxfan
Technomancer
Here's how to use Ximian Evolution under GNU/Linux in tandum with SpamAssassin to filter spam. The steps may look somewhat complicated, but is actually very simple. Give it a try. 
- Open Ximian Evolution and create a new local folder. I created a folder called "Spam".
- Go to Tools > Filters. A new window will open up.
- Select Incoming because we want to create a filter for incoming messages (other option is Outgoing).
- Click on Add.
- Give a rule name (I called it "DownWithSpam"
).
- In the frame called If perform the following steps:
- From the drop down list select Pipe Message to Shell Command.
- In the text box on its right type spamassassin -e > /dev/null.
The option -e stands for Exit with a non-zero exit code if the tested message was spam. - In the drop down menu on its right select Returns Greater Than.
- In the next box enter 0 (zero, not O).
- In the frame called Then perform the following steps:
- From the drop down list select Move to Folder.
- Select the Spam folder that was created some time back.
- Click on the Add button.
- Select Stop Processing.
- Click on OK.
- Select the newly created rule and move it to the top most position in the list of rules.
[/list:24b5cd7925]
This will filter out spam from all POP3 accounts. Since this filter is at the top of the filter list, mails will be checked for spam before any other filter is applied. I have tried this and it works quite well in filtering out spams. Instead of moving it into a folder as in step 7(a), you can even directly delete it. But it is advisable to have a look at the mails before deleting them permanently.
You can download SpamAssassin from *www.spamassassin.org if it is already not installed or install it from the GNU/Linux installation CDs. This is how you can check whether it is installed or install it if its not there. The steps could work in KDE in Fedora Core 1 or 2 or PCQ Linux 2004. I don't know about the steps involved in other distros.- Click on K (in KDE) to open up the menu.
- Go to Lost & Found.
- Click on Add/Remove Applications.
- In the list, go to Mail Server and click on Details.
- If you see spamassassin ticked, it is installed otherwise it is not installed.
- If it is not installed, put a tick mark next to it and click on Close and then on Update.
- Insert the Linux installation CD that it requires.