Sentora Support Forums

Full Version: Webmail Access
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Records have been propogated. The records have been created for over 6 months already. The issue seems to lie on web server.
So be sure over the vhost you are creating.

Notice the above setup webmail.*:80 is not good as it lack openbase_dir and suhosin lock down.

M B
I am not sure what you mean here. What should the configuration look like?
So will this work or not? or why doesn't it take the request to webmail?
<VirtualHost *:80>
 ServerAdmin webmaster[at]domain.com
 DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
 ServerName webmail.domain.com
 AddType application/x-httpd-php .php3 .php
 <Directory /etc/sentora/panel/etc/apps/webmail/>
   Options FollowSymLinks Indexes
   AllowOverride All
   Order Allow,Deny
   Allow from all
 </Directory>
<VirtualHost>
This is what I use for my main domain on Ubuntu 14.04 and it works just fine:

Code:
</VirtualHost> # Configuration for WebMail - webmail.yoursite.tld <VirtualHost *:80> ServerAdmin webmaster@domain.com DocumentRoot "/etc/sentora/panel/etc/apps/webmail/" ServerName webmail.domain.com AddType application/x-httpd-php .php3 .php <Directory />   Options +FollowSymLinks -Indexes    AllowOverride All    Require all granted </Directory>
(Change domain.com with your own)
Also, do not forget to add a CNAME record for webmail both in Sentora and you registrar (depending on your setup.)
Got it, thanks.
Hi,

I have a problem related with this.
I am trying to configure a sub domain for my Roundcube webmail.... like webmail.domain.tld
I did as TGates mentioned above... but I got a  "Internal Server Error" message.
DNS Record was already created for webmail.domain.tld.
This is what I got in apache error log:
Quote:[Thu Aug 18 09:18:34 2016] [crit] [client x.x.x.x] configuration error: couldn't perform authentication. AuthType not set!: /favicon.ico, referer: http://webmail.domain.tld/

I read all posts in this thread but there's a lot of advises for different OS's that is so confusing to know which one to follow. I know, every case is different.

I used apache config in sentora panel but that only appends my configuration to the one it does even if I override my subdomain for webmail.

Don't know where and what to check. Undecided
this is working for me

# Configuration for WebMail
<VirtualHost *:443>
ServerAlias mail.*
DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/etc/apps/webmail/">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>

# Custom settings are loaded below this line (if any exist)
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCMBig GrinH+AESGCM:ECDH+AES256Big GrinH+AES256:ECDH+AES128Big GrinH+AES:ECDH+3DESBig GrinH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
SSLCertificateFile /etc/letsencrypt/live/mail.domain.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mail.domain.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/mail.domain.com/chain.pem
# Keeping bellow for future upgrades.
# Requires Apache >= 2.4
SSLCompression off
</VirtualHost>
(09-22-2016, 06:47 PM)shaylami Wrote: [ -> ]this is working for me

# Configuration for WebMail
<VirtualHost *:443>
ServerAlias mail.*
DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/etc/apps/webmail/">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>

# Custom settings are loaded below this line (if any exist)
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCMBig GrinH+AESGCM:ECDH+AES256Big GrinH+AES256:ECDH+AES128Big GrinH+AES:ECDH+3DESBig GrinH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
SSLCertificateFile /etc/letsencrypt/live/mail.domain.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mail.domain.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/mail.domain.com/chain.pem
# Keeping bellow for future upgrades.
# Requires Apache >= 2.4
SSLCompression off
</VirtualHost>

Huh
You should not be using mail.domain.com as an actual sub domain. This is reserved for the mail server specifically. You should be using something like webmail.domain.com or email.domain.com for example.
Pages: 1 2