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
#2
RE: change e-mail url
Search for the forum about SSL I had posted more than once a cleaner solution also add later a .htaccess for webmail to redirect to new URL.

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
#3
RE: change e-mail url
(01-10-2015, 08:18 PM)Me.B Wrote: Search for the forum about SSL I had posted more than once a cleaner solution also add later a .htaccess for webmail to redirect to new URL.

M B

now all ok...
i use vhosts.conf por this.
thanks my friend, god bless you!
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)