<?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>This Blog Is Not For Reading &#187; smtp</title>
	<atom:link href="http://bob.jonkman.ca/blogs/category/smtp/feed/" rel="self" type="application/rss+xml" />
	<link>http://bob.jonkman.ca/blogs</link>
	<description>A blog, just like any blog, only more so</description>
	<lastBuildDate>Sun, 05 Feb 2012 21:59:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Telephone Number Format Standards</title>
		<link>http://bob.jonkman.ca/blogs/2010/03/20/telephone-number-format-standards/</link>
		<comments>http://bob.jonkman.ca/blogs/2010/03/20/telephone-number-format-standards/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 05:42:35 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[telephone]]></category>
		<category><![CDATA[valid html]]></category>

		<guid isPermaLink="false">http://bob.jonkman.ca/blogs/?p=216</guid>
		<description><![CDATA[Standardized Telephone Number formats work even on old phones! There are many different address books and directories online, and there are almost just as many different ways they store telephone numbers. I guess most people don&#8217;t realize that there are actually standards for representing phone numbers. A little bit of standardization would go a long [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;border: thin solid black;margin: .5em;padding: .1em;text-align:center;width:256px"><a href="http://www.flickr.com/photos/lwr/9257237/" title="Flickr - Leo Reynolds - Telephone Dial"><img src="http://farm1.static.flickr.com/6/9257237_a6909f8d8d_m.jpg" alt="Telephone Dial" width="240" height="240" /></a>
<p>Standardized Telephone Number formats work even on old phones!</p>
</div>
<p>There are many different address books and directories online, and there are almost just as many different ways they store telephone numbers.  I guess most people don&#8217;t realize that there are actually standards for representing phone numbers.  A little bit of standardization would go a long way towards interoperability.</p>
<p>The standard for phone number formatting is set by the <a href="#ITU" title="References: ITU">International Telecommunication Union</a> in <a href="#E.123" title="References: E.123]">[E.123]</a> and <a href="#E.164" title="References: E.164">[E.164]</a> (see the <a href="#References" title="References - Telephone Number Format Standards">references</a> below). The standards documents are available for a fee from the ITU <ins datetime="20101211">[available at no charge since 2010 --Bob.]</ins> . A summary is available in the Google (UseNet) discussion group, titled <a href="http://groups-beta.google.com/group/comp.std.internat/msg/24fc32228689a620?dmode=source" title="Google Groups - Need ITU-T E.123 summary - comp.std.internat">Need ITU-T E.123 summary</a>.</p>
<p>In short, a North American telephone number should look like:</p>
<p>    +C-AAA-PPP-NNNN;ext=xxxx</p>
<ul>
<li> &#8220;+&#8221; shows where the dialing prefix goes. This is one of either the International Direct Dialing (IDD) prefix (for Canada this is &#8220;011&#8243; for overseas dialing) or the National Direct Dialing (NDD) prefix (&#8220;1&#8243; for calls within North America, omitted for toll-free calls),
</li>
<li>&#8220;C&#8221; is the Country Code (North America&#8217;s CC is &#8220;1&#8243;, and it is omitted for dialing within North America),
</li>
<li>&#8220;AAA&#8221; is the area code (always required for dialing in Kitchener, Toronto, and other jurisdictions),
</li>
<li>&#8220;PPP&#8221; is the Exchange (or Private Branch Exchange &#8220;PBX&#8221;; look in the phone book to see which exchanges are supported),
</li>
<li>&#8220;NNNN&#8221; is the local portion of the number,
</li>
<li>&#8220;;ext=&#8221; optionally identifies the next portion as an extension and &#8220;xxxx&#8221; are the digits for that extension. This syntax is usable in URIs and e-mail.
</li>
</ul>
<p>Note that the sequence &#8220;AAA-PPP-NNNN&#8221; is called a &#8220;local number&#8221; and &#8220;+C-AAA-PPP-NNNN&#8221; is called a &#8220;global number&#8221;. The &#8220;-&#8221; (hyphen) is a visual separator, as are &#8220;.&#8221; (period) , &#8220;(&#8221; (left bracket) and &#8220;)&#8221; (right bracket), which dialing applications should ignore.</p>
<p>I&#8217;m mostly interested in making phone number formats in e-mail addressbooks compliant with e-mail standards. The document that covers this is the IETF&#8217;s <a href="#RFC3191" title="Refences: RFC3191">[RFC3191]</a>, &quot;Minimal GSTN address format in Internet Mail&quot; . The requirement is that <abbr title="Global Switched Telephone Network">GSTN</abbr> (Global Switched Telephone Network) numbers use the global-number syntax (&#8220;+C-AAA-PPP-NNNN&#8221;).</p>
<p>Global-number GSTN numbers can be used for other purposes as well, such as Web page URIs. See <a href="#RFC3966" title="References: RFC3966">[RFC3966]</a>, &quot;The tel URI for Telephone Numbers&quot;. This document re-iterates that:</p>
<blockquote cite="https://tools.ietf.org/html/rfc3966">
<dl>
<dt>5.1.4.</dt>
<dd>Global Numbers Globally unique numbers are identified by the leading &#8220;+&#8221; character. Global numbers MUST be composed with the country (CC) and national (NSN) numbers as specified in E.123 [E.123] and E.164 [E.164]. Globally unique numbers are unambiguous everywhere in the world and SHOULD be used.
</dd>
<dt>5.1.5.</dt>
<dd>
<p>Local Numbers Local numbers are unique only within a certain geographical area or a certain part of the telephone network, e.g., a private branch exchange (PBX), a state or province, a particular local exchange carrier, or a particular country. URIs with local phone numbers should only appear in environments where all local entities can successfully set up the call by passing the number to the dialling software. Digits needed for accessing an outside line, for example, are not included in local numbers. Local numbers SHOULD NOT be used unless there is no way to represent the number as a global number.</p>
<p>Local numbers SHOULD NOT be used for several reasons. Local numbers require that the originator and recipient are configured appropriately so that they can insert and recognize the correct context descriptors. Since there is no algorithm to pick the same descriptor independently, labelling numbers with their context increases the chances of misconfiguration so that valid identifiers are rejected by mistake. The algorithm to select descriptors was chosen so that accidental collisions would be rare, but they cannot be ruled out.</p>
</dd>
</dl>
</blockquote>
<p>If you work at a company that does work with organizations and staff members outside of the context of your area code (ie. internationally) be sure to standardize your directory on global-number syntax.</p>
<p>&#8211;Bob.</p>
<div style="border:thin solid black;background: #888;margin-left:auto;margin-right:auto;margin-top:2ex;margin-bottom:4ex;width: 80%;padding:3em;text-align:center">Need a consultant? Bob Jonkman can be reached by telephone at <b>+1-519-635-9413</b></div>
<h4 id="References">References:</h4>
<ul>
<li>
<p><a name="E.123" id="E.123" href="#E.123" title="References: E.123">[E.123]</a> ITU-T Recommendation E.123: Telephone Network and ISDN<br />
Operation, Numbering, Routing and Mobile Service: Notation<br />
for National and International Telephone Numbers. 1993.<br />
<a href="http://www.itu.int/rec/recommendation.asp?type=items&amp;lang=e&amp;parent=T-REC-E.123-200102-I" title="E.123 : Notation for national and international telephone numbers, e-mail addresses and Web addresses">http://www.itu.int/rec/recommendation.asp?type=items&amp;lang=e&amp;parent=T-REC-E.123-200102-I</a></p>
<p>&nbsp;</p>
</li>
<li>
<p>A summary of [E.123] is available on Google Groups:<br />
<a href="http://groups-beta.google.com/group/comp.std.internat/msg/24fc32228689a620?dmode=source" title="Google Groups - Need ITU-T E.123 summary - comp.std.internat">http://groups-beta.google.com/group/comp.std.internat/msg/24fc32228689a620?dmode=source</a></p>
<p>&nbsp;</p>
</li>
<li>
<p><a name="E.164" id="E.164" href="#E.164" title="References">[E.164]</a> ITU-T Recommendation E.164/I.331 (05/97): The International<br />
Public Telecommunication Numbering Plan. 1997.<br />
<a href="http://www.itu.int/rec/recommendation.asp?type=items&amp;lang=e&amp;parent=T-REC-E.164-200502-I" title="E.164 : The international public telecommunication numbering plan">http://www.itu.int/rec/recommendation.asp?type=items&amp;lang=e&amp;parent=T-REC-E.164-200502-I</a></p>
<p>&nbsp;</p>
</li>
<li>
<p>A summary of [E.164] is available on Wikipedia:<br />
<a href="https://secure.wikimedia.org/wikipedia/en/wiki/E.164" title="Wikipedia - E.164">https://secure.wikimedia.org/wikipedia/en/wiki/E.164</a></p>
<p>&nbsp;</p>
</li>
<li>
<p><a name="ITU" id="ITU" href="#ITU" title="References: ITU">[ITU]</a><br />
International Telecommunications Union -<br />
Telecommunications Standardization Sector (ITU-T)<br />
Phillips Business Information Inc. <br />
1201 Seven Locks Road, Suite 300<br />
Potomac, MD 20854</p>
<p>or call: +1-800-666-4266</p>
<p>&nbsp;</p>
</li>
<li>
<p>See also: INTERNATIONAL DIALING CODES<br />
<a href="http://countrycode.org/" title="Country Codes, Phone Codes, Dialing Codes, Telephone Codes, ISO Country Codes">http://countrycode.org/</a></p>
<p>&nbsp;</p>
</li>
<li>
<p><a name="RFC3191" id="RFC3191" href="#RFC3191" title="References: RFC3191">RFC3191</a>: Minimal GSTN address format in Internet Mail<br />
<a href="https://tools.ietf.org/html/rfc3191" title="Minimal GSTN address format in Internet Mail">https://tools.ietf.org/html/rfc3191</a></p>
<p>&nbsp;</p>
</li>
<li>
<p><a name="RFC3192" id="RFC3192" href="#RFC3192" title="References: RFC3192">RFC3192</a>: Minimal FAX address format in Internet Mail<br />
<a href="https://tools.ietf.org/html/rfc3192" title="Minimal FAX address format in Internet Mail">https://tools.ietf.org/html/rfc3192</a></p>
<p>&nbsp;</p>
</li>
<li>
<p><a name="RFC3966" id="RFC3966" href="#RFC3966" title="References: RFC3966">RFC3966</a>: The tel URI for Telephone Numbers<br />
<a href="https://tools.ietf.org/html/rfc3966" title="The tel URI for Telephone Numbers">https://tools.ietf.org/html/rfc3966</a></p>
<p>&nbsp;</p>
</li>
<li>
<p><a name="RFC2846" id="RFC2846" href="#RFC2846" title="References: RFC2846">RFC2846</a>: GSTN Address Element Extensions in E-mail Services<br />
<a href="https://tools.ietf.org/html/rfc2846" title="GSTN Address Element Extensions in E-mail Service">https://tools.ietf.org/html/rfc2846</a></p>
<p>&nbsp;</p>
</li>
<li>
<p><a name="RFC3601" id="RFC3601" href="#3601" title="References: RFC3601">RFC3601</a>: Text String Notation for Dial Sequences and Global Switched Telephone Network (GSTN) / E.164 Addresses<br />
<a href="https://tools.ietf.org/html/rfc3601" title="Text String Notation for Dial Sequences and Global Switched Telephone Network (GSTN) / E.164 Addresses">https://tools.ietf.org/html/rfc3601</a></p>
</li>
</ul>
<p style="font-size:smaller">Image: <a href="http://www.flickr.com/photos/lwr/9257237/" title="Flickr - Leo Reynolds - Telephone Dial">Telephone Dial</a> by Leo Reynolds, used under <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en" title="Creative Commons - Attribution-Noncommercial-Share Alike 2.0 Generic">Creative Commons v2.0 BY-NC-SA</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bob.jonkman.ca/blogs/2010/03/20/telephone-number-format-standards/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Blocking port 25 considered harmful</title>
		<link>http://bob.jonkman.ca/blogs/2008/12/10/blocking-port-25-considered-harmful/</link>
		<comments>http://bob.jonkman.ca/blogs/2008/12/10/blocking-port-25-considered-harmful/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 18:29:00 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[considered harmful]]></category>
		<category><![CDATA[dnsbl]]></category>
		<category><![CDATA[dslreports]]></category>
		<category><![CDATA[port blocking]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[teksavvy]]></category>

		<guid isPermaLink="false">http://bob.jonkman.ca/blogs/2008/12/10/blocking-port-25-considered-harmful/</guid>
		<description><![CDATA[Blacklist services don't block e-mail, they merely provide an opinion of an IP’s reputation as a mail server.  Receiving mail servers are the ones that block e-mail, sometimes based on a poor opinion provided by a blacklist.]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_618" class="wp-caption alignright" style="width: 310px"><a href="http://bob.jonkman.ca/blogs/?attachment_id=618"><img src="http://bob.jonkman.ca/blogs/files/2011/11/coffeine-abuse-300x200.jpg" alt="Coffee cup with a broken handle on a cluttered desk" title="Coffeine abuse" width="300" height="200" class="size-medium wp-image-618" /></a><p class="wp-caption-text">Coffeine abuse by maciekbor</p></div>Over in the <a title="TekSavvy forum - dslreports.com broadband community" href="http://www.dslreports.com/forum/teksavvy">Teksavvy Forum</a> at DSLReports <a title="DSLReport user R0cky" href="http://www.dslreports.com/profile/1206349">Rocky Gaudrault</a>, the owner of my ISP, <a title="Teksavvy Solutions Inc." href="http://teksavvy.com/">Teksavvy</a>, started a discussion on blocking port 25 entitled &#8220;<a title="DSLReports: Forums » O Canada! » Canadian » TekSavvy » Argg.... UCEPROTECT... very frustrating!" href="http://www.dslreports.com/forum/r21545801-Argg-UCEPROTECT-very-frustrating">Argg&#8230;. UCEPROTECT&#8230; very frustrating!</a>&#8220;.  This is <a title="Bob Jonkman's reply to R0cky: &quot;Argg.... UCEPROTECT... very frustrating!&quot;" href="http://www.dslreports.com/forum/r21558725-Re-Argg-UCEPROTECT-very-frustrating">my reply</a>:</p>
<blockquote><p>Two cents I&#8217;d like to contribute:
</p>
<p>
The <a title="UCEPROTECT®-Network - Germanys first Spam protection database" href="http://www.uceprotect.net/en/index.php">UCEPROTECT</a> service isn&#8217;t blocking e-mail, it merely provides an opinion on an IP&#8217;s reputation as a mail server. Technically, this opinion is expressed with a <a title="Wikipedia: Domain Name System Blocking List" href="http://en.wikipedia.org/wiki/DNSBL">DNSBL</a>.
</p>
<p>
When mail doesn&#8217;t get delivered, it&#8217;s the receiving mail server that blocks it, not UCEPROTECT. The recipient may reject the mail based on the opinion of the DNSBL, but if that DNSBL gives bogus information then the recipient will be blocking legitimate mail. The fault is with the mail recipient for choosing a poor DNSBL. It&#8217;s not Teksavvy customers who can&#8217;t send e-mail, it&#8217;s the recipients who are refusing to accept it.
</p>
<p>
Even if Teksavvy did block port 25, there&#8217;s no guarantee that poor DNSBL services would whitelist Teksavvy&#8217;s servers. DNSBLs are run at the whim of their operators, and they can blacklist anything they like. The people who use these services need to understand that they&#8217;re letting someone else decide what mail they can receive, completely out of their control.
</p>
<p>
Port blocking is ineffective as a spam fighting technique &#8212; ISPs started port blocking in 2001, but if port blocking is so good, why is there still spam? Most spam still comes from disreputable bulk mailers running large-scale operations. Remember the <a title="Google News: McColo" href="http://www.google.ca/news?q=mccolo">McColo servers</a> from a few weeks ago? When that one operation was shut down there were reports that spam volumes dropped by 30%. To fight spam, concentrate on the large-scale spammers.
</p>
<p>
There are lots of spambots running on poorly protected home computers, but that&#8217;s a symptom of poor security. Blocking port 25 won&#8217;t fix the security problem. To fight poor security it&#8217;s far better to identify the compromised computers, and provide them with tech support to fix the problem. Teksavvy is in a better position to do that than any other service provider I know.
</p>
<p>
There is no benefit to Teksavvy customers in blocking port 25 &#8212; It doesn&#8217;t protect Teksavvy customers from spam. It might protect other ISP&#8217;s customers from Teksavvy spammers, but it also denies Teksavvy customers full access to the Internet. Full, unblocked access is one of the main differentiators that Teksavvy brings to the market. Don&#8217;t give that up, Rocky.
</p>
<p>
Blocking ports also prevents legitimate services. <a title="RFC2821 - Simple Mail Transfer Protocol - Section 2.2 The Extension Model" href="http://tools.ietf.org/html/rfc2821#section-2.2">ESMTP</a> extensions like <a title="RFC3464 - An Extensible Message Format for Delivery Status Notifications" href="http://tools.ietf.org/html/rfc3464">DSN</a> rely on a direct connection to transfer Delivery Status Notifications. If a relay server doesn&#8217;t implement DSN then status notifications don&#8217;t get through. If port blocking is turned on, the smart host providing the relay service had better implement every ESMTP extension that exists. And that could still block other services that rely on unfettered access to port 25 (<a title=" RFC 2447 - iCalendar Message-Based Interoperability Protocol (iMIP)" href="http://tools.ietf.org/html/rfc2447">iMIP</a> anyone?)
</p>
<p>
Blocking one port today is the thin edge of the wedge to blocking other services. Already I&#8217;ve seen requests for blocking ports 137 and other Netbios ports. If Teksavvy starts port blocking then every time there&#8217;s a new vulnerability the Teksavvy execs will need to agonize over whether to block or not. DNS is broken? Block port 53. There&#8217;s child porn on Usenet? Block port 119. <abbr title="Canadian Recording Industry Association">CRIA</abbr> threatens to shut down encrypted filesharing? Block port 443. If Teksavvy has a policy of no port blocking, all these decisions are moot.
</p>
<p>
I left Rogers because of port blocking, and came to Teksavvy because of unfettered access. Please don&#8217;t take that away.
</p>
<p>
&#8211;Bob.</p>
</blockquote>
<hr />
<p style="font-size:smaller"><a href="https://secure.flickr.com/photos/maciekbor/2403213825/" title="Coffeine abuse | Flickr - Photo Sharing!">Coffeine Abuse</a> by <a href="https://secure.flickr.com/people/maciekbor/" title="Flickr: maciekbor">maciekbor</a> is used under a <a href="https://creativecommons.org/licenses/by/2.0/deed.en" title="Creative Commons — Attribution 2.0 Generic — CC BY 2.0:"><img src="https://i.creativecommons.org/l/by/3.0/88x31.png" alt="CC-BY" width="88" height="31" style="float:left;" />Creative Commons Attribution</a> license.</p>
]]></content:encoded>
			<wfw:commentRss>http://bob.jonkman.ca/blogs/2008/12/10/blocking-port-25-considered-harmful/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

