<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; email filtering</title> <atom:link href="http://www.ghacks.net/tag/email-filtering/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 17:32:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Thunderbird Email Filtering Extension Quick Filter</title><link>http://www.ghacks.net/2010/04/03/thunderbird-email-filtering-extension-quick-filter/</link> <comments>http://www.ghacks.net/2010/04/03/thunderbird-email-filtering-extension-quick-filter/#comments</comments> <pubDate>Sat, 03 Apr 2010 14:46:42 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[email filter]]></category> <category><![CDATA[email filtering]]></category> <category><![CDATA[quick filter]]></category> <category><![CDATA[thunderbird]]></category> <category><![CDATA[thunderbird 3]]></category> <category><![CDATA[thunderbird extension]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=24146</guid> <description><![CDATA[Thunderbird 3 has introduced several major changes to the popular email client. The ability to perform global email searches for instance was a feature that was missing in Thunderbird 2. Extension developers have also added several interesting add-ons for the email client including the previously reviewed Sender Verification extension. Quick Filter is another extension for [...]]]></description> <content:encoded><![CDATA[<p>Thunderbird 3 has introduced several major changes to the popular email client. The ability to perform global email searches for instance was a feature that was missing in Thunderbird 2.</p><p>Extension developers have also added several interesting add-ons for the email client including the previously reviewed <a
href="http://www.ghacks.net/2010/04/01/email-sender-verification-for-thunderbird/">Sender Verification</a> extension.</p><p>Quick Filter is another extension for Thunderbird 3 that adds email filtering capabilities to the web browser. The extension adds a small toolbar on top of the email column in the software program that can be used to filter the emails of the active folder in Thunderbird.</p><p><span
id="more-24146"></span><img
src="http://www.ghacks.net/wp-content/uploads/2010/04/quick_filter-499x100.jpg" alt="" title="quick filter" width="499" height="100" class="alignnone size-medium wp-image-24147" /></p><p>Five permanent filter options are displayed in the toolbar plus a text form to filter the emails by name.</p><p>The permanent filter options are there to display only unread or starred emails, emails send by contacts, emails by tag or emails with attachments. These email filters can be combined with the text filter to quickly find specific emails in the active folder.</p><p>The extension searches in the sender, recipients and subject header by default with the option to add the body text to search the email body as well. These filters can be configured as needed, it is for instance possible to only search in email bodies or by sender.</p><p>Another interesting option provided by the email filtering extension is the ability to make the filter settings permanent so that they are applied to other folders the user switches to. This can be enabled or disabled in the toolbar as well.</p><p>Quick Filter is a very handy extension for the Thunderbird email client that is most useful to filter emails in large mail folders.</p><p>The extension has now been integrated into Thunderbird 3 and therefor removed from the add-on repository.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/04/03/thunderbird-email-filtering-extension-quick-filter/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Stop SPAM in Postfix with Spamassassin</title><link>http://www.ghacks.net/2009/10/26/stop-spam-in-postfix-with-spamassassin/</link> <comments>http://www.ghacks.net/2009/10/26/stop-spam-in-postfix-with-spamassassin/#comments</comments> <pubDate>Mon, 26 Oct 2009 20:46:31 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[email filtering]]></category> <category><![CDATA[Postfix]]></category> <category><![CDATA[spam]]></category> <category><![CDATA[SPAM scoring]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=17653</guid> <description><![CDATA[So you have your Ubuntu server up and running with a Postfix mail server (see &#8220;Install Postfix for reliable email delivery&#8220;). You have also set up Postfix for antivirus with the help of ClamAV (see &#8220;Add antivirus to Post fix with ClamAV&#8220;). Finally you have Postfix set up to relay (see &#8220;Mail relaying made simple [...]]]></description> <content:encoded><![CDATA[<p>So you have your Ubuntu server up and running with a Postfix mail server (see &#8220;<a
title="Install Postfix for reliable email delivery" href="http://www.ghacks.net/2009/10/24/install-postfix-for-reliable-email-delivery/" target="_blank">Install Postfix for reliable email delivery</a>&#8220;). You have also set up Postfix for antivirus with the help of ClamAV (see &#8220;<a
title="Add antivirus to Postfix with ClamAV" href="http://www.ghacks.net/2009/10/24/install-postfix-for-reliable-email-delivery/" target="_blank">Add antivirus to Post fix with ClamAV</a>&#8220;). Finally you have Postfix set up to relay (see &#8220;<a
title="Mail relaying made simple with Postfix" href="http://www.ghacks.net/2009/09/23/mail-relaying-made-simple-with-postfix/" target="_blank">Mail relaying made simple with Postfix</a>&#8220;). The last trick in this bag is to add SPAM prevention to Postfix.</p><p>Fortunately there is a tool for that. The tool? <a
title="Spamassassin" href="http://spamassassin.apache.org/" target="_blank">Spamassassin</a>. Spamassassin is a very versatile SPAM tool that is part of the <a
title="Apache Foundation" href="http://www.apache.org/" target="_blank">Apache Foundation</a>. Spamassassin uses numerous means to detect SPAM including: DNS and Checksum based SPAM detection as well as Bayesian filtering, external programs, black lists, and online databases. These tools together make for a fairly powerful detection system.</p><p>In this article you are going to see how to install and configure Spamassassin to work in conjunction with Postfix to further enhance your email server.</p><p><span
id="more-17653"></span><strong>Installing Spamassassin</strong></p><p>Obviously the first thing you need to do is install Spamassassin. You will find Spamassassin in the Ubuntu repositories. And since this entire series has been laid on top of a Ubuntu Server installation, that is quite convenient. So, to install Spamassassin, open up your terminal window and issue the following command:</p><p><em>sudo apt-get install spamassassin</em></p><p>There may or may not be some dependencies to install in order for the Spamassassin  installation to complete. Go ahead and OK those. Once this installation is complete you are ready to start configuring.</p><p><strong>Configuration</strong></p><p>Before we actually get to the configuration it is important to understand the SPAM scoring system. With Spamassassin, messages are tagged as SPAM only when they have enough SPAM-matching characteristics (according to a scoring level). The scoring level is 0-5, however it&#8217;s not as simple as saying a 0 means it is 0% SPAM. The system is set up so that every characteristic can add to the overall score. For example a message tested to find a base64 attachment does not have a file name filtered with both bayes+net will add 0.224 to the over all score of the message. When all of the characteristic scores are added up, if they exceed the default score you have set in the configuration file, that message is considered SPAM.</p><p>Now that you have a basic understand of how the scoring system works. Let&#8217;s start configuring Spamassassin.</p><p>The main configuration file is <strong>/etc/spamassassin/local.cf. </strong>The first option you want to configure is the default score. Look for the line:</p><p><em> # required_score 5.0</em></p><p>The first thing you want to do is uncomment that line (by removing the &#8220;#&#8221; character) and then changing the score. A score of 5 is pretty high and sure to be SPAM. Understand the more you lower that score the likely you are of missing message messages that are tagged false-positives. A score of 3.5 is a fairly reliable score that will catch a lot of SPAM but not a lot of false positives.</p><p>Above this line are a couple of other options that are important. The first is the option to set the option:</p><p>report_safe</p><p>To 0. This option can be set to either 0 or 1. A zero means that if a message is found to be SPAM the message will not be deleted, but instead the subject line will be rewritten to include a message marking it as SPAM.  This is handy to prevent users from losing important messages to false positives. This also allows you to set a lower score threshold.</p><p>To do this first look for the line:</p><p><em># report_safe 1</em></p><p>Uncomment this line by removing the &#8220;#&#8221; character and then change the &#8220;1&#8243; to &#8220;0&#8243; (no quotes).</p><p>The next step is to uncomment the line:</p><p># rewrite_header Subject *****SPAM*****</p><p>Now you can alter the &#8220;*****SPAM*****&#8221; section of this line to reflect what you&#8217;d prefer it to say. Just make sure it is clear to your users that a message with this rewritten subject line is most likely SPAM.</p><p>Now restart the Spamassassin daemon with the command:</p><p><em>sudo /etc/init.d/spamassassin restart </em></p><p><strong>Configure Postfix</strong></p><p>The last step is to set up Postfix to use Spamassassin. To do this open up the file <strong>/etc/postfix/master.cf<em> </em><span
style="font-weight: normal">and look for the line:</span></strong></p><p><strong><span
style="font-weight: normal"><em>smtp     inet    n   &#8211;   &#8211;   &#8211;   &#8211;   smtpd</em></span></strong></p><p>You need to alter this line to look like:</p><p><code>smtp      inet   n   -   -   -   -   smtpd -o content_filter=spamassassin</code></p><p>Finally, at the end of this file add the following:</p><p><code>spamassassin<br
/> unix - n n - - pipe<br
/> flags=R<br
/> user=spamd<br
/> argv=/usr/bin/spamc<br
/> -e /usr/sbin/sendmail<br
/> -oi -f ${sender} ${recipient}</code></p><p>Now all you need to do is restart Postfix with the command:</p><p><em>sudo /etc/init.d/postfix restart</em></p><p>Your mail server should now be scoring incoming message as SPAM or HAM.</p><p><strong>Final thoughts</strong></p><p>The mail server is a tricky beast. You have to ensure that users are getting their mail, but you have to make sure they aren&#8217;t receive SPAM or viruses. After completing this series of articles, you should have a pretty solid server running that will send out mail that is safe for users eyes.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/10/26/stop-spam-in-postfix-with-spamassassin/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Create message filters in Claws Mail</title><link>http://www.ghacks.net/2009/07/10/create-message-filters-in-claws-mail/</link> <comments>http://www.ghacks.net/2009/07/10/create-message-filters-in-claws-mail/#comments</comments> <pubDate>Fri, 10 Jul 2009 15:09:13 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[claws mail]]></category> <category><![CDATA[defining filter actions]]></category> <category><![CDATA[email filtering]]></category> <category><![CDATA[spam]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=14238</guid> <description><![CDATA[You may have read my recent article about Claws Mail (&#8220;Claws Mail: The unsung powerhouse email client.&#8220;). If you&#8217;ve given it a try you will have noticed just how powerful that email client is. It has a ton of features, and allows for some pretty serious power-user-friendly options. One of the aspects of Claws Mail [...]]]></description> <content:encoded><![CDATA[<p>You may have read my recent article about Claws Mail (&#8220;<a
title="Claws Mail" href="http://www.ghacks.net/2009/07/04/claws-mail-the-unsung-powerhouse-email-client/" target="_blank">Claws Mail: The unsung powerhouse email client.</a>&#8220;). If you&#8217;ve given it a try you will have noticed just how powerful that email client is. It has a ton of features, and allows for some pretty serious power-user-friendly options.</p><p>One of the aspects of Claws Mail that I like more than that of either Thunderbird or Evolution, is the filter tool. I am sure you know that email filters are one of the best means to manage the enormous amount of email coming down the pipe. You can keep SPAM in the trash, filter specific email to specific folders, and take just about any kind of action you need/want.</p><p>For many, the Claws Mail filters might not be as simple to use as the standard fare. But that doesn&#8217;t mean they shouldn&#8217;t be used.  With this tool, it is just a matter of getting used to a different interface. And that is what this article will help you with.</p><p><span
id="more-14238"></span><strong>The tools</strong></p><p>There are two ways to create a filter with Claws mail: The easy, less configurable method, or the harder, more configurable method. I will only briefly mention the easy method as that is, well, easy. The second, harder, method is what we will primarily focus on.</p><p><strong>The easy method</strong></p><p>If you have an email selected, click on the Tools menu and then select &#8220;Create Filter Rule&#8221;. When this new sub-menu pops up you will see four entries:</p><ul><li>Automatically</li><li>By From</li><li>By To</li><li>By Subject</li></ul><p>That will define the condition of the filter automatically for you. You will still have to configure the rest of the filter, but this step automates a portion of the creation.</p><p>Now let&#8217;s take a look at the full creation of a filter by doing things the hard way. I shouldn&#8217;t scare you off by saying &#8220;hard way&#8221;&#8230;it&#8217;s not really that difficult.</p><p><strong>Filter from scratch</strong></p><div
id="attachment_14247" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/07/claws_filtering.png"><img
class="size-medium wp-image-14247" src="http://www.ghacks.net/wp-content/uploads/2009/07/claws_filtering-500x448.png" alt="Figure 1" width="300" height="269" /></a><p
class="wp-caption-text">Figure 1</p></div><p>When you go to the Configuration menu you will see the Filtering entry. Click that to open up the Filters window (see Figure 1).</p><p>As you can see, for the most part, creating a filter is simple. The only aspect that might not be as user-friendly as you are used to is the Conditions and Actions. For these what you have to do is is click the associated Define buttons.  When you do this you will configure the specifics of either the conditions or the action of the filter. Let&#8217;s take a look at configuring the conditions of a filter. Click the Define button associated with the Conditions. When you do this a new window will open up.</p><div
id="attachment_14249" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/07/claws_filter_condition.png"><img
class="size-medium wp-image-14249" src="http://www.ghacks.net/wp-content/uploads/2009/07/claws_filter_condition-500x365.png" alt="Figure 2" width="300" height="219" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Figure 2 shows a condition already created. What you can not see, from the image, are the included options in the drop down lists. With different types of filters you will have different drop down lists available. The different types of criteria you can select include: Header, Age, Phrase, Flag, Color lables, etc. Say you select the Header from Match Criteria. When you do you can then select:</p><p>Name: From this drop down you can then select such familiar items as To, From, Reply To, etc.</p><p>Header: This is where you decide if your header Contains or Doesn&#8217;t Contain. Basically this is a positive or negative match.</p><p>Once you have your condition rule set you then click the Add button. If you want you can then create more rules for this one condition. Each condition can have multiple rules and you can move the rules up or down in the chain of command. You can also configure if the rule must meet all or at least one of the rules.</p><div
id="attachment_14250" class="wp-caption alignleft" style="width: 304px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/07/claws_action.png"><img
class="size-full wp-image-14250" src="http://www.ghacks.net/wp-content/uploads/2009/07/claws_action.png" alt="Figure 3" width="294" height="224" /></a><p
class="wp-caption-text">Figure 3</p></div><p>When you are finished with your Condution click OK and it is set. You are now ready to define your Action. Click the Define button associated with Action which will open up a new window (see Figure 3).</p><p>This is the easier portion of the setup. What you do is select what action you want to take from the Action dropdown and then select the associated sub-action. The associated action will depend upon which Action you choose. For instance, if you select to Move the mail you will then have to select the Destination folder. If you want to flag the message you will have to select how you want it flagged.</p><p>Once you have completed this section click OK. Now, before you finalize the new Filter you have to click the Add button in the main window. If you do not do this your newly created filter is not saved. You will get a warning if you try and then click the Continue Editing and then click the Add button.</p><p>Your filter is complete. You can test this by click the Tools menu and selecting Filter All Messages in Folder. If your folder is set up correctly you will see the changes made instantly.</p><p><strong>Final thoughts</strong></p><p>Claws Mail filtering is a very powerful tool that will allow you to create very helpful filters to keep your Claws Mail organized and free from unwanted email.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/07/10/create-message-filters-in-claws-mail/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
