Page 1 of 1

Access to Email with webmail and email client

Posted: Sun 24. Apr 2022, 19:51
by diegoge
Hi everyone.
I have two questions related to email access.
1. Can I have a secure https connection to the address webmail.<mydomain>?. I tried registering it as a subdomain but it didn't work.

2. To access from a mail client, what is the way to configure the Imap/pop with mail.<mydomain>? currently I only see the domain <mydomain> and the domain of the host

I appreciate your responses

Re: Access to Email with webmail and email client

Posted: Sun 24. Apr 2022, 20:30
by Jolinar
diegoge wrote: Sun 24. Apr 2022, 19:51 Can I have a secure https connection to the address webmail.<mydomain>?
In example you can use a reverse proxy, take a look there ->
viewtopic.php?p=20441#p20441

diegoge wrote: Sun 24. Apr 2022, 19:51 To access from a mail client, what is the way to configure the Imap/pop with mail.<mydomain>?
Normally this is configured automatically by the client via the Autoconfig/Autodiscover information the server provides to the client.

Re: Access to Email with webmail and email client

Posted: Mon 25. Apr 2022, 09:05
by Alexander
Hello,

Thanks to the new mail server SNI feature of the latest KeyHelp update, every domain which is protected by an TLS/SSL certificate and which is marked as can-be-used-for-email can be used.
So you can create the domains webmail.<mydomain>, imap.<mydomain>, etc.; equip them with a Let's Encrypt certificate and mark them as email domain
(this can be done via KeyHelp Admin Area -> Domains -> Select the webmail.<mydomain> for editing -> Tick the checkbox "Email domain").

After the setup, all of those domains can also be used as server name in your email client.

Note: These domains are not shown in the connection information window, to not clutter the view. Also the Autoconfig/Autodisover will for now always return the general server name as Server domain.

Re: Access to Email with webmail and email client

Posted: Wed 6. Dec 2023, 09:00
by stephan-ipt
Hi Alexander

if i do KeyHelp Admin Area -> Domains -> Select the webmail.<mydomain> for editing -> Tick the checkbox "Email domain")

after when i go on https://webmail.mydomain.com i'n not go to roncube but default page website

in admin area i have also use
Keep the domain name
The domain name in the address bar remains unchanged.
Insecure access via http:// will be redirected to a secure https:// connection.

it's possible to have for each webmail.domaine.com a SSL for rondcube ?
actually i have ssl for myserver.com/webmail

thanks for help
stephan

Re: Access to Email with webmail and email client

Posted: Wed 6. Dec 2023, 09:41
by Alexander
after when i go on https://webmail.mydomain.com i'n not go to roncube but default page website
It depends on what you have setup at your Domain provider. You need to check those settings there.

it's possible to have for each webmail.domaine.com a SSL for rondcube ?
For now, can create a domain "webmail.<DOMAIN>" for each main domain, and protect it via SSL. Than redirect it to the webmail location.
You can also use the API for that, to automate things.
A automated solution (without any manual work) will at some point be implemented in KeyHelp.

Re: Access to Email with webmail and email client

Posted: Wed 6. Dec 2023, 10:12
by stephan-ipt
thanks
my webmail.domain.com have IP server in A record
so no problem

if i configure redirection to myserver.com/webmail and don't use local repertorie
i have my https://webmail.domaine.com to https//:myserver.com/webmail
and i loose url https://webmail.domaine.com

i want to keep https://webmail.domaine.com for rondcube

it's possible ?

Re: Access to Email with webmail and email client

Posted: Wed 6. Dec 2023, 15:06
by Florian
Hallo,

at the moment this is only possible if you create teh webmail subdomai and use mod_proxy:

viewtopic.php?p=38131#p38131

Do not forget to run:

Code: Select all

a2enmod proxy_http
before using Proxy requests