File tree Expand file tree Collapse file tree 5 files changed +13
-12
lines changed
install/deb/templates/mail Expand file tree Collapse file tree 5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -604,6 +604,7 @@ add_webmail_config() {
604604 sed -e " s|%ip%|$local_ip |g" \
605605 -e " s|%domain%|$WEBMAIL_ALIAS .$domain |g" \
606606 -e " s|%domain_idn%|$domain_idn |g" \
607+ -e " s|%root_domain%|$domain |g" \
607608 -e " s|%alias%|mail.$domain autodiscover.$domain |g" \
608609 -e " s|%alias_idn%|${aliases_idn// ,/ } |g" \
609610 -e " s|%alias_string%|$alias_string |g" \
Original file line number Diff line number Diff line change 22 ServerName %domain%
33 ServerAlias %alias
44 Alias / /var/lib/roundcube/
5- Alias /error/ %home%/%user%/web/%domain %/document_errors/
5+ Alias /error/ %home%/%user%/web/%root_domain %/document_errors/
66 #SuexecUserGroup %user% %group%
77
88 SSLEngine on
99 SSLVerifyClient none
10- SSLCertificateFile %home%/%user%/conf/mail/%domain %/ssl/%domain %.crt
11- SSLCertificateKeyFile %home%/%user%/conf/mail/%domain %/ssl/%domain %.key
10+ SSLCertificateFile %home%/%user%/conf/mail/%root_domain %/ssl/mail.%root_domain %.crt
11+ SSLCertificateKeyFile %home%/%user%/conf/mail/%root_domain %/ssl/mail.%root_domain %.key
1212
13- IncludeOptional %home%/%user%/conf/web/%domain %/apache2.forcessl.conf*
13+ IncludeOptional %home%/%user%/conf/web/%root_domain %/apache2.forcessl.conf*
1414
1515 <Directory "/usr/share/tinymce/www/">
1616 Options Indexes MultiViews FollowSymLinks
4848 Deny from all
4949 </Directory>
5050
51- IncludeOptional %home%/%user%/conf/mail/%domain %/%web_system%.ssl.conf_*
51+ IncludeOptional %home%/%user%/conf/mail/%root_domain %/%web_system%.ssl.conf_*
5252
5353</VirtualHost>
Original file line number Diff line number Diff line change 22 ServerName %domain%
33 ServerAlias %alias%
44 Alias / /var/lib/roundcube/
5- Alias /error/ %home%/%user%/web/%domain %/document_errors/
5+ Alias /error/ %home%/%user%/web/%root_domain %/document_errors/
66 #SuexecUserGroup %user% %group%
77
8- IncludeOptional %home%/%user%/conf/web/%domain %/apache2.forcessl.conf*
8+ IncludeOptional %home%/%user%/conf/web/%root_domain %/apache2.forcessl.conf*
99
1010 <Directory " /usr/share/tinymce/www/" >
1111 Options Indexes MultiViews FollowSymLinks
4343 Deny from all
4444 </Directory >
4545
46- IncludeOptional %home%/%user%/conf/mail/%domain %/%web_system%.conf_*
46+ IncludeOptional %home%/%user%/conf/mail/%root_domain %/%web_system%.conf_*
4747
4848</VirtualHost >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ server {
1717 }
1818
1919 location /error/ {
20- alias %home%/%user%/web/%domain %/document_errors/;
20+ alias %home%/%user%/web/%root_domain %/document_errors/;
2121 }
2222
2323 location @fallback {
@@ -30,6 +30,6 @@ server {
3030 location ~ /\.hg/ {return 404;}
3131 location ~ /\.bzr/ {return 404;}
3232
33- include %home%/%user%/conf/mail/%domain %/nginx.ssl.conf_*;
33+ include %home%/%user%/conf/mail/%root_domain %/nginx.ssl.conf_*;
3434}
3535
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ server {
1313 }
1414
1515 location /error/ {
16- alias % home% /% user% /web/% domain % /document_errors/;
16+ alias % home% /% user% /web/% root_domain % /document_errors/;
1717 }
1818
1919 location ~ /(config|temp|logs) {
@@ -38,5 +38,5 @@ server {
3838 location ~ /\.hg/ { return 404;}
3939 location ~ /\.bzr/ { return 404;}
4040
41- include %home%/%user%/conf/mail/%domain %/nginx.conf_*;
41+ include %home%/%user%/conf/mail/%root_domain %/nginx.conf_*;
4242}
You can’t perform that action at this time.
0 commit comments