Latest Posts

Most Popular Posts

Email Address Specifications

Posted By Chris Stinson in General on September 23, 2007

I’ve been asked a few questions on email addresses and their limitations or recommended practices as a server administrator. I will outline a small bit of information in regards to valid email addresses, server types and spam evasion.

The Internet Engineering Task Force RFC (Request for Comment) 2821 defines the local part of an SMTP email address a maximum of 64 characters. This of course is not set in stone and many servers will accept more than 64 characters for the local area of an address (the part before the @ sign). Domain names are limited to a maximum of 255 characters which is enforced by the domain registrars.

In the early days of the Internet, the local part of an SMTP address was most often in lowercase ASCII characters. For the most part they still are, but it looks as if system administrators bowing to corporate pressure (or something!), have allowed users to have their names with uppercase first characters. This creates a problem: Many people still have the idea that all email addresses are lowercase (which is technically wrong, but mostly accurate) and others believe they are case-sensitive (which is technically right, but mostly inaccurate). So because of this confusion system administrators are forced to make their domain policy case-insensitive such that users can have Chris@domain.com, chris@domain.com, CHRIS@domain.com and all other variations point to the same SMTP address. This effectively reduces the number of possible addresses available on a system. This is similar to the folder structure problem of UNIX and Windows web servers. On UNIX, the folder /Chris is different from /chris, while on IIS /Chris is the same folder as /chris.

According to RFC 2822, the local-part of the address may use any of these ASCII characters:
Uppercase and lowercase letters (case sensitive)
The digits 0 through 9
The characters ! # $ % * / ? | ^ { } ` ~ & ‘ + – =
The underscore _
The stop/period character . provided that it is not the first or last character in the local-part.

For the most part the upper and lower case characters, numerals and the period do not pose a problem for servers. Where problems occur is the use of the special characters: ! # $ % * / ? | ^ { } ` ~ & ‘ + – =. Have you ever seen an email address containing those? Probably not. For interoperability between operating system and mail system types, disallowing those characters is essential. There are some tricks to using those special characters, for example to use [ and ] they have to be encapsulated in quotations. [chris]@domain.com is invalid, whereas “[chris]“@domain.com IS. You can also have a space character if enclosed in quotations. Just stay away from these characters as people will be confused.

To combat spam, people have started typing their email addresses in forums and blogs as name[something]@doman.com, or [name]@domain.com. While some administrator must have in the past mentioned this as a good way to confuse email harvesters, it is no longer the case. Old harvesters used to rely on regular expressions and syntactically correct email structure to harvest addresses so emails with special characters would have been taken and recorded as verbatim. The address would have then been invalid since it wasn’t the user’s real address. Harvesters are now programmed with the idea that users are ignorant of email policy and throw special characters in their address to confuse spam-bots. They now automatically take those special characters out when harvesting addresses.

So what to do to confuse them? Put real words in the address that must be taken out. For example chrisssss@domain.com (take out the ssss) is more effective than chris[at]domain.com. It’s simply too bad for chrisssss@domain.com if there is such an address.


(No Ratings Yet)

This is not completely server related, so forgive me as I deviate.

When I posted a certain tip on using vBullet*n and Photopo*t, I didn’t realize what sort of avalanche of comments I would get. I get a few spam comments for each post, but I have received over 1000 spam comments based solely on those two keywords. Why? Bots scour the internet searching for “Powered by vBullet*n” and other related terms and then attack the forms on the pages of that site, trying to send comment spam on forums, etc. By posting those keywords into my tips earlier, it opened up the door for countless spam comments.

So a tip to those who have vBullet*n, photoPo*t or wordpress with those keywords in posts, try not to use those words on your site! If you do have the above mentioned forum software, pay for the de-branding option, it’ll save your forum a bunch of spam attacks and even bandwidth.


(No Ratings Yet)

While shopping around for SSL Certificates I decided to compile a short table to compare the various ones available. It is available below. They are all 128/256 bit encryption targeted for web applications.

Provider Name Price/Year ($US) Accepted Browsers Validation Max. Reg. Years Assurance Warranty ($US)
Comodo EnterpriseSSL Elite $139.00 Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 500000
Comodo EnterpriseSSL Gold $229.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 750000
Comodo EnterpriseSSL Platinum $399.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 1000000
Comodo EnterpriseSSL Platinum Wildcard $999.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 1000000
Comodo InstantSSL $79.95 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 10000
Comodo InstantSSL Pro $109.95 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 100000
Comodo PremiumSSL $179.95 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 250000
Comodo PremiumSSL Wildcard $449.95 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 3 High 250000
Entrust Web server certificate $149.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 1 High 1000
GeoTrust QuickSSL $169.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain only 5 Low 10000
GeoTrust QuickSSL Premium $249.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain only 5 Low 10000
GeoTrust True BusinessID $349.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 5 High 10000
GeoTrust True BusinessID Wildcard $899.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain ownership and Company Legitimacy 5 High 10000
GoDaddy High-Assurance SSL $89.95 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Mozilla Domain ownership and Company Legitimacy 5 High 1000
GoDaddy High-Assurance SSL Wildcard $299.95 Internet Explorer, Firefox, Opera, Netscape, AOL, Mozilla Domain ownership and Company Legitimacy 3 High 1000
GoDaddy Turbo SSL $29.95 Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain only 10 Low 1000
GoDaddy Turbo SSL Wildcard $199.95 Mozilla, Internet Explorer, Firefox, Opera, Netscape, AOL, Mozilla Domain only 10 Low 1000
Comodo PositiveSSL $14.95 Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain only 5 Low -
Comodo PositiveSSL Wildcard $189.95 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain only 5 Low -
Thawte SGC Super certificate $449.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain only 2 High -
Thawte Web server certificate $199.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Domain only 2 High -
Verisign Commerce Site Pro Certificate $1,395.00 Mozilla, Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Mozilla Domain ownership and Company Legitimacy 2 High 250000
Verisign Managed PKI for SSL Premium $695.00 Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Mozilla Domain ownership and Company Legitimacy 2 High 250000
Verisign Secure Site Pro Certificate $995.00 Internet Explorer, Firefox, Safari, Opera, Netscape, AOL, Mozilla Domain ownership and Company Legitimacy 2 High 250000


