• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

permanent webmail redirect

N

neilh@

Guest
Hi,
I would like to change my default mail clients. All created domains must use the new client.

so webmail.domain.com must point to it.

I understand you cannot modify zz010_psa_httpd.conf for a permanent solution.

The next best option would be to create a vhost.conf file and add it to the default skeleton ?

This is my current temporary solution.

-Snipit from zz010_psa_httpd.conf-
<VirtualHost \
64.13.254.61:80 \
>
DocumentRoot /var/rc/
Alias /rc/ /var/rc/
ServerName webmail
ServerAlias webmail.*
<Directory /var/rc>
Order allow,deny
Allow from all
</Directory>

</VirtualHost>


What would i need to add to a global vhost.conf file to achieve the same thing ? ( notice my mail client is in /var/rc and not a subdomain )


I am surprised there is not more documentation for this. I would think it would be common to want to change the default mail client....

Help is appreciated.
 
Back
Top