This is a re-post of the information from the moens.ch blog (which no longer exists) pulled from archive.org. Part of a discussion on Stack Overflow. I have not personally validated any of this yet. Use at your own risk.
If you’ve ever configured a Gmail or Hotmail account in a mail client such as Thunderbird, Outlook or Apple Mail you will have noticed that all it asks of you is your username and password and automatically sets up the mail server hostnames, port numbers and connection settings. However, if you set up an email account hosted on your own mail server run on non-proprietary your mail client – at best – tries to make an educated guess as to what your SMTP and IMAP servers are. If you follow certain standards (e.g. calling your SMTP server smtp.maildomain...Read More