(average: 4.00 out of 5)

Here are a few TCP / UDP Ports you might come across. It is useful when applying TCP/IP Filtering to make sure all your services continue working :)

Port Protocol Description
20 TCP FTP (File Transfer Protocol) – data port
21 TCP FTP – control (command) port
22 TCP SSH (Secure Shell) – used for secure logins, file transfers (scp,sftp) and for forwarding
23 TCP Telnet protocol – Unencrypted text communications
25 TCP SMTP (Simple Mail Transfer Protocol) – used for sending emails
53 TCP DNS (Domain Name Server)
70 TCP Gopher protocol
79 TCP Finger protocol
80 TCP HTTP (Hyper Text Transfer Protocol)
88 TCP Kerberos – Authenticating agent
110 TCP POP3 (Post Office Protocol version 3) Email retrieval
119 TCP NNTP (Network News Transfer Protocol) – Used to retrieve newsgroup messages
123 UDP NTP (Network Time Protocol) – Used for time synchronization
139 TCP NetBIOS
143 TCP IMAP4 (Internet Message Access Protocol) Used to retrieve email
161 UDP SNMP (Simple Network Management Protocol)
179 TCP BGP (Border Gateway Protocol)
194 TCP IRC (Internet Relay Chat)
389 TCP LDAP (Lightweight Directory Access Protocol)
443 TCP HTTPS – HTTP over SSL (encrypted transmission)
445 TCP Microsoft-DS (Active Directory, Windows shares, Sasser Worm, Agobot, Zobot Worm)
445 UDP Microsoft-DS SMB file sharing
514 UDP Syslog Protocol – Used for system logging
540 TCP UUCP (Unix-to-Unix Copy Protocol)
554 TCP RTSP (Real Time Streaming Protocol)
636 TCP LDAP over SSL (encrypted transmission)
993 TCP IMAP4 over SSL (encrypted transmission)
995 TCP POP3 over SSL (encrypted transmission)
1080 TCP SOCKS proxy
1194 UDP OpenVPN
1433 TCP Microsoft SQL database system
1434 TCP Microsoft SQL Monitor
1434 UDP Microsoft SQL Monitor
1521 TCP Oracle database default listener
1723 TCP Microsoft PPTP VPN
1723 UDP Microsoft PPTP VPN
1863 TCP MSN Messenger
2082 TCP CPanel’s default port
2083 TCP CPanel’s default port for SSL connection
2086 TCP WebHost Manager’s default port
2087 TCP WebHost Manager’s default port for SSL connections
2095 TCP CPanel’s default port for webmail connections
2096 TCP CPanel’s default port for webmail connections via SSL
3306 TCP MySQL Database System
3389 TCP Microsoft Terminal Server (Remote Desktop, RDP), Windows Based Terminal (WBT)
5190 TCP AOL and AOL Instant Messenger
5222 TCP XMPP/Jabber – client connection
5223 TCP XMPP/Jabber – default port for SSL Client Connection
5269 TCP XMPP/Jabber – server connection
5432 TCP Postgre SQL database system
5517 TCP Setiqueue Proxy server client for SETI@Home project
5800 TCP VNC remote desktop protocol – for use over HTTP
6667 TCP IRC
6668 TCP IRC
6669 TCP IRC
6891-6900 TCP/UDP MSN Messenger (File Transfer)
6901 TCP/UDP MSN Messenger (Voice)
8000 TCP iRDMI (used for internet radio streams)
8080 TCP HTTP Alternate
31337 TCP Back Orifice – remote administration tool (often a trojan)
49152-65535 TCP/UDP Dynamic Port Range.

(No Ratings Yet)

The post below talks about processor affinity and setting IIS to use only one processor to increase stability of certain applications (PHP ISAPI anyone?).

You can set the affinity by opening Task Manager and selecting w3svc.exe or inetinfo.exe on the Processes tab. Right click and choose Set Affinity. Uncheck the processors which should not execute the application.

This is a temporary solution since it is reset once you restart Windows or IIS. Some people often disregard setting processor affinity as a fix since it never seems to work…but this is because they don’t set it permanently. Below is how to set the processor affinity permanently.

Grab the Imagecfg.exe tool from the \support\debug\i386 folder of a Windows NT 4.0, or the Imagecfg.exe tool from the Windows 2000/2003 Server Resource Kit.

Open a CMD prompt and type:

imagecfg -a 0xn drive:\Path\program.exe

where 0xn is the affinity mask and drive:\Path\program.exe is the program you wish to set. The mask indicates which processor is to run the desired application. On a dual-core system, you use CPUs 0 and 1 (not 1 and 2).

CPU MASK
0 0x1
1 0x2
2 0x4
3 0x8


(average: 5.00 out of 5)

Page 7 of 7« First...34567

What do you use Virtualization for?

View Results

Loading ... Loading ...