You can NOT use 'mail.domain.com' since this is reserved for your actual mail server connections! Delete it from sub domains.
You did not read the tutorial completely.
You do NOT create webmail.domain.com sub domain in the sub domain manager. (In your case mail.domain.com)
From tutorial:
Your custom vhost entries are not correct:
As per the tutorial, it should be:
Also in the tutorial:
You did not read the tutorial completely.
You do NOT create webmail.domain.com sub domain in the sub domain manager. (In your case mail.domain.com)
From tutorial:
Code:
(NOTE: Do NOT add these sub-domains in the sub-domain module!)
Your custom vhost entries are not correct:
Code:
</virtualHost>
# Configuration for WebMail
<VirtualHost *:80>
ServerAdmin mail@domain.tld
DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
open_basedir "/etc/sentora/panel/etc/apps/webmail:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ServerName mail.domain.com
AddType application/x-httpd-php .php3 .php
<Directory />
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
Code:
</VirtualHost>
# Configuration for WebMail - webmail.yoursite.tld
<VirtualHost *:80>
ServerAdmin webmaster[at]yoursite.tld
DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
ServerName webmail.yoursite.tld
AddType application/x-httpd-php .php3 .php
<Directory />
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
Code:
You will also need to add them in your DNS registrar and in Sentora's DNS Manager module
(add A records webmail.yoursite.tld)