• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Serious Aliasing Bug

K

kwillmon

Guest
I have the latest update to 8.1.1 and found out through search engines that content in my server's main domain can be accessed through the mail sub-domain for ALL other domains on my server. For example:

http://www.MainDomain.Com/ThisFile.Ext
can also be accessed by going to
http://mail.AnyOtherDomain.Com/ThisFile.Ext

or
http://www.MainDomain.Com/SomeDirectory/ThisFile.Ext
can also be accessed by going to
http://mail.AnyOtherDomain.Com/SomeDirectory/ThisFile.Ext

Is anyone else having this problem too?
 
been that way for me since 7.x (my first soirée into plesk).

I'm no expert here, but I believe it's that way so all the POP, SMTP, IMAP, etc, mail traffic gets forwarded to the right place on the server. The same is true of webmail (which you probably wouldn't notice because of the horde interface) and FTP.

The "culprit" is the DNS settings under the server control panel. If your DNS skills are better than mine, then you might be able to figure out how to fix it.

You might also be able to fix it by creating a "mail" subdomain on your default domain. Then adding in an index.php file that checks the $_SERVER['SERVER_NAME'] and does a header redirect to the www address of the same.
 
The reason is because the HTTP and SMTP services are accessible over the same IP address. If you set a default web site then any requests that don't match a valid web site (including the IP address itself, or in your case mail.domainname.com) will be answered by the default site.

You could unconfigure the default site so that any invalid requests will be answered by the "Default Plesk Page", or you could manually set up a virtual host to respond to mail.* and fix it that way (but you'd have to do that manually and not through Plesk).

It's not really a bug as such but it's more due to the nature of running virtual hosting.
 
Back
Top