<?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>systemBash &#187; Email</title>
	<atom:link href="http://systembash.com/tags/system-administration/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://systembash.com</link>
	<description>Technology and System Administration</description>
	<lastBuildDate>Sat, 27 Feb 2010 02:12:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://systembash.com/?pushpress=hub'/>
		<item>
		<title>Social Media and the Downfall of the Password Reset Question</title>
		<link>http://systembash.com/content/social-media-and-the-downfall-of-the-password-reset-question/</link>
		<comments>http://systembash.com/content/social-media-and-the-downfall-of-the-password-reset-question/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:04:14 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[accounts]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=416</guid>
		<description><![CDATA[There have been a number of high profile account compromises due to the insecurity of password reset questions. Examples of two big ones off the top of my head are Sarah Palin Yahoo account compromise and the Twitter &#8220;Hacker Croll&#8221; fiasco. There have been many more compromises on accounts due to weaknesses in password reset questions, even [...]]]></description>
			<content:encoded><![CDATA[<p>There have been a number of high profile account compromises due to the insecurity of password reset questions. Examples of two big ones off the top of my head are <a href="http://www.computerworld.com/s/article/9116606/Tenn._student_indicted_for_hacking_Palin_s_e_mail">Sarah Palin Yahoo account</a> compromise and the <a href="http://www.crn.com/security/218501441">Twitter &#8220;Hacker Croll&#8221;</a> fiasco. There have been many more compromises on accounts due to weaknesses in password reset questions, even if they are rarely as publicized in the main stream media like the previous two. The attacks are basically the same &#8211; primary e-mail accounts are typically secured by password, and the password can be changed by entering an answer to a password reset question.</p>
<p>Both of these account compromises were caused by weak password reset questions. And although Palin certainly was/is a high profile account, the Twitter compromise was caused by a low-profile IT Administrator who happened to store sensitive company documents in their Google Docs folder. This goes to show that everyone, from the CEO of a large company, to a low-level system administrator, is accountable for the security of their accounts.</p>
<p><strong>Sample (bad) Password Reset Questions:</strong></p>
<p><strong><span style="font-weight: normal;">Many e-mail accounts use a typical range of password reset questions:</span></strong></p>
<ul>
<li>What is your mother&#8217;s maiden name?</li>
<li>What was your first pet&#8217;s name?</li>
<li>What is your favorite sport?</li>
<li>What is your oldest daughter&#8217;s name?</li>
<li><a href="http://www.goodsecurityquestions.com/examples.htm">More Questions</a></li>
</ul>
<p>Even questions regarded as &#8220;Good&#8221; on this list are easily guessable if you have access to the social networks of an individual. For example: What is the middle name of your youngest child? What is your oldest sibling&#8217;s middle name? Answers to these questions often appear on Facebook or other social media websites.</p>
<p>After coming up with the idea to write this article, I took a look at my own email account password reset question. It was set to my Father&#8217;s middle name. I had probably set this when I first signed up for a  beta account back in 2005 or so &#8211; I was not in the mindset that it would become my primary account and also be the gateway to a bevy of information. As with many folks, when I sign up for a new account on a website, it will often e-mail me my account information (including my password, boo!) to my e-mail account. And, as I suspect with most people, I do not follow best practices and use a different password for each account. Not to mention that many other accounts will send an email to your account on file in order to reset their passwords. Therefore, since not only the main account password at risk, there is a lot riding on the security of your email account. If someone can gain access to your email account, they also gain access to a lot of frequently used passwords and accounts. Domain hijacking has occurred using this method.</p>
<h3>The Solution</h3>
<p>The first step is that password reset questions must not be answerable by information available via social networking sites. For someone who is very active in social networking, this might be hard to come up with at first, but really is not hard.</p>
<p><strong>A good password reset question is:</strong><br />
Not easily guessable from online or offline sources (<strong>secure</strong>)<br />
Stays the same over a long period of time (<strong>stable</strong>)<br />
Is readily recallable by authoritative person (<strong>obtainable</strong>)<br />
Has only one answer (<strong>definitive</strong>)</p>
<p>My source for questions that satisfy these metrics is my wallet. I look for cards that have information that will stay the same for a long period of time, for example, a driver&#8217;s license, library card or other membership card.</p>
<p>You can then reset your password question to a value on those cards. If the site does not let you ask your own password reset question, you might try to replace a common one, such as &#8220;mother&#8217;s maiden name&#8221; with this. Just be careful you don&#8217;t get too tricky, or you might forget the correct question/response to the answer and lose access to your account for good.</p>
<p>For a sample answer, you might use the first 5 digits of your driver&#8217;s license ID, plus the last 6 of your gym membership card. Really you can use any information that you want that you do not share on social media websites.  Just make sure they follow the four guidelines above.</p>
<p>Do you have any tips for a good password reset question?</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/social-media-and-the-downfall-of-the-password-reset-question/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add IP to whitelist for Postini Mail Filtering</title>
		<link>http://systembash.com/content/add-ip-to-whitelist-for-postini-mail-filtering/</link>
		<comments>http://systembash.com/content/add-ip-to-whitelist-for-postini-mail-filtering/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 14:04:07 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[postini]]></category>
		<category><![CDATA[white list]]></category>
		<category><![CDATA[whitelist]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=350</guid>
		<description><![CDATA[I could not find any way to see how you could add an IP address as a &#8216;white list&#8217; for our Postini installation. Mails coming from our mailing list manager kept getting caught in the Postini spam interface (which is probably a whole other issue, which I will need to address later).
To get Postini to [...]]]></description>
			<content:encoded><![CDATA[<p>I could not find any way to see how you could add an IP address as a &#8216;white list&#8217; for our Postini installation. Mails coming from our mailing list manager kept getting caught in the Postini spam interface (which is probably a whole other issue, which I will need to address later).</p>
<p>To get Postini to white list an IP address, you need to go into the Batch editing mode and issue this command:</p>
<pre>addallowedip organization name,domain.com:10.0.0.0</pre>
<p><a href="http://www.postini.com/webdocs/batch/reference/batch_reference.pdf">Full Postini Batch Reference</a></p>
<p>See page 30 for &#8216;addallowedip&#8217; syntax and more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/add-ip-to-whitelist-for-postini-mail-filtering/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Outlook 2003 or 2007 Won&#8217;t Save Hosted Exchange Password</title>
		<link>http://systembash.com/content/outlook-20032007-wont-save-hosted-exchange-password/</link>
		<comments>http://systembash.com/content/outlook-20032007-wont-save-hosted-exchange-password/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 13:04:08 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Other Code]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[hosted exchange]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=222</guid>
		<description><![CDATA[For many people using hosted Exchange services, password saving problems could plague you. That is mainly because Outlook doesn&#8217;t like it if the Exchange server&#8217;s domain doesn&#8217;t match your domain.
Fortunately there is a way around this, because by the default way it is set up, you would have to enter your password every time you [...]]]></description>
			<content:encoded><![CDATA[<p>For many people using hosted Exchange services, password saving problems could plague you. That is mainly because Outlook doesn&#8217;t like it if the Exchange server&#8217;s domain doesn&#8217;t match your domain.</p>
<p>Fortunately there is a way around this, because by the default way it is set up, you would have to enter your password every time you open up Outlook.</p>
<p>First step is to change the registry key:</p>
<p><code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa</code></p>
<p><strong>Change lmcompatibilitylevel to &#8220;2&#8243;</strong></p>
<p>Here is the meanings of these numbers (<a href="http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/76052.mspx?mfr=true">source</a>):</p>
<blockquote><p>0 &#8211; Clients use LM and NTLM authentication, but they never use NTLMv2 session security. Domain controllers accept LM, NTLM, and NTLMv2 authentication.<br />
1 &#8211; Clients use LM and NTLM authentication, and they use NTLMv2 session security if the server supports it. Domain controllers accept LM, NTLM, and NTLMv2 authentication.<br />
2 &#8211; Clients use only NTLM authentication, and they use NTLMv2 session security if the server supports it. Domain controller accepts LM, NTLM, and NTLMv2 authentication.<br />
3 &#8211; Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controllers accept LM, NTLM, and NTLMv2 authentication.<br />
4 &#8211; Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controller refuses LM authentication responses, but it accepts NTLM and NTLMv2.<br />
5 &#8211; Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controller refuses LM and NTLM authentication responses, but it accepts NTLMv2.</p></blockquote>
<p>I&#8217;ve uploaded a registry file which will automatically make the change <a href="http://systembash.com/scripts/lmcompatibilitylevel.reg">here</a>.</p>
<p>You then need to access the advanced user dialog properties (see <a href="http://systembash.com/content/windows-xp-save-passwords-advanced-user-dialog/">my previous article</a> on this if you do not see a tab in Control Panel -&gt; Users &amp; Accounts dialog). <strong>Click &#8220;Manage Passwords&#8221; and then add a new entry</strong>. This entry should be the Exchange server&#8217;s real name &#8211; the name that pops up in your password prompt windows. In my example, in is MAILXXX.mail.lan.</p>
<p><center><img class="size-full wp-image-224" title="Save Password Dialog" src="http://systembash.com/wp-content/uploads/2008/09/savepasswds.jpg" alt="Advanced User Dialog Save Passwords" width="341" height="309" /></center></p>
<p>Finally, <strong>make sure that the Exchange server&#8217;s local name, MAILXXX.mail.lan, is in your hosts file</strong>. For most Windows XP folks, this is C:\WINDOWS\system32\drivers\etc\hosts.</p>
<p>The format is:</p>
<p><code>69.x.x.x MAILXXX.mail.lan</code></p>
<p>where the real accessible IP address is the first part, and the real Exchange server name is the section part. This allows your PC to locate the &#8220;Real&#8221; Exchange server name over the internet, even though it is not a real exchange server&#8217;s hostname on the internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/outlook-20032007-wont-save-hosted-exchange-password/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Lyris Listmanager &#8211; Hacking the Web Frontend For Increased Functionality</title>
		<link>http://systembash.com/content/lyris-listmanager-hacking-the-web-frontend-for-increased-functionality/</link>
		<comments>http://systembash.com/content/lyris-listmanager-hacking-the-web-frontend-for-increased-functionality/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 14:27:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[TCL]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Frontend For Increased Functionality Lyris]]></category>

		<guid isPermaLink="false">http://systembash.com/content/lyris-listmanager-hacking-the-web-frontend-for-increased-functionality/</guid>
		<description><![CDATA[Lyris Listmanager is a nice mailing list management system. However, there are a few features that are missing out of the frontend that make it hard to get by your day-to-day office job. Fortunately, most of it is written with TCL routines which are not encoded, which makes for easy updates to this code. 
Of [...]]]></description>
			<content:encoded><![CDATA[<p>Lyris Listmanager is a nice mailing list management system. However, there are a few features that are missing out of the frontend that make it hard to get by your day-to-day office job. Fortunately, most of it is written with TCL routines which are not encoded, which makes for easy updates to this code. </p>
<p>Of course this is not supported by Lyris and if you have problems with it after making your changes, don&#8217;t expect them to support it. Make backup of your files &#8211; in Linux this is /usr/local/lm</p>
<p>For this example, I&#8217;m going to add the Full Name field to survey results. By default, it shows the email address but not the name of the responding user.</p>
<h2>Step 1:</h2>
<p>Backup!</p>
<p><code>cp -R /usr/local/lm /usr/local/lm.bak</code></p>
<h2>Step 2:</h2>
<p>Open the file which holds the routine for the &#8220;Survey Details&#8221; page. This is in <lyris install location>/htdocs/reports/surveys/.tml</p>
<p><code>vi /usr/local/lm/htdocs/reports/surveys/.tml</code></p>
<h2>Step 3:</h2>
<p>Modify the code to add in FullName:</p>
<p>In the routine surveyreports::page_all_answers</p>
<p>Change<br />
<code>set sql "SELECT lyrSurveyResponse.WebDocID, lyrSurveyResponseAnswers.ResponseID as ResponseID, lyrSurveyQuestions.UserQuestionNumber, lyrSurveyResponse.ResponseTime, lyrSurveyResponse.MemberID, lyrSurveyResponse.RespondingIP, lyrSurveyResponse.MailingID, lyrSurveyQuestions.QuestionText, lyrSurveyAnswers.AnswerText, lyrSurveyResponseAnswers.FreeFormAnswer, [dbinfo::members_name].[dbinfo::members_emailaddr]</p>
<p>to</p>
<p>set sql "SELECT lyrSurveyResponse.WebDocID, lyrSurveyResponseAnswers.ResponseID as ResponseID, lyrSurveyQuestions.UserQuestionNumber, lyrSurveyResponse.ResponseTime, lyrSurveyResponse.MemberID, lyrSurveyResponse.RespondingIP, lyrSurveyResponse.MailingID, lyrSurveyQuestions.QuestionText, lyrSurveyAnswers.AnswerText, lyrSurveyResponseAnswers.FreeFormAnswer, [dbinfo::members_name].[dbinfo::members_emailaddr] as EmailAddr, members_.fullname_ as FullName<br />
</code></p>
<p>Change</p>
<p><code>array set heading_labels "AnswerText {Answer} ResponseTime {Date} QuestionText {Question} EmailAddr {Email Address}"</p>
<p>to</p>
<p>array set heading_labels "AnswerText {Answer} ResponseTime {Date} QuestionText {Question} FullName {Full Name} EmailAddr {Email Address}"</code></p>
<p>Change </p>
<p><code>array set column_width "ResponseTime 15 QuestionText 25 AnswerText 25 EmailAddr 25 Action_ 10"</p>
<p>to</p>
<p>array set column_width "ResponseTime 15 QuestionText 25 AnswerText 10 FullName 15 EmailAddr 25 Action_ 10"</code></p>
<p>Change </p>
<p><code>set sortable {QuestionText AnswerText ResponseTime EmailAddr RespondingIP}</p>
<p>to</p>
<p>set sortable {QuestionText AnswerText ResponseTime FullName EmailAddr RespondingIP}</code></p>
<p>Save this file and that is it! You will now have full names in your survey responses.</p>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/Listmanager" rel="tag">Listmanager</a>, <a href="http://technorati.com/tag/TCL" rel="tag">TCL</a>, <a href="http://technorati.com/tag/Lyris" rel="tag">Lyris</a></div>]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/lyris-listmanager-hacking-the-web-frontend-for-increased-functionality/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove Duplicate Email Messages in Thunderbird 2.x</title>
		<link>http://systembash.com/content/remove-duplicate-email-messages-in-thunderbird-2x/</link>
		<comments>http://systembash.com/content/remove-duplicate-email-messages-in-thunderbird-2x/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 03:30:47 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[mail server]]></category>

		<guid isPermaLink="false">http://systembash.com/content/remove-duplicate-email-messages-in-thunderbird-2x/</guid>
		<description><![CDATA[I used to use a Thunderbird addon to remove duplicate messages in Thunderbird. This is handy if your mail client becomes &#8220;de synced&#8221; from your mail server, whether it be an IMAP or POP3 connection. Also this can occur if you restore a backup or import mails and it creates duplicates.
However, after Thunderbird 2.0 was [...]]]></description>
			<content:encoded><![CDATA[<p>I used to use a Thunderbird addon to remove duplicate messages in Thunderbird. This is handy if your mail client becomes &#8220;de synced&#8221; from your mail server, whether it be an IMAP or POP3 connection. Also this can occur if you restore a backup or import mails and it creates duplicates.</p>
<p>However, after Thunderbird 2.0 was released, this old plugin was not compatible. <em>Eyalroz</em> re-released the plugin under GPL and with updates for Thunderbird 2.0. If you have a need to remove duplicate emails &#8211; this is the plugin you need! Get it:</p>
<p><center><a href="https://addons.mozilla.org/en-US/thunderbird/addon/4654">Remove Duplicate Messages (alternate)</a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/remove-duplicate-email-messages-in-thunderbird-2x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Postfix queue tools</title>
		<link>http://systembash.com/content/postfix-queue-tools/</link>
		<comments>http://systembash.com/content/postfix-queue-tools/#comments</comments>
		<pubDate>Fri, 12 Jan 2007 16:32:08 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[destination mail server]]></category>
		<category><![CDATA[open source software]]></category>
		<category><![CDATA[relay server]]></category>

		<guid isPermaLink="false">http://systembash.com/content/postfix-queue-tools/</guid>
		<description><![CDATA[Here are a few handy items for Postfix email server users:
1. If your system is acting as a spam / antivirus / relay server for secondary internal servers, and your destination mail server is down, postfix will queue your messages to resend at a later time. In order for postfix to instantly re-queue these messages [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few handy items for Postfix email server users:</p>
<p>1. If your system is acting as a spam / antivirus / relay server for secondary internal servers, and your destination mail server is down, postfix will queue your messages to resend at a later time. In order for postfix to instantly re-queue these messages you use:</p>
<p><code>postqueue -f</code></p>
<p>2. The mailq equivilant specific to postfix is </p>
<p><code>postqueue -p</code></p>
<p>3. If you want to delete specific messages in your queue, use an ncurses based open source software called <a href="http://pfqueue.sourceforge.net/">pfqueue</a>. It will give you a menu that shows mail currently queued, and allows you to delete specific emails.</p>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/Postfix" rel="tag">Postfix</a>, <a href="http://technorati.com/tag/email" rel="tag">email</a></div>]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/postfix-queue-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SMTP Errors &#8211; 550 vs 450</title>
		<link>http://systembash.com/content/450-vs-550-smtp-errors/</link>
		<comments>http://systembash.com/content/450-vs-550-smtp-errors/#comments</comments>
		<pubDate>Wed, 20 Dec 2006 16:52:39 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[e-mail server]]></category>
		<category><![CDATA[remote server]]></category>

		<guid isPermaLink="false">http://systembash.com/content/450-vs-550-smtp-errors/</guid>
		<description><![CDATA[Well I got a lesson in properly configuring your e-mail server&#8217;s error messages. Since setting up postfix as a anti-spam and anti-virus gateway for my exchange system (see my article Postfix as proxy to exchange server), I had left the option
soft_bounce = yes 
enabled in my postfix configuration. 
This worked fine for months. However, I [...]]]></description>
			<content:encoded><![CDATA[<p>Well I got a lesson in properly configuring your e-mail server&#8217;s error messages. Since setting up postfix as a anti-spam and anti-virus gateway for my exchange system (see my article <a href="/content/postfix-exchange-users-relay/">Postfix as proxy to exchange server</a>), I had left the option<br />
<code>soft_bounce = yes </code><br />
enabled in my postfix configuration. </p>
<p>This worked fine for months. However, I was then &#8220;<a href="http://en.wikipedia.org/wiki/Joe_job">joe jobbed</a>&#8221; &#8211; which means that some spammer used my domain name as the &#8220;from&#8221; or &#8220;reply to&#8221; address on their e-mails. This causes a flood of e-mails from mail servers, which messages such as, no user exists, this account has been deleted, etc. These e-mails are completely valid and authentic responses from e-mail servers.</p>
<p>Now &#8211; it is my personal opinion that mail servers should reject connections to users who are not real &#8211; not generate more messages and bandwidth sending out their rejection response. But I understand why some e-mail providers wish to keep this option on, and I think Exchange has it on by default. So trying to change peoples minds is not going to work &#8211; we need to deal with these rejection messages responsibly. </p>
<p>Here is where my server configuration showed its flaws. Here is the official definition of the 450 and 550 error messages:</p>
<p><code>450 Requested mail action not taken: mailbox unavailable (e.g., mailbox busy)<br />
550 Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)</code></p>
<p>The difference between the two error codes is not really apparent at first glance. However, 400 level commands tells the remote servers that there is a temporary error, and it should try again later. How much later depends on each server&#8217;s settings. The 500 level commands tell the remote server that it is a permanent failure, and it should not try again later. </p>
<p>In the case of a joe job &#8211; you have thousands of servers responding to your server that addresses can&#8217;t be found (or any other error). When you have each of those servers &#8220;retrying&#8221; their e-mail connects every 10 minutes or so, your server will quickly find itself rejecting a whole lot of messages. </p>
<p>Fortunately, the fix is easy. Fix your server to respond with a 550 instead of 450. Look at the change in the graph below &#8211; almost immediately after I switched to the 550 message:</p>
<p><img src="http://systembash.com/wp-content/uploads/2006/12/450vs550.png" alt="SMTP 450 vs 550 rejection rate" width=490/></p>
<p>You can see the benefits of keeping the 550 message. In postfix, the change is simple, change the soft_bounce line to:</p>
<p><code>soft_bounce = no</code></p>
<p>You can also customize your rejection codes for particular errors as below.</p>
<p><code>unknown_local_recipient_reject_code = 550<br />
unknown_address_reject_code = 550<br />
unknown_client_reject_code = 550<br />
unknown_hostname_reject_code = 550<br />
unknown_relay_recipient_reject_code = 550<br />
unknown_virtual_alias_reject_code = 550<br />
unknown_virtual_mailbox_reject_code = 550<br />
unverified_recipient_reject_code = 550<br />
unverified_sender_reject_code = 550</code></p>
<p>For more codes: <a href="http://www.postfix.org/postconf.5.html">Postconf manual</a></p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/450-vs-550-smtp-errors/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Thunderbird inbox opens slowly or not at all</title>
		<link>http://systembash.com/content/thunderbird-inbox-opens-slowly/</link>
		<comments>http://systembash.com/content/thunderbird-inbox-opens-slowly/#comments</comments>
		<pubDate>Sat, 28 Oct 2006 17:22:37 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Programs]]></category>

		<guid isPermaLink="false">http://systembash.com/content/thunderbird-inbox-opens-slowly/</guid>
		<description><![CDATA[If your Mozilla Thunderbird is slow to open the inbox, or any other folder for that matter, there are two things that you can do to try to fix this problem.
Step #1: The first thing is to try to compact the folder. This should help if you have a large inbox. If you can&#8217;t even [...]]]></description>
			<content:encoded><![CDATA[<p>If your Mozilla Thunderbird is <strong>slow to open the inbox</strong>, or any other folder for that matter, there are two things that you can do to try to fix this problem.</p>
<p><strong>Step #1:</strong> The first thing is to try to compact the folder. This should help if you have a large inbox. If you can&#8217;t even get to this step, or if it is just too slow, try step #2. </p>
<p><strong>Step #2:</strong> The .msf &#8220;index&#8221; file is corrupted. If this file gets corrupted, you could see a slow initial loading of your inbox, messages will not open, you can not delete messages, etc. You may also see a message in the status windows when you open Thunderbird that says something about rebuilting index. The solution to this is to first close out of Thunderbird, then delete the inbox.msf file. If this is for a different folder name, you will see &#8220;folder name.msf&#8221; file corresponding to that folder. This file is located in your <strong>profile directory</strong>. For me this was: &#8220;C:\Documents and Settings\Dave\Application Data\Thunderbird\Profiles\default\svxnp81c.slt\Mail\systembash.com&#8221;<br />
But this varies because of the random profile string and your account profile name.<br />
Delete this file. <strong>Make sure you leave the real inbox file alone</strong> &#8211; this is a file that is named &#8220;inbox&#8221; (or your folder name) without a file extension.</p>
<p>Re-open Thunderbird &#8211; the index will automatically be rebuilt and you should now have normal access to your inbox!</p>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/Mozilla+Thunderbird" rel="tag">Mozilla Thunderbird</a>, <a href="http://technorati.com/tag/Thunderbird" rel="tag">Thunderbird</a></div>]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/thunderbird-inbox-opens-slowly/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clearing spamassassin BAYES filter tokens</title>
		<link>http://systembash.com/content/clear-spamassassin-bayes-tokens/</link>
		<comments>http://systembash.com/content/clear-spamassassin-bayes-tokens/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 03:49:49 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[spamd server]]></category>

		<guid isPermaLink="false">http://systembash.com/content/clear-spamassassin-bayes-tokens/</guid>
		<description><![CDATA[I recently had a problem where my Spamassassin install started thinking that a lot of spam messages were really ham (non-spam). Since these were getting BAYES_00 scores of -2.5 they were almost all getting through my spam filter. These particular messages all were regarding STOCK quotes and were pretty obviously spam just by looking at [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a problem where my <a href="http://spamassassin.apache.org/">Spamassassin</a> install started thinking that a lot of spam messages were really ham (non-spam). Since these were getting BAYES_00 scores of -2.5 they were almost all getting through my spam filter. These particular messages all were regarding STOCK quotes and were pretty obviously spam just by looking at the text of the messages. Somehow my Spamassassin install thought that they were not spam because the messages were being passed as ham by the Bayesian filter.  Since they kept getting past, the bayesian filter kept learning them as HAM. </p>
<p>In order to break this vicious cycle, you just need to clear out the bayesian tokens. It&#8217;s very easy to do. As root user, type:<br />
<code>sa-learn --clear</code><br />
This starts you fresh. By default, Spamassassin won&#8217;t use the bayes filter until it has 200 spam and ham messages, so until you get to that level it will continue to learn based the other Spamassassin detection settings.</p>
<p>Ideally, I would have sa-learn train using these spam messages. But since I use Outlook, and there is no &#8220;easy&#8221; way to have it interface with sa-learn, I find it easier to clean out the bayes tokens every once in a while. <a href="http://sourceforge.net/projects/soc2006spamd/">SpamAssassin Coach</a> is a plugin for outlook which should connect to your spamd server and &#8220;learn&#8221; a message as ham or spam. But in practice, it did not work for me. It looks like the project has a lot of potential.</p>
<p>For more information on how Bayesian filtering works, check out <a href="http://en.wikipedia.org/wiki/Bayesian_filtering">this wikipedia article</a>. </p>
<div class="simpletags">Technorati Tags: <a href="http://technorati.com/tag/Spamassassin" rel="tag">Spamassassin</a>, <a href="http://technorati.com/tag/spam" rel="tag">spam</a>, <a href="http://technorati.com/tag/bayesian" rel="tag">bayesian</a></div>]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/clear-spamassassin-bayes-tokens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix as a proxy to Exchange server</title>
		<link>http://systembash.com/content/postfix-exchange-users-relay/</link>
		<comments>http://systembash.com/content/postfix-exchange-users-relay/#comments</comments>
		<pubDate>Mon, 02 Oct 2006 19:11:55 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Chris Covington]]></category>
		<category><![CDATA[exchange server postfix server]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[open source mail server]]></category>

		<guid isPermaLink="false">http://systembash.com/content/postfix-exchange-users-relay/</guid>
		<description><![CDATA[More and more people seem to be using an open source mail server on linux, such as Postfix, to proxy e-mails coming in from the net and relaying them to their exchange server. I know I&#8217;ve had this type of setup since January and it has been working really well for me. It gives you [...]]]></description>
			<content:encoded><![CDATA[<p>More and more people seem to be using an open source mail server on linux, such as <a href="http://www.postfix.org/">Postfix</a>, to proxy e-mails coming in from the net and relaying them to their exchange server. I know I&#8217;ve had this type of setup since January and it has been working really well for me. It gives you the ability to do advanced spam and antivirus filtering on messages, while keeping the easy to use GUI interface for creating exchange mailboxes.  When will we get a great e-mail client so we can finally ditch the Exchange/Outlook setup that most businesses rely on? I know I haven&#8217;t found a solution that comes close (I&#8217;m sorry, <a href="http://shellter.sourceforge.net/evolution/">Evolution for Win32</a> needs to come a bit further, and Thunderbird isn&#8217;t even close).</p>
<p>Anyway, once you have this system set up (there are some great instructions <a href="http://wilsonet.com/mailfilter/">here</a>, maybe I will cover this more another day), you may wish to sync up your Exchange users with your postfix &#8220;relay users&#8221; in order to trash messages coming in who are not addressed to anyone on the Exchange server. This will free up CPU cycles on the exchange server postfix server, and also reduce some bandwidth. Fortunately, Exchange 2000 and beyond use LDAP to publish this information. You can use Perl&#8217;s <a href="http://search.cpan.org/~gbarr/perl-ldap-0.33/">Net::LDAP</a> module to grab this information. Chris Covington put together this <a href="http://www-personal.umich.edu/~malth/gaptuning/postfix/">nice script</a> to grab the Exchange users and post to a file, which can then be postmapped and used in relay_recipient_maps. I hope you find it as useful as I did! [<a href="http://systembash.com/scripts/getadsmtp.txt">Local Mirror of the Script</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/postfix-exchange-users-relay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
