• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

"Forgot your password" for Resellers

zooming

Regular Pleskian
Hello,

I'm currently configuring my system to allow a reseller access.

This reseller wants to hide all information about my hosting, they need to show everything to their customers as if they are the hosting company.

I have configured apache so any domain in the format "http://sitebuilder.*" will open SiteBuilder.

Everything is working fine, despite the "Forgot your password" function at the login screen.

The email sent to the user is going with my domain, not the reseller's domain.

How can I fix this issue?

Thank you.

Alexandre
 
As I know Sitebuilder uses standard PHP mail() function for sending e-mail which goes in Zend Framework. This script responsible for it SB_ROOT/include/Zend/Zend/Mail/Transport/Sendmail.php. Mail from is composed in this way anonymous@hostname. Do you have the same from e-mail address?
 
Hello Dmitry,

No, it's not, the "From" email is the one I have configured in the "Admin" user properties.

I have searched at the code in the SBROOT directory, but I couldn't find a "setFrom" method (from Zend_Mail) called inside a PHP file, probably the file that calls this function is encoded, so I can't hack this behavior.

How can I fix this issue then?

Thank you.
Alexandre
 
In this case I think there is no way to do that. Code itself should be rewritten. In this case I can only pass this situation to Sitebuilder developers as feature request for the future versions if you wish.
 
Hello Dmitry,

Please do that.

I think I'm not the only one that would benefit from this new configuration option.

Thank you.

Alexandre
 
Back
Top