Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 25-10-2004, 09:55 PM   #1 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default How to filter out spam


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.
[list=1][*]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:
  1. From the drop down list select Pipe Message to Shell Command.
  2. 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.
  3. In the drop down menu on its right select Returns Greater Than.
  4. In the next box enter 0 (zero, not O).
[*]In the frame called Then perform the following steps:
  1. From the drop down list select Move to Folder.
  2. Select the Spam folder that was created some time back.
  3. Click on the Add button.
  4. 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 http://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.
  1. Click on K (in KDE) to open up the menu.
  2. Go to Lost & Found.
  3. Click on Add/Remove Applications.
  4. In the list, go to Mail Server and click on Details.
  5. If you see spamassassin ticked, it is installed otherwise it is not installed.
  6. If it is not installed, put a tick mark next to it and click on Close and then on Update.
  7. Insert the Linux installation CD that it requires.
tuxfan is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-10-2004, 11:43 PM   #2 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,997
Default

I was elated when I got the Novell's Linux techincal resource dvds to test Ximian desktop ..but was very disappointed to see that the XMD 2 supplied in it was meant for Suse 8.2 .. ...

Btw.. Evolution is supplied with FC2 na ..? I will soon install it .. It looks just like Outlook 2003 ...
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 26-10-2004, 12:43 AM   #3 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

I am pretty comfortable with Byesian filter on our office mail server (Mdaemon)

and it also works on the same logic...it also using spamaasian..
and learns the things itself after certain time..

i have managed to stop 95% of the spam on our system...

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 26-10-2004, 11:41 AM   #4 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default

Evolution has been there since Red Hat 9 days. It may have been there since longer, but I have not seen any earlier distros And yes it looks very much like Outlook and also behaves like it. That is why I chose it over Thunderbird, KMail and Mozilla Mail. I use multiple POP3 accounts and don't like the idea of having separate set of folders for each account.
__________________
:: Free hosting and free domain names available in special cases. Conditions apply ::
tuxfan is offline  
Old 26-10-2004, 07:27 PM   #5 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Spam should ideally be controlled on the mail exchange server itself, since there's no point in first downloading all spam mails on the desktop and then applying a filter rule... You have already wasted your bandwidth

Evloution was there in RedHat from 8.0... though it was still very young then... I somehow like the whole Mozilla suite as a single piece... no specific reason though.... just that i'm used to mozilla's user interface...


ps: Nice tutorial tuxfan
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 27-10-2004, 11:01 AM   #6 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default

Quote:
Originally Posted by GNUrag
Spam should ideally be controlled on the mail exchange server itself
Very true. But since it is not done by the biggest Indian ISP, I get maximum spam on my VSNL account

Secondly, I think mails filtered out thry these automatic filters needs to be reviewed - at least the header. Otherwise some useful mails may go away as spam.

Quote:
Originally Posted by GNUrag
Nice tutorial tuxfan
Thank you I always feel the urge to know more and more about what I start using
__________________
:: Free hosting and free domain names available in special cases. Conditions apply ::
tuxfan is offline  
Old 27-10-2004, 03:51 PM   #7 (permalink)
Bewitched!
 
xenkatesh's Avatar
 
Join Date: Feb 2004
Location: chennai
Posts: 468
Default

GNUrag wrote:
Nice tutorial tuxfan

Nice tutorial Dude! Gr8
__________________
Keep your friends close and enemy CLOSER!!!
Ragnarok Online: One World, One Million Possibilities.. :)
xenkatesh is offline  
Old 28-10-2004, 12:34 PM   #8 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default

Thank you, xenkatesh
__________________
:: Free hosting and free domain names available in special cases. Conditions apply ::
tuxfan is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear
- by abhidev
- by clmlbx
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2