OT: How do mail clients discover submission and imap servers

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

OT: How do mail clients discover submission and imap servers

Martijn de Munnik-2
Hi List,

This is not a real postfix related question…

We offer e-mail services to our customers and some of our customers have a hard time configuring their mail client. I noticed that most mail clients try to 'find' the correct settings when an account is configured. So the mail client (at least the ones I've tried) only ask for a friendly username, mail address and password and then they try to find the servers.
First I thought this was done by requesting the appropriate SRV records in DNS so I set them up for our domain (youngguns.nl) and tried to configure an account in Thunderbird with no success. So mail clients don't seem to use SRV records.
Does anybody know what technique is behind the auto-discovery?

thanks,
Martijn
Reply | Threaded
Open this post in threaded view
|

Re: OT: How do mail clients discover submission and imap servers

Eero Volotinen-2
On 1/10/10 10:17 PM, Martijn de Munnik wrote:
> Hi List,
>
> This is not a real postfix related question…
>
> We offer e-mail services to our customers and some of our customers have a hard time configuring their mail client. I noticed that most mail clients try to 'find' the correct settings when an account is configured. So the mail client (at least the ones I've tried) only ask for a friendly username, mail address and password and then they try to find the servers.
> First I thought this was done by requesting the appropriate SRV records in DNS so I set them up for our domain (youngguns.nl) and tried to configure an account in Thunderbird with no success. So mail clients don't seem to use SRV records.
> Does anybody know what technique is behind the auto-discovery?

Well, it looks like fuzzy logic: some dns lookups + common ports on
mail, mx, smtp -prefixed hostnames?

--
Eero
Reply | Threaded
Open this post in threaded view
|

Re: OT: How do mail clients discover submission and imap servers

Martijn de Munnik-2

On Jan 10, 2010, at 9:24 PM, Eero Volotinen wrote:

> On 1/10/10 10:17 PM, Martijn de Munnik wrote:
>> Hi List,
>>
>> This is not a real postfix related question…
>>
>> We offer e-mail services to our customers and some of our customers have a hard time configuring their mail client. I noticed that most mail clients try to 'find' the correct settings when an account is configured. So the mail client (at least the ones I've tried) only ask for a friendly username, mail address and password and then they try to find the servers.
>> First I thought this was done by requesting the appropriate SRV records in DNS so I set them up for our domain (youngguns.nl) and tried to configure an account in Thunderbird with no success. So mail clients don't seem to use SRV records.
>> Does anybody know what technique is behind the auto-discovery?
>
> Well, it looks like fuzzy logic: some dns lookups + common ports on mail, mx, smtp -prefixed hostnames?

I was hoping that was not the answer ;) We try to let our customers use the submission port and imaps port. We have a SSL certificate for secure.youngguns.nl but it seems most mail clients are just trying mail.example.com on smtp en imap ports if the the mail address is [hidden email]
>
> --
> Eero
>

Reply | Threaded
Open this post in threaded view
|

Re: OT: How do mail clients discover submission and imap servers

Eero Volotinen-2
On 1/10/10 10:32 PM, Martijn de Munnik wrote:

>
> On Jan 10, 2010, at 9:24 PM, Eero Volotinen wrote:
>
>> On 1/10/10 10:17 PM, Martijn de Munnik wrote:
>>> Hi List,
>>>
>>> This is not a real postfix related question…
>>>
>>> We offer e-mail services to our customers and some of our customers have a hard time configuring their mail client. I noticed that most mail clients try to 'find' the correct settings when an account is configured. So the mail client (at least the ones I've tried) only ask for a friendly username, mail address and password and then they try to find the servers.
>>> First I thought this was done by requesting the appropriate SRV records in DNS so I set them up for our domain (youngguns.nl) and tried to configure an account in Thunderbird with no success. So mail clients don't seem to use SRV records.
>>> Does anybody know what technique is behind the auto-discovery?
>>
>> Well, it looks like fuzzy logic: some dns lookups + common ports on mail, mx, smtp -prefixed hostnames?
>
> I was hoping that was not the answer ;) We try to let our customers use the submission port and imaps port. We have a SSL certificate for secure.youngguns.nl but it seems most mail clients are just trying mail.example.com on smtp en imap ports if the the mail address is [hidden email]

see: https://bugzilla.mozilla.org/show_bug.cgi?id=450710 and
https://wiki.mozilla.org/Thunderbird:Autoconfiguration

--
Eero