<?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>Nirlog.com &#187; Email</title>
	<atom:link href="http://nirlog.com/category/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://nirlog.com</link>
	<description>Technology, Life and other stuff that come along...</description>
	<lastBuildDate>Sat, 21 Nov 2009 01:55:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Email Problem and Solutions</title>
		<link>http://nirlog.com/2007/04/10/the-email-problem-and-solutions/</link>
		<comments>http://nirlog.com/2007/04/10/the-email-problem-and-solutions/#comments</comments>
		<pubDate>Tue, 10 Apr 2007 06:36:21 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/04/10/the-email-problem-and-solutions/</guid>
		<description><![CDATA[Today it&#8217;s impossible to think business and personal communications without email. Sending and receiving emails costs you and me nothing. It&#8217;s free! The zero cost (for users), the efficiency of delivery, and ease of use has made it so popular. But now email has become a victim of it&#8217;s own success. Just my quick test [...]]]></description>
			<content:encoded><![CDATA[<p>Today it&#8217;s impossible to think business and personal communications without email. Sending and receiving emails costs you and me nothing. It&#8217;s free! The zero cost (for users), the efficiency of delivery, and ease of use has made it so popular. But now email has become a victim of it&#8217;s own success. Just my quick test with one email server for 4 days showed that <a href="http://securitytnt.com/how-much-spam-and-virus-does-my-mail-server-receive/">96% of the emails received were abusive</a>.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/03/circle-of-spam.png" height="229" width="300" border="1" hspace="4" vspace="4" alt="Circle-Of-Spam" /></p>
<p>The email protocol (SMTP) was designed at a time when very few people were using emails and everyone basically knew each other. So, security was not a concern, but today the world has changed and that trust isn&#8217;t there anymore, but the SMTP protocol we&#8217;re using remains the same.</p>
<p>So, how is today&#8217;s technology dealing with this problem?</p>
<p><span id="more-244"></span><br />
<strong>If it comes to your Inbox it&#8217;s your problem</strong></p>
<p>This is the approach taken by most of the ISPs and small companies who cannot afford the cost of extra security or simply think that it&#8217;s end users problem. So, you and I receive emails with viruses, spams and phishing traps. We&#8217;re on our own to decide what to do with them. This approach has proven to be the most ineffective (since most users aren&#8217;t aware of the security issues). It has damaged corporate images, caused loss in productivity, money and business. If the users need to fight email problems at this level, then getting a good email client or third-party softwares is the best option. Some of the end user solutions available in the market are:</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/03/mail-thunderbird.jpg" height="140" width="270" border="1" hspace="4" vspace="4" alt="Mail-Thunderbird" /></p>
<p><a href="http://www.apple.com/macosx/features/mail/">Apple Mail</a> &#8211; Mac users have one of the best email client, with pretty good built-in spam filter. It can learn for over a period of time and can be quite effective in identifying spams. It has additional options to identify spams,  for example, if your ISP uses SpamAssassin, Brightmail or another spam-analysis tool, Mail leverages that analysis.</p>
<p><a href="http://www.mozilla.com/en-US/thunderbird/">Thunderbird</a> &#8211; It&#8217;s a cross platform email client form Mozilla, with a built-in junk mail filter. It also has a learning capability, as you keep marking messages as spam, over time thunderbird&#8217;s filtering improves. Thunderbird also has anti-phishing protection that will tell you if it thinks the message might be a scam to steal your passwords, personal information, credit cards, etc&#8230;</p>
<p>There are some desktop anti-spam softwares that can be installed as plugin to the email client:<br />
<a href="http://www.trendmicro.com/en/products/desktop/anti-spam/evaluate/overview.htm">Trend Micro Anti-Spam Pilot</a> &#8211; Free plugin to Outlook provided by Trend Micro.<br />
<a href="http://www.comodoantispam.com/">Comodo Anti-Spam Desktop 2005</a> &#8211; Free anti-spam for Windows PC, supports popular email clients.</p>
<p>If you&#8217;re using a Windows PC then I think it&#8217;s obvious that you need an anti-virus software too. Some popular anti-viruses are Norton, McAfee and Trend-Micro. If you&#8217;re looking for a free one then get <a href="http://free.grisoft.com/doc/avg-anti-virus-free/lng/us/tpl/v5">AVG Anti-Virus Free</a>.</p>
<p><strong>Stop it before it reaches to users Inbox</strong></p>
<p>This is also called a gateway solution, where the incoming/outgoing emails are routed via email filters before delivering to the users Inbox. This has proven to be the most effective solution available today, but it&#8217;s by no means a 100% solution. Some new viruses, spams and phising emails do manage to bypass the filter. Here are different types of gateway solutions available:</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/03/postini1.jpg" height="208" width="400" border="1" hspace="4" vspace="4" alt="Postini1" /></p>
<p><a href="http://spamassassin.apache.org/">Spamassassin</a> &#8211; Very popular free mail scanner software, which works with most of the widely deployed email servers like Sendmail, Postfix, Qmail and many more. It uses a wide variety of local and network tests to identify spam signatures.</p>
<p><a href="http://www.ironport.com/products/email_security_appliances.html">Ironport</a>, <a href="http://www.barracudanetworks.com/ns/products/spam_overview.php">Barracuda</a>, <a href="http://www.sophos.com/products/es/email/es4000/">Sophos</a>, <a href="http://www.mcafee.com/us/enterprise/products/anti_spam/secure_messaging_gateway.html">Mcafee</a>, <a href="http://www.symantec.com/enterprise/products/overview.jsp?pcid=1013&amp;pvid=1721_1">Symantec</a> and many others&#8230; &#8211; They all provide a single box gateway solution to fight virus and spam. These email security appliances are relatively easy to implement in the existing email environment. They run special softwares and signatures are updated constantly. All you need to do is perform a simple configuration and point the MX record to these appliances.</p>
<p><a href="http://www.messagelabs.com/">Messagelabs</a> and <a href="http://www.postini.com/">Postini</a> &#8211; These are hosted gateway solutions to solve the email problem. The selling point of such service has been &#8220;no initial hardware and software investment&#8221; from the customers. It works similar to the Security appliance scenario, you have to point your MX record to these providers SMTP servers, where the emails will be filtered and only good emails allowed to reach your mail server.</p>
<p>Most of the popular free webmail providers such as <a href="http://www.gmail.com/">Gmail</a>, <a href="http://mail.yahoo.com/">Yahoo</a> and <a href="http://www.hotmail.com/">Hotmail</a> use gateway solutions that is tightly integrated with the user&#8217;s web interface.</p>
<p><strong>Let&#8217;s patch the email system</strong></p>
<p>This is indeed a very smart solution, which requires some minor addition/modifications in DNS and SMTP server, but the problem is the scale in which emails are deployed today. It&#8217;s proving almost impossible to ask all the email server and domain name owners to make such a small change. Here are some popular extensions proposed to fix the SMTP protocol.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/03/Email_Authentication.png" height="85" width="420" border="1" hspace="4" vspace="4" alt="Email Authentication" /></p>
<p><a href="http://www.openspf.org/">Sender Policy Framework</a> (SPF) &#8211; SPF is an extension to the SMTP protocol, which allows to identify and reject emails from forged addresses. This is how it works: &#8221; 1) the domain owner publishes this information in an SPF record in the domain&#8217;s DNS zone, and when someone else&#8217;s mail server receives a message claiming to come from that domain, then (2) the receiving server can check whether the message complies with the domain&#8217;s stated policy. If, e.g., the message comes from an unknown server, it can be considered a fake.&#8221;</p>
<p><a href="http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx">Sender ID</a> &#8211; This is Micorsoft&#8217;s protocol, and it was derived from SPF.  &#8220;The Sender ID Framework is an e-mail authentication technology protocol that helps address the problem of spoofing and phishing by verifying the domain name from which e-mail is sent. Sender ID validates the origin of e-mail by verifying the IP address of the sender against the purported owner of the sending domain.&#8221;</p>
<p><a href="http://www.dkim.org/">DKIM</a> (DomainKeys Identified Mail) &#8211; DKIM is a method for email authentication using signatures, this is an enhanced  protocol based on Yahoo&#8217;s <a href="http://antispam.yahoo.com/domainkeys">DomainKeys</a>. The sender&#8217;s MTA signs and receiver&#8217;s MTA verifies. &#8220;DKIM uses DNS-based self-certified keys. Because the scope of DKIM is limited, it does not need generalized, powerful and long-term certificates, issued by separate authorities.&#8221;</p>
<p><a href="http://mipassoc.org/csv/draft-ietf-marid-csv-csa-02.html">CSA</a> (Client SMTP Authorization) and <a href="http://en.wikipedia.org/wiki/Certified_Server_Validation">CSV</a> (Certified Server Validation) are some other solutions proposed to solve the email problem.</p>
<p><strong>Forget about the existing email system and let&#8217;s design a new one</strong></p>
<p>This is the approach taken by some experts, who think that email at it&#8217;s current state is broken and there&#8217;s no point trying to patch it. Even if you come up with a good patch it&#8217;s difficult to implement anyway. So, why not design a new email system from scratch, with the security in mind. This sounds very radical but some people did propose such ideas and demonstrated a working system:</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/03/rss-email.png" height="271" width="272" border="1" hspace="4" vspace="4" alt="Rss-Email" /></p>
<p><a href="http://cr.yp.to/im2000.html">Internet Mail 2000</a> &#8211; This is a project launched by D. J. Bernstein, the author of popular <a href="http://www.qmail.org/">Qmail</a> MTA. &#8220;IM2000 is a project to design a new Internet mail infrastructure around the following concept: Mail storage is the sender&#8217;s responsibility&#8221; . The sender&#8217;s ISP, rather than the receiver&#8217;s ISP, is the always-online post office from which the receiver picks up the message. Meng Wong&#8217;s RSS Email is the implementation of IM2000. Here&#8217;s the presentation at Google in July 2006 <a href="http://video.google.com/videoplay?docid=-985396858578246176">Turning Email Upside Down: RSS/Email and IM2000</a> (Google Video)</p>
<p><a href="http://www.infoworld.com/article/04/04/16/16FEfuturemail_1.html">Can e-mail be saved?</a> &#8211; An old article from 2004, but is interesting to see how six of the industry&#8217;s most provocative thinkers envision the future email.</p>
<p><strong>Some popular techniques used in most of the solutions</p>
<p>blacklists and whitelists</strong> &#8211; a list of email addresses, domains and ip addresses to either exclusively allow or block emails. There&#8217;re some public blacklists that are used by SMTP servers and gateways to block potential spammers. <a href="http://www.spamhaus.org/">Spamhaus</a> and <a href="http://www.de.sorbs.net/">Sorbs</a> are popular public blacklist providers.</p>
<p><a href="http://en.wikipedia.org/wiki/Bayesian_spam_filtering">Bayesian spam filtering and trainable systems</a> &#8211; based on Bayes&#8217;s theorem, &#8220;probability that an email is spam, given that it has certain words in it, is equal to the probability of finding those certain words in spam email, times the probability that any email is spam, divided by the probability of finding those words in any email&#8221;. These type of  systems can be trained on a per-user basis.</p>
<p><strong>Heuristic filtering</strong> &#8211; Heuristic filtering uses various tests for spam and assigns a numerical score to each test. Each message is scanned for these patterns, and the applicable scores tallied up. If the total is above some fixed value, the message is identified as spam.</p>
<p>Reverse DNS lookup of the connecting IP, Content filtering, Signature-based filtering (such as <a href="http://razor.sourceforge.net/">Vipul&#8217;s Razor</a>), Greylisting (temporarily reject messages from unknown sender mail servers) and enforcing RFC Standards are also used to identify spam email.</p>
<p><strong>Conclusion</strong></p>
<p>Latest anti-virus and anti-spam techniques are proving to be quite effective, but it&#8217;s not implemented in all the email servers. For the spammers only <a href="http://www.forbes.com/security/2006/12/11/spam-security-email-tech-security-cz_bs_1212spam.html">1-in-100,000 success rate</a> is enough to pay for their efforts.  As these anti-spam techniques become more effective, criminals are finding new ways to attack, and they always seem to be one step ahead of the security professionals. The recent problem with the <a href="http://www.scmagazine.com.au/news/44829,study-image-spam-levels-rocket.aspx">image spam boom</a> and <a href="http://www.messagelabs.com/publishedcontent/publish/about_us_dotcom_en/news___events/press_releases/DA_179301.html">Messagelabs Intelligence Report</a> shows that. I personally think that we need a new email protocol like IM2000 or RSS/Email but also understand, it&#8217;s very unlikely to happen anytime soon. If 96% of spam still cannot kill the current email protocol, I wonder what needs to happen to replace it&#8230;</p>
<p>This article originally appeared in <a href="http://securitytnt.com/the-email-problem-and-solutions/">SecurityTNT.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/04/10/the-email-problem-and-solutions/feed/</wfw:commentRss>
		<slash:comments>-44</slash:comments>
		</item>
		<item>
		<title>The 12 steps to cure e-mail addiction</title>
		<link>http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/</link>
		<comments>http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 04:47:10 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/</guid>
		<description><![CDATA[It has changed the way we communicate and do business, with it&#8217;s ease of use, price (free for end users), and effectiveness, e-mail has taken our productivity to a whole new level. But there&#8217;s a darker side to it. Now people are getting addicted to emails. The misuse and addiction is doing just the opposite, [...]]]></description>
			<content:encoded><![CDATA[<p>It has changed the way we communicate and do business, with it&#8217;s ease of use, price (free for end users), and effectiveness, e-mail has taken our productivity to a whole new level. But there&#8217;s a darker side to it. Now people are getting addicted to emails. The misuse and addiction is doing just the opposite, costing businesses millions of dollars in lost productivity. But there&#8217;s a hope, reuters put it this way &#8212; &#8220;Alcoholics have one, and so do drug abusers. Now people addicted to e-mail also have a 12-step program designed to tackle their obsession.&#8221;  <a href="http://www.cnn.com/2007/TECH/internet/02/20/email.addiction.reut/index.html?eref=rss_tech">Here are the 12 steps to manage your e-mail</a>:</p>
<blockquote><p>1. Admit that e-mail is managing you. Let go of your need to check e-mail every ten minutes.<br />
2. Commit to keeping your inbox empty.<br />
3. Create files where you can put inbox material that needs to be acted on.<br />
4. Make broad headings for your filing system so that you have to spend less time looking for filed material.<br />
5. Deal immediately with any e-mail that can be handled in two minutes or less but create a file for mails that will take longer.<br />
6. Set a target date to empty your in box. Don&#8217;t spend more than an hour at a time doing it.<br />
7. Turn off automatic send/receive.<br />
8. Establish regular times to review your e-mail.<br />
9. Involve others in conquering your addiction.<br />
10. Reduce the amount of e-mail you receive.<br />
11. Save time by using only one subject per e-mail; delete extra comments from forwarded e-mail, and  make the subject line detailed.<br />
12. Celebrate taking a new approach to e-mail.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/feed/</wfw:commentRss>
		<slash:comments>-10</slash:comments>
		</item>
		<item>
		<title>Email is 35</title>
		<link>http://nirlog.com/2006/11/27/email-is-35/</link>
		<comments>http://nirlog.com/2006/11/27/email-is-35/#comments</comments>
		<pubDate>Mon, 27 Nov 2006 06:49:29 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/11/27/email-is-35/</guid>
		<description><![CDATA[Email has just turned 35 and it&#8217;s very difficult to imagine working without the emails today. Here are few interesting links to Email and it&#8217;s history.
IT programmer Ray Tomlinson sent the first message in late 1971.
The test messages were entirely forgettable and I have, therefore, forgotten them. Most likely the first message was QUERTYIOP or [...]]]></description>
			<content:encoded><![CDATA[<p>Email has just turned 35 and it&#8217;s very difficult to imagine working without the emails today. Here are few interesting links to Email and it&#8217;s history.</p>
<p><strong><a href="http://openmap.bbn.com/~tomlinso/ray/firstemailframe.html">IT programmer Ray Tomlinson sent the first message in late 1971.</a></strong></p>
<blockquote><p>The test messages were entirely forgettable and I have, therefore, forgotten them. Most likely the first message was QUERTYIOP or something similar.</p></blockquote>
<p>Josh Burt of The Sun is reminding us of <strong><a href="http://www.thesun.co.uk/article/0,,2-2006540735,00.html">the top 5 embarrassing emails</a></strong> of last 35 years.</p>
<p>And a list of very useful tips from IT Security; <strong><a href="http://www.itsecurity.com/features/99-email-security-tips-112006/">Hacking Email: 99 tips to make you more secure and productive</a></strong>. The article include Etiquette, Communicating &#38; Effectiveness, Mobile Email, Productivity, Folders, Filtering, Email Attachments, Tricks, Hacks, Backup, Software specific tips, Privacy and Security.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/11/27/email-is-35/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Apps for Your Domain</title>
		<link>http://nirlog.com/2006/08/28/google-apps-for-your-domain/</link>
		<comments>http://nirlog.com/2006/08/28/google-apps-for-your-domain/#comments</comments>
		<pubDate>Mon, 28 Aug 2006 08:04:25 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/08/28/google-apps-for-your-domain/</guid>
		<description><![CDATA[Google Apps for Your Domain is a new free service from Google that includes Gmail (with your own domain name) with 2 gigabytes of storage, Google Calendar, Google Talk and Page Creator. I&#8217;ve just signed up for this service to test internally within our office. It&#8217;s very easy to setup (just need to change the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.google.com/a/">Google Apps for Your Domain</a> is a new free service from Google that includes Gmail (with your own domain name) with 2 gigabytes of storage, Google Calendar, Google Talk and Page Creator. I&#8217;ve just signed up for this service to test internally within our office. It&#8217;s very easy to setup (just need to change the MX record for the domain) and found it very useful. I think it can be a great package for small to medium sized companies and startups. The privacy issues might hold some organizations from embracing the service. But no hardware, no software and free of charge for excellent email system, IM, Calendar and web for your organization, with Google&#8217;s backing is hard to resist. I think they&#8217;ll be adding <a href="http://www.writely.com/">Writely</a> and <a href="http://spreadsheets.google.com">Google Spreadsheets</a>  soon to make it something like <a href="http://blogs.zdnet.com/BTL/?p=3547">Google Office</a>, that everyone is talking about.</p>
<p><img height="424" border="" width="480" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/googledashboard.png" title="" /></p></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/08/28/google-apps-for-your-domain/feed/</wfw:commentRss>
		<slash:comments>-4</slash:comments>
		</item>
		<item>
		<title>How not to be a fish to phishers</title>
		<link>http://nirlog.com/2006/04/01/how-not-to-be-a-fish-to-phishers/</link>
		<comments>http://nirlog.com/2006/04/01/how-not-to-be-a-fish-to-phishers/#comments</comments>
		<pubDate>Sat, 01 Apr 2006 07:08:25 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/04/01/how-not-to-be-a-fish-to-phishers/</guid>
		<description><![CDATA[It&#8217;s very difficult to stay safe online today without understanding the security jargons.
Phishing is one of the most popular techniques used by criminals to fool the users (even quite experienced ones) in giving in their personal information.
Phishing &#8211; Fraudulent emails and pop-ups designed to fool you into revealing personal information, such as passwords, credit card [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very difficult to stay safe online today without understanding the <a href="http://nirlog.com/2006/01/03/are-they-fishing-or-phishing-online/">security jargons</a>.</p>
<p>Phishing is one of the most popular techniques used by criminals to fool the users (even quite experienced ones) in giving in their personal information.</p>
<p><strong>Phishing</strong> &#8211; Fraudulent emails and pop-ups designed to fool you into revealing personal information, such as passwords, credit card details, and account numbers, for criminal gain.</p>
<p><strong>Some of the latest phishing attacks in News:</strong></p>
<p><span id="more-111"></span></p>
<p>Attackers use <a href="http://news.bbc.co.uk/1/hi/technology/4864072.stm">BBC Story</a> to convince users to click on the link, then install keylogger to the users PC exploiting the latest<a href="http://www.microsoft.com/technet/security/advisory/917077.mspx"> IE Security hole</a>.</p>
<p><a href="http://news.com.com/Phishers+set+hidden+traps+on+eBay/2100-7349_3-6056687.html?tag=nefd.top">Phishers set hidden traps on eBay</a>, when you click on the listing, it&#8217;ll run a script that automatically takes you to a new page that requests login info.</p>
<p>This Australian news, <a href="http://www.smh.com.au/news/breaking/how-phishing-sites-fool-us/2006/03/31/1143441320812.html">How Phishing sites fools us</a> talks about the study conducted by Harvard University and Berkeley <a href="http://people.deas.harvard.edu/~rachna/papers/why_phishing_works.pdf">Why Phishing works?</a>  (pdf). The study found that best phishing site was able to fool more than 90 percent of participants. The indicators that are designed to signal trustworthiness were not understood (or even noticed) by many participants.</p>
<p><strong>How to protect yourself from phishing</strong></p>
<ol>
<li>Never reply to an email or pop-up messages that ask for personal or financial information. Don&#8217;t click on the links within the message.</li>
<li>Keep your OS and softwares up to date (specially if it&#8217;s Windows and IE)</li>
<li>Use anti-virus,  personal firewall, anti-spyware  and keep them up to date.</li>
<li>Don’t send your personal or financial information in an email.</li>
<li>Always review your credit card and bank account statements as soon as you receive them.</li>
<li>Take extra care while opening any attachment or downloading any files from emails.</li>
</ol></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/04/01/how-not-to-be-a-fish-to-phishers/feed/</wfw:commentRss>
		<slash:comments>-2</slash:comments>
		</item>
		<item>
		<title>Sendmail Remote Signal Handling Vulnerability</title>
		<link>http://nirlog.com/2006/03/23/sendmail-remote-signal-handling-vulnerability/</link>
		<comments>http://nirlog.com/2006/03/23/sendmail-remote-signal-handling-vulnerability/#comments</comments>
		<pubDate>Thu, 23 Mar 2006 01:27:42 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/03/23/sendmail-remote-signal-handling-vulnerability/</guid>
		<description><![CDATA[A serious flaw has been found in Sendmail that could allow an attacker to take control of the SMTP server running vulnerable version of the software. A remote attacker could send malicious data at certain time intervals, which can corrupt arbitrary stack memory and gain control of the Server.
This security hole affects all Linux and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xforce.iss.net/xforce/alerts/id/216">A serious flaw </a>has been found in<a href="http://www.sendmail.org/"> Sendmail</a> that could allow an attacker to take control of the SMTP server running vulnerable version of the software. A remote attacker could send malicious data at certain time intervals, which can corrupt arbitrary stack memory and gain control of the Server.</p>
<p>This security hole affects all Linux and Unix versions of Sendmail 8 up to version 8.13.5. Microsoft Windows versions of Sendmail are not affected. Sendmail has released a <a href="http://www.sendmail.org/8.13.6.html">new verion 8.13.6</a> to fix this problem and also patches for earlier versions are available at their <a href="ftp://ftp.sendmail.org/pub/sendmail/">FTP site</a>.</p>
<p><span id="more-102"></span></p>
<p>If your server is running Sendmail, I highly recommend to patch it or upgrade it. It is the most popular MTA but unfortunately has a history of serious security problems. If possible I recommend to switch to other MTAs like <a href="http://www.postfix.org/">Postfix</a>, <a href="http://www.exim.org/">Exim</a> or <a href="http://www.qmail.org/">Qmail</a> which are more modular in design and were built with security in mind. My personal favorite is Qmail and all of my SMTP servers are running it. I&#8217;d previously written a guide<a href="http://nirlog.com/2006/02/22/e-mail-server-installation-checklist/"> Email Server Installation Checklist</a> which you might find helpful while installing a new server or switching from Sendmail to other softwares. If you want secure and out-of-the-box SMTP server then <a href="http://nirlog.com/2006/01/12/secure-and-out-of-the-box-servergateway/">SME Server</a> can be a good choice.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/03/23/sendmail-remote-signal-handling-vulnerability/feed/</wfw:commentRss>
		<slash:comments>-7</slash:comments>
		</item>
		<item>
		<title>Astaro Security Gateway: Integrated Security Solution</title>
		<link>http://nirlog.com/2006/03/09/astaro-security-gateway-integrated-security-solution/</link>
		<comments>http://nirlog.com/2006/03/09/astaro-security-gateway-integrated-security-solution/#comments</comments>
		<pubDate>Thu, 09 Mar 2006 09:17:46 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/03/09/astaro-security-gateway-integrated-security-solution/</guid>
		<description><![CDATA[One of our customer was interested in a security solution that was tightly integrated,  easy to manage and cost effective. After researching for a while I found that Astaro Security Gateway software (formerly Astaro Security Linux) was one of the best choices available in the market. The features were so appealing that I did [...]]]></description>
			<content:encoded><![CDATA[<p>One of our customer was interested in a security solution that was tightly integrated,  easy to manage and cost effective. After researching for a while I found that <a href="http://www.astaro.com/firewall_network_security/security_facts">Astaro Security Gateway software</a> (formerly Astaro Security Linux) was one of the best choices available in the market. The features were so appealing that I did a 30 day evaluation and this is what I found.</p>
<p><img height="279" style="margin:5px;" width="480" alt="" src="http://nirlog.com/wp-content/uploads/2006/03/webadmin.gif" /></p>
<p><span id="more-84"></span></p>
<p><strong>Installation</strong></p>
<p>A fully functional 30 days evaluation version (iso image) can be downloaded from the <a href="https://my.astaro.com/download/">Download Site</a> (requires registration). You can burn the CD and installation takes less than 20 minutes. Following is the recommended hardware by Astaro:</p>
<ul>
<li>minimum Pentium II or compatible CPU<br />256 MB RAM <br />8 GB SCSI/IDE HD <br />bootable CDROM SCSI/IDE <br />3 PCI-NICs (Internet, Local Net, Demilitarized Zone) (for testing, 1 is enough)</li>
</ul>
<p>Support, Documents, Downloads and other useful stuffs are available in <a href="https://my.astaro.com/">MyAstaro portal</a>. You can login with the registered email address and the password that was sent to you by Astaro. A searchable <a href="http://www.astaro.com/kb/">knowledgebase</a> with useful infromation  is also available (doesn&#8217;t require login).</p>
<p><strong>Features Review</strong></p>
<p><strong>Firewall:</strong> Excellent, similar to other high end firewalls like Netscreen or Cisco PIX with both stateful packet inspection and application-level deep packet filtering. Supports multiple interface and HA, setting up DMZ is very easy. Other good firewall features are; transparent mode, traffic shaping, QoS and detailed reporting.</p>
<p><strong>VPN:</strong> PPPT is easy to setup and didn&#8217;t encounter any problem.  IPSec; both Road Warrier and Site to Site vpn work smoothly and do have rich and confusing choice of Encryption algorithms, Authentication methods and IPSec protoclols.</p>
<p><strong>Intrusion Protection:</strong> Based on popular open source software <a href="http://www.snort.org/">Snort</a>. It is a signature based system which detects most of the popular attacks. The bad point about this and actually any Intrusion Protection System is that they produce a lot of false positives. </p>
<p><strong>Proxies:</strong> SMTP, HTTP, DNS, POP3, IDENT.  Actively tested the SMTP and HTTP proxies only. I think both of them are quite good. SMTP proxy is capable of doing attachment filtering but one limitation I found is that, we cannot customize the concurrent smtp connection. It should be set to either 20 or unlimited.</p>
<p><strong>Email/HTTP Anti-Virus:</strong> Anti-virus works together with proxy server. It is using <a href="http://www.kaspersky.com/">Kaspersky</a> anti-virus engine which is quite popular with Linux/Unix platform. Infected Emails can be quarantine or deleted and can be released from the server if necessary.</p>
<p><strong>Anti-Spam:</strong> It is using <a href="http://spamassassin.apache.org/">SpamAssassin</a> anti-spam engine. The score can be adjusted and it allows to set 2 levels of threshold. For example we can quarantine when the score is 5 and delete when the score reaches 10 or 15. Supports whitelist and blacklist. One good feature is the daily SPAM Digest it sends to the users. So, if the users find some legitimate emails quarantined we can immediately release them.</p>
<p><strong>HTTP Content Filtering:</strong> Uses signature to categorize the web sites and can block them based on category, users custom domain or keywords. Also supports blacklist and whitelist. <script type="text/javascript"><!--
D(["mb","<br />\n<br />\nLogging/Reporting: Logging is very detail and well categorized. Has a\nvery good feature called Live Log, which can be browsed from the web\nfor troubleshooting. Reporting is also very good, you can see the\nsample report below.<br />\n<br />\nUpdates: Anti-Virus Pattern, Intrusion Protection, Content Filtering,\nand the OS updates are done automatically according to the schedule we\nset up.<br />\n<br />\nBackup: Backup and recovery is very easy in case of failure. Setup\ntakes around 20mins and restore 5 mins. So, if we have the hardware,\nsoftware and a backup file it can be restored in half an hour.<br />\n<br />\nOverall I think this is an excellent product that has got most of the\nsecurity features integrated into one box and is worth adding to our\nproduct line.<br />\n<br />\n
<table border\u003d\"0\" cellpadding\u003d\"0\" cellspacing\u003d\"0\">\n  
<tbody>\n    
<tr>\n      
<td>\n      
<table border\u003d\"0\" cellpadding\u003d\"0\" cellspacing\u003d\"0\">\n        
<tbody>\n          
<tr>\n            
<td style\u003d\"vertical-align:top\">Executive Report for\n<a href\u003d\"http://firewall.hkisl.net\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\">firewall.hkisl.net<\/a> <\/td>\n            
<td style\u003d\"vertical-align:top;text-align:right;font-weight:bold\">Fri,\n22 Apr 2005<\/td>\n          <\/tr>\n        <\/tbody>\n      <\/table>\n      
<table border\u003d\"0\" cellpadding\u003d\"0\" cellspacing\u003d\"0\">\n        
<tbody>\n          
<tr>\n            
<td>\n            
<table border\u003d\"0\" cellpadding\u003d\"4\" cellspacing\u003d\"1\">\n              
<tbody>\n                
<tr>\n                  
<th align\u003d\"left\"> Administration <\/th>\n                  
<th align\u003d\"center\"> Today <\/th>\n                  
<th align\u003d\"center\"> Yesterday <\/th>\n                  
<th align\u003d\"center\"> Last 7 Days <\/th>\n                  
<th align\u003d\"center\"> Last 30 Days <\/th>\n                <\/tr>\n                
<tr>\n                  
<td style\u003d\"font-weight:bold\" valign\u003d\"top\"> WebAdmin logins (success/failed) <\/td>\n                  
<td align\u003d\"center\" valign\u003d\"top\"> <font color\u003d\"#000000\">3<\/font> / <font color\u003d\"#ff4105\">0<\/font> <\/td>\n                  ",1]
);</p>
<p>//--></script> </p>
<p><strong>Logging/Reporting:</strong> Logging is very detail and well categorized. Has a very good feature called Live Log, which can be browsed from the web for troubleshooting.</p>
<p><strong>Updates:</strong> Anti-Virus Pattern, Intrusion Protection, Content Filtering, and the OS updates are done automatically according to the schedule.</p>
<p><strong>Backup:</strong> Backup and recovery is very easy in case of failures. Setup takes around 20mins and restore 5 mins. It also supports HA.</p>
<p>Overall I think this is an excellent product that has got most of the security features.  The ease of management, relatively low cost and impressive features makes it an excellent choice for an integrated security product.</p>
<p>If you don&#8217;t want to install the software and love out-of-the box solution, then they&#8217;ve <a href="http://www.astaro.com/firewall_network_security/astaro_security_gateway">Astaro Security Gateway Appliances</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/03/09/astaro-security-gateway-integrated-security-solution/feed/</wfw:commentRss>
		<slash:comments>-3</slash:comments>
		</item>
		<item>
		<title>E-mail Server Installation Checklist</title>
		<link>http://nirlog.com/2006/02/22/e-mail-server-installation-checklist/</link>
		<comments>http://nirlog.com/2006/02/22/e-mail-server-installation-checklist/#comments</comments>
		<pubDate>Wed, 22 Feb 2006 13:54:32 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/02/22/e-mail-server-installation-checklist/</guid>
		<description><![CDATA[I have to install email servers every now and then. Sometimes customers need a new email server, sometimes it&#8217;s scheduled upgrade or replacement of the old server and sometimes it&#8217;s because of failures. In carrying out these installations the procedure differs slightly depending on the reason why I&#8217;m installing the server. I&#8217;ve been doing this [...]]]></description>
			<content:encoded><![CDATA[<p>I have to install email servers every now and then. Sometimes customers need a new email server, sometimes it&#8217;s scheduled upgrade or replacement of the old server and sometimes it&#8217;s because of failures. In carrying out these installations the procedure differs slightly depending on the reason why I&#8217;m installing the server. I&#8217;ve been doing this so many times that I happen to follow a certain pattern automatically which I&#8217;m listing out here.This should be useful for planning and looking at the bigger picture of an email server installation before plunging into the technical details of actual installation, configuration, testing and putting into production.</p>
<p><span id="more-68"></span> <strong>1. Choose the <a href="http://en.wikipedia.org/wiki/Mail_transfer_agent">MTA</a> (Mail Transport Agent) software:</strong> There&#8217;re plenty of choices available ranging from free, open source to commercial ones. Some popular free and open source MTA&#8217;s are <a href="http://www.sendmail.org/">Sendmail</a>, <a href="http://www.qmail.org/">Qmail</a>, <a href="http://www.postfix.org/">Postfix</a> and <a href="http://www.exim.org/">Exim.</a> Popular commercial MTAs and Groupwares are <a href="http://www.microsoft.com/exchange/default.mspx">MS Exchange</a>, <a href="http://www-306.ibm.com/software/lotus/">Lotus Notes</a> and <a href="http://www.novell.com/products/groupwise/">Novell Groupwise</a>. I&#8217;ve worked with most of the the softwares and I find Qmail secure and easy to manage. This choice differs from admin to admin and also depends on the requirements e.g. some organizations require groupware together with the email server.</p>
<p><strong>2. Choose the platform (Operating System):</strong> This is usually decided together with the first step. In some situations this step might come ahead of choosing the MTA. Most of the popular free MTAs are developed for *nix platforms only. Again this too depends on admins choice, organizations choice or requirements. For the Operating System my choice is Linux with the MTA being Qmail. I find it more stable, secure and a perfect match for Qmail. And of course it&#8217;s free and open source.</p>
<p><strong>3. Estimate the number of users and server loading:</strong> This is a very important stage which will prepare you for the next crucial step i.e. choosing the hardware specification. The server loading includes following things (but not limited): how many email accounts the server will be serving, how many concurrent users will be using the service (POP3/SMTP/IMAP) during the peak hour, what is the max. number of email transactions that this server should support per day.</p>
<p><strong>4. Choose the hardware:</strong> This is a very important decision which should be made based on the estimated server loading. We don&#8217;t want to discover that the RAM is not enough or CPU speed cannot cope with the daily email queues after the server is on production. Normally the more the RAM and CPU you can afford is better but you need to justify every extra MB and Mhz you are asking for. Most of the commercial software vendors provide a clear guideline for hardware requirement according to the number of users and number of email transaction per day. For my favorite Qmail installation there&#8217;s an online guide that provides <a href="http://linux.duke.edu/~icon/qvcs-guide/qvcs-guide.html#id2835291">calculation formulas for HDD, RAM and CPU</a> requirements.</p>
<p><strong>5. DNS Setup:</strong> Emails don&#8217;t work without properly configured domain names. So, it&#8217;s a good idea to configure the domain name (names) with proper <a href="http://en.wikipedia.org/wiki/MX_Record">MX records</a> pointing to the new server before starting the installation of an email server. This can be done before the actual testing of email server but since it&#8217;s critical, just do it a step ahead.</p>
<p><strong>6. Install and configure:</strong> After having the MX record ready you can install the MTA software and configure it. The configuration varies according to the requirements. It can be simple with one domain or few domains or it can be pretty complicated with groupware functions and integration with other modules like CRM. After the configuration; create user accounts according to the requirement.</p>
<p><strong>7. TEST, TEST and TEST:</strong> This is <strong>the most important</strong> part of the installation. Many times I find myself going back to step 6 after this. What I&#8217;ve learnt is that; installing the software, configuring it and creating the users following the manual don&#8217;t mean that the server works until you test. Of course it&#8217;s obvious to everyone <img src='http://nirlog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . But it&#8217;s also something we admins tend to skip (sometimes with over confidence and sometimes with little carelessness). So, I want to emphasize one more time <strong>TEST, TEST and TEST</strong>. You need to create different scenarios for testing. The minimum testing scenario might look like this:</p>
<ul>
<li><em><strong>i) Test from local to local:</strong></em> send an email to local user using the same server. (From: localuser; To: localuser)</li>
<li><em><strong>ii) Test from remote to local:</strong></em> send an email to newly created user using any outside server. (From: Gmailuser; To: localuser)</li>
<li><em><strong>iii) Test receiving emails:</strong></em> make sure you can receive both the email from test (i) and (ii) .</li>
<li><em><strong>iv) Test from local to remote:</strong></em> send an email using the local server to a remote server and make sure you can receive it in the remote server. (From: localuser; To: Gmail user)</li>
</ul>
<p>This is the minimum testing required for any sort of installation. There could be more tests in some special cases.</p>
<p><strong>8. Check the logs:</strong> Check the server logs during test because they provide a very good view on what is happening e.g the newly created user cannot login. You can see &#8220;password incorrect&#8221; in the log. Which will tell you that you are typing an incorrect password. Or &#8220;relay not allowed&#8221; meaning your smtp auth is not working or the ip is not listed in &#8220;tcp.smtp&#8221; file. Server log is the first place we should be looking during first test even if we don&#8217;t see any obvious problems. We don&#8217;t want to discover any hidden silly problems after the system is put on production.</p>
<p><strong>9. Put the server on production and yourself on standby:</strong> After the testing is over we can put the server on production and ourselves on standby. We can&#8217;t grantee that the system is error free until the real users test it. It will pass the real test once users can send and receive emails without any problem. I put myself on standby by watching the server log live (&#8221;tail -f /var/log/qmail/current&#8221;) looking for problems.</p>
<p>I&#8217;ve put this checklist from my experience and find it very useful. I hope this will help you and if you have any suggestions comments or maybe a better way to do it, the comment section is open and I&#8217;ll be more than happy to improve this list.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/02/22/e-mail-server-installation-checklist/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HowTO Send and Receive Email Without an Email Client</title>
		<link>http://nirlog.com/2006/01/27/sending-and-receiving-email-without-a-client/</link>
		<comments>http://nirlog.com/2006/01/27/sending-and-receiving-email-without-a-client/#comments</comments>
		<pubDate>Fri, 27 Jan 2006 08:35:36 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/?p=39</guid>
		<description><![CDATA[There can be situations where we need to send and receive emails without having an access to the email clients. For network and system admins using command line can be a very useful technique. We can troubleshoot the email problems in the fly. I find it very helpful in solving most of the basic email [...]]]></description>
			<content:encoded><![CDATA[<p>There can be situations where we need to send and receive emails without having an access to the email clients. For network and system admins using command line can be a very useful technique. We can troubleshoot the email problems in the fly. I find it very helpful in solving most of the basic email problems. You can diagnose simple problems like; incorrect login name/password, connection problem to the server, mail box full etc&#8230; . To send and receive emails without an email client you need to have access to a PC with internet connection, your username, password and pop3/smtp server name.<br />
<span id="more-39"></span></p>
<p>In this Example I&#8217;ve used following parameters (don&#8217;t try the same username and password, it will not work. You should use your own username, password and mail server):</p>
<ul>
<em>UserName: user<br />
Password: password<br />
Pop3 Server: pop3server.nirlog.com<br />
SMTP Server: smtpserver.nirlog.com</em></ul>
<p><strong>Receiving Email</strong></p>
<p>Go to command prompt. This can be done as following:</p>
<ul>
<em><strong>Start &#8211;> Run &#8211;></strong></em> type <em><strong>&#8220;cmd&#8221;</strong></em> in the box <em><strong>&#8211;>OK</strong></em></ul>
<p>Telnet to the mail server (POP3 Server) and use your username password to login:</p>
<ul>
 <em><strong>telnet pop3server.nirlog.com 110</strong></em></ul>
<p>The server will reply like this:</p>
<ul>
<em><strong>+OK &lt;2324.1138330846@pop3server.nirlog.com></strong><br />
</em></ul>
<p>Login to the mail server:</p>
<ul>
<em><strong>user username</strong></em></ul>
<p>The server acknowledges with:</p>
<ul>
<em><strong>+OK</strong></em></ul>
<p>Now input your password:</p>
<ul>
<em><strong>pass password</strong></em></ul>
<p>If the password is correct the server responds with:</p>
<ul>
<em><strong>+OK</strong></em>
</ul>
<p>Check your emails:<br />
To see how many emails you have in your box use the command:</p>
<ul>
<em><strong>list</strong></em></ul>
<p>This will list out the emails you have in your inbox:</p>
<ul><em><strong>+OK<br />
1 1623<br />
2 1601<br />
3 1596</strong></em></ul>
<p>1, 2, 3 are the email ids and the 1623, 1601, 1596 are size of respective emails in bytes.<br />
To read your emails you need to use command <em><strong>retr email id</strong></em>. E.g. if you want to read the first email then you should:</p>
<ul>
<em><strong>retr 1</strong></em></ul>
<p>To delete the emails you need to to use <em><strong>dele</strong></em> command. E.g. to delete the first email you should:</p>
<ul>
<em><strong>dele 1</strong></em></ul>
<p>To exit form the server use command <em><strong>quit</strong></em>.</p>
<p>Click for full size<br />
<a href="/wp-upload/pop3cmdline.JPG" rel="lightbox"><img src='/wp-upload/thumb-pop3cmdline.JPG' alt='Pop3 Cmd Line' /></a></p>
<p><strong>Sending Email</strong></p>
<p>Go to command prompt. This can be done as following:</p>
<ul>
<em><strong>Start &#8211;> Run &#8211;></strong></em> type <em><strong>&#8220;cmd&#8221;</strong></em> in the box <em><strong>&#8211;>OK</strong></em></ul>
<p>Telnet to the mail server (SMTP Server):</p>
<ul>
 <em><strong>telnet smtpserver.nirlog.com 25</strong></em></ul>
<p>The reply should be like:</p>
<ul>
<em><strong>220 smtpserver.nirlog.com ESMTP</strong><br />
</em></ul>
<p>Greet the SMTP Server using helo command, after the helo you can put any domain (I&#8217;ve used nirlog.com):</p>
<ul><em><strong>helo nirlog.com</strong></em></ul>
<p>The server will respond with something like this:</p>
<ul>
<em><strong>250 smtpserver.nirlog.com</strong></em></ul>
<p>Input your email address. The sender&#8217;s email address:</p>
<ul>
<em><strong>mail from: user@nirlog.com</strong></em></ul>
<p>This should give:</p>
<ul>
<em><strong>250 ok</strong></em></ul>
<p>Input the recipients email address:</p>
<ul>
<em><strong>rcpt to: niranjan.kunwar@gmail.com</strong></em></ul>
<p>This should give:</p>
<ul>
<em><strong>250 ok</strong></em></ul>
<p>Compose your email with subject and body:</p>
<ul>
<em><strong>data</strong></em></ul>
<p>This should give:</p>
<ul>
<em><strong>354 go ahead</strong></em></ul>
<p>Now write the subject of your email:</p>
<ul>
<em><strong>Subject: This is a Test Subject</strong></em> (Press Enter twice, this is how Subject and body of an email is separated)</ul>
<p>Write the body of the email:</p>
<ul>
<em><strong>This is a test mail from command line<br />
.</strong></em></ul>
<p>After the message body you need to press <strong>Enter</strong>, type a <strong>dot &#8220;.&#8221;</strong> and one more <strong>Enter</strong>. This way you&#8217;ll tell the SMTP server that you&#8217;re done writing the email. The server will reply with:</p>
<ul>
<em><strong>250 ok 1138345550 qp 22585</strong></em></ul>
<p>This means email has been accepted by the server and is queued for delivery.<br />
You can exit from the server using command <strong>quit</strong>.</p>
<p>Click for full size<br />
<a href="/wp-upload/smtpcmdline.JPG" rel="lightbox"><img src='/wp-upload/thumb-smtpcmdline.JPG' alt='SMTP cmdline' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/01/27/sending-and-receiving-email-without-a-client/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Secure and out-of-the-box Server/Gateway</title>
		<link>http://nirlog.com/2006/01/12/secure-and-out-of-the-box-servergateway/</link>
		<comments>http://nirlog.com/2006/01/12/secure-and-out-of-the-box-servergateway/#comments</comments>
		<pubDate>Thu, 12 Jan 2006 03:56:54 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/?p=31</guid>
		<description><![CDATA[If your are a network or system administrator of a SME (Small to Medium Enterprise) then you&#8217;ll have to do a lot of things that go beyond the call of your duty. You need to find systems, softwares and tools, recommend them to the management, justify your recommendation and make sure everything runs smoothly. There [...]]]></description>
			<content:encoded><![CDATA[<p>If your are a network or system administrator of a SME (Small to Medium Enterprise) then you&#8217;ll have to do a lot of things that go beyond the call of your duty. You need to find systems, softwares and tools, recommend them to the management, justify your recommendation and make sure everything runs smoothly. There is a never ending search for perfect systems and softwares which are of good qualities and cost as less as possible. A typical SME would need at minimum following servers in order to run their business smoothly:</p>
<ul><strong>   Email Server<br />
Web Server<br />
DNS Server<br />
File Server<br />
Print Server<br />
Internet Gateway (Firewall/Router/Proxy)</strong></ul>
<p><span id="more-31"></span><br />
There are many choices in the market and the first decision we need to make is about the platform we want to run. I mean the operating system. There are choices: Unix, Linux, Windows, MacOS and BSD. But in reality the actual contenders today are Windows and Linux. From my experience as a system and network admin for more than 6 years I can comfortably recommend you to use Linux (this is not a news for sysadmins anyway). Simply because they&#8217;re secure, do their job best and most importantly they&#8217;re free. What more to expect? Of course they don&#8217;t come with the support like windows but if you really need support you can buy them  (e.g RedHat, Suse or Mitel). I think in many ways the community support for popular open source softwares are already outstanding.</p>
<p>So, after choosing our platform &#8220;Linux&#8221; we need to decide which Linux distribution is best suited for us. There are plenty of Linux distributions mushrooming today. You can see the popularity of different Linux distribution at <a href="http://www.distrowatch.com">Distrowatch.com</a> based on H.P.D (Hits Per Day). The choice of distribution will differ depending on need and taste (of the admins or organizations). But here I&#8217;m recommending a Linux Distribution that does the job out-of-the-box and stands separate from the crowd in many different ways.<br />
<strong><br />
What is SME Server?</strong></p>
<p>This is what Distrowatch.com says about <strong><a href="http://www.contribs.org">SME Server</a></strong> :<br />
<em> </em></p>
<ul><em>SME Server (known as e-smith at the time) was founded in January 1999 by Joseph and Kim Morrison. The company introduced the first version of its flagship software product, the e-smith server and gateway, in April 1999. By the end of the year, many thousands of e-smith servers were running in countries from Fiji to Finland. Word was spreading quickly among developers and systems integrators who needed a solid, easy-to-use server for their small-business customers. In July 2001, e-smith was acquired by <a href="http://www.mitel.com/">Mitel Networks</a>, in September 2004 by Lycoris, and the project is currently sponsored by Resource Strategies, Inc.</em></ul>
<p>SME Server is based on the  RedHat 7.3 (current stable version is SME Server 6.0.1) which has been customized by removing unnecessary software, and by replacing some with more secure software. SME Server uses the kernel 2.4.x.x. Currently they&#8217;re developing a newer version (SME server 7.0) based on <a href="http://www.redhat.com">RedHat</a>, <a href="http://fedora.redhat.com/">Fedora </a>and <a href="http://www.centos.org">CentOS</a>.</p>
<p><strong>Why SME Server?</strong></p>
<p><strong>Easy Installation</strong>. <a href="http://contribs.org/modules/phpwiki/index.php?Downloads">Download </a>ISO, burn CD and after few clicks it&#8217;s installed. Takes less than 20mins to install in P4 machines. You can read the excellent <a href="http://contribs.org/modules/phpwiki/">documents</a>, which are very detail. The first docs I recommend to read are <a href="http://contribs.org/modules/phpwiki/index.php/Design%20philosophy">Design Philosophy</a>  and <a href="http://contribs.org/modules/phpwiki/index.php/Architecture%20overview">Architecture Overview</a>. This will give a clear picture on how it stands out of the crowd and the basic architectural concept you need to know to use it.</p>
<p><strong>It is much more secure and maintainable</strong> than other linux distributions because unnecessary packages are removed and services stopped. It also acts as  a firewall by blocking all the access from external network except for those public services that are configured.<br />
<strong><br />
Web based administration panel</strong> (server-manager). Basically everything can be done from the web. Some <a href="http://contribs.org/modules/xoopsgallery/">Screenshots </a>to get the look and feel of SME server-manager.</p>
<p><strong>Secure Email Server</strong>. Supports POP3, POP3 over SSL, IMAP, IMAP over SSL, SMTP, SMTP over SSL and webmail (<a href="http://www.horde.org/imp/">Horde IMP</a>). Can install Spamassassin and Clam AV to do the server side junk and virus filtering. Runs <a href="http://www.qmail.org/">Qmail </a>which is much secure than <a href="http://www.sendmail.org">Sendmail</a>. The author of Qmail (<a href="http://cr.yp.to/djb.html">D. J. Bernstein</a>) provides a security guarantee and  <a href="http://cr.yp.to/qmail/guarantee.html">offered $500</a> for the first person to find a verifiable security hole in latest version of Qmail in 1997, his offer still stands and nobody has found any security hole in the Qmail till today.</p>
<p><strong>Web Server</strong>. Runs Apache, supports virtual domains and SSL. Also it&#8217;s a complete <a href="http://en.wikipedia.org/wiki/LAMP">LAMP </a>out of the box. I&#8217;ve written about the LAMP in my previous article <a href="http://nirlog.com/2006/01/09/top-open-sources-packed-in-one-distribution/">Top Open Sources</a>.</p>
<p><strong>PPTP VPN Server</strong>. Can be enabled by one click which is very useful and convenient for secure remote connection.<br />
<strong><br />
DNS Server.</strong> Runs <a href="http://cr.yp.to/djbdns.html">djbdns </a>which is a very secure dns package written by the same author of Qmail. And also <a href="http://cr.yp.to/djbdns/guarantee.html">offers $500</a> for first person who reports a verifiable security hole.<br />
<strong><br />
Raid-1.</strong> Supports Raid-1 mirroring both hardware and software. I find it very useful. If one hard disk is dead, just plugin a new one and rebuilt the Raid.<br />
<strong><br />
Proxy Server.</strong> Runs transparent proxy on <a href="http://www.squid-cache.org/">Squid</a>. No need to configure the client browser.<br />
<strong><br />
File Server.</strong> <a href="http://www.samba.org">Samba </a>server can be a domain controller or participate in windows domain.</p>
<p><strong>Built in Backup/Restore function.</strong> You can backup to tape (scheduled) or your desktop (now). Similarly the backed-up data can be restored with one click.</p>
<p><strong>FTP Server/Print Server. </strong>These services can be easily enabled or disabled.</p>
<p><strong>Plenty of other softwares</strong> that are <a href="http://contribs.org/modules/phpwiki/index.php?ContribsPage">contributed </a>by users and developers.</p>
<p>If you want an out-of-the-box solution for basic services (email, web, file, print, gateway) then it&#8217;s the best choice available. If you want a secure and easy to install/use/maintain distribution then you should definitely give SME Server one shot.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/01/12/secure-and-out-of-the-box-servergateway/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
