This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Webmail Access
#11
RE: Webmail Access
Records have been propogated. The records have been created for over 6 months already. The issue seems to lie on web server.
Reply
Thanks given by:
#12
RE: Webmail Access
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#13
RE: Webmail Access
I am not sure what you mean here. What should the configuration look like?
Reply
Thanks given by:
#14
RE: Webmail Access
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>
Reply
Thanks given by:
#15
RE: Webmail Access
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.)
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#16
RE: Webmail Access
Got it, thanks.
Reply
Thanks given by:
#17
RE: Webmail Access
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
Reply
Thanks given by:
#18
RE: Webmail Access
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>
Reply
Thanks given by:
#19
RE: Webmail Access
(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.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Webmail Send / Receive works but Outlook doesn't | Digital Ocean dipakcg 12 37 ,595 04-17-2020, 04:52 PM
Last Post: iraqiboy90
[Help] I have some webmail errors quangpham89 5 14 ,451 08-23-2017, 11:49 PM
Last Post: TGates
cant recevice email on my webmail , programer 1 5 ,676 07-03-2017, 04:53 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)