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.

change e-mail url
#1
change e-mail url
hello everyone.
I try to change the url of the email, as I've done yet in zpanel, but now is not working ...
some know how to solve this?
the TLS certificates I did as the zpanel, only adapting and changing some line where was zpanel to sentora, and is working perfectly.
but the url of the email does not work.

I followed these steps:

First, create the required subdomain via the subdomain manager in ZPanel. Just let it create a new home directory (we will change this anyways).

Next, add an A record in the DNS manager for this new subdomain.

Next, go to module admin-> Apache config -> Under "Override the virtual host setting" select the subdomain you just created.

Then we are going to uncheck "OpenBase enabled" and in the custom field text box add the Following line (this example is used webmail, edit the needed):


DocumentRoot "/ etc / sentora / panel / etc / apps / webmail"
The another example, if you wanted to set up panel.domainname.tld to point to the interface zpanel, the line above would look like this:

DocumentRoot "/ etc / sentora / panel"
Save que vhost entry.

Here the part of the vhost........

# DOMAIN: mail.princesslyz.com
<virtualhost *:80>
ServerName mail.princesslyz.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mail_princesslyz_com"
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"
ErrorLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/mail_princesslyz_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 403 /_errorpages/403.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)
DocumentRoot "/etc/sentora/panel/etc/apps/webmail"
</virtualhost>
# END DOMAIN: mail.princesslyz.com
#################################################################
Reply
Thanks given by:


Messages In This Thread
change e-mail url - by henrique araujo - 01-10-2015, 10:13 AM
RE: change e-mail url - by Me.B - 01-10-2015, 08:18 PM
RE: change e-mail url - by henrique araujo - 01-11-2015, 06:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
External mail client cannot connect to server iraqiboy90 2 6 ,301 02-28-2021, 11:34 AM
Last Post: iraqiboy90
Postfix mail.log to database stikekar 2 7 ,278 03-02-2019, 01:22 AM
Last Post: TGates
E-mail quota limit danandrade 6 26 ,491 08-28-2018, 05:22 PM
Last Post: speeddemon786

Forum Jump:


Users browsing this thread: 1 Guest(s)