This very well may be a nooby question, but currently it's required to put the 8080/webmail on the end like so: https://example.com:8080/webmail. I'm probably not wording my google search right, but I'd like it to be either https://mail.example.com or if not that then https://example.com/webmail. Can someone point me in the right direction?
What OS? I believe the debian roundcube package sets up /roundcube globally so it would work on all your sites. I just created a redirect from /webmail to the control panel's hostname, so that you never have ssl certificate warnings (not a problem if all your sites have ssl setup, but not all of ours do, so this was our solution): Code: # cat /etc/apache2/conf-enabled/webmail.conf # This makes the 'webmail.*' convenience hostname work on each domain. # We redirect to the local server's hostname to avoid SSL errors. <If "%{HTTP_HOST} =~ /^(webmail|roundcube)\./"> RedirectMatch permanent "(.*)" https://your-control-panel.domain.com/roundcube/ </If> # Same for /webmail paths RedirectMatch permanent "^/webmail(/.*)?$" https://your-control-panel.domain.com/roundcube/ <Directory /var/lib/roundcube/> <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" Header always set X-Content-Type-Options: nosniff Header always set X-Frame-Options: SAMEORIGIN Header always set X-XSS-Protection: "1; mode=block" Header unset Content-Security-Policy Header add Content-Security-Policy "default-src https: 'unsafe-inline' 'unsafe-eval';connect-src https: wss:" Header always edit Set-Cookie (.*) "$1; HTTPOnly; Secure" </IfModule> </Directory>
Hi, I have the same exact question in an active thread right next to yours, except using nginx and squirrelmail. I have searched and been unable to find an answer to our question, so hopefully we will resolve this for many other people like us soon. My thread for reference: https://www.howtoforge.com/communit...ng-letsencrypt-with-squirrelmail-nginx.75838/