Do they have all to use the same entry as incomming and outgoing server?
Yes. Right now, your clients have to use the same FQDN in their mail client(s). See below for the reasons.
I like to have the customers domain name like imap.<customer.domain> and smtp.<customer.domain>. Will this also work with the next LetsEncrypt version?
No. To make this working as you want, this means that we should add for each customer domain, the following SANs (Subject Alternative Names) in the SSL certificate:
- imap.<domain.tld>
- smtp.<domain.tld>
- pop.<domain.tld>
For instance, if you have 40 domains, we should add 120 SANs in the SSL certificate. This is not viable for many reasons:
- The LetsEncrypt SSL certificates are limited up to 100 SANs.
- Each time a new domain would be added, the SSL certificate should be expanded (This would pose problems with the 'Per Registered Domain 'LetsEncrypt rate limit)
- Each time a domain would be deleted, the SSL certificate should be shrinked (This would pose problems with the 'Per Registered Domain' LetsEncrypt rate limit)
Another solution would be to use one SSL certificate per registered domain containing the imap, smtp and pop SANs but this means one IP per domain (Postfix doesn't support SNI). That solution is hard to implement and not viable for big hosting compagnies. Most of time, customers share the same IP. I doubt that if you have 400 domains, you'll have one IP for each of them...
Note: In near future, we will add imap, pop, smtp and ftp SANs in the SSL certificate but not for all domains. They will be added only for the server domain according Planned changes regarding DNS managements
See also