• 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.

external mail server

R

robgenovesi

Guest
Hi All,

I'm running Plesk 9.5 and use an external e-mail server. I would like all of the mail buttons in Plesk to goto our external e-mail server control panel and not Plesk's built-in mail funcitons. Is there anyway that this can be done?

Thanks,

Rob
 
Bummer. It sounds like Version 10 has the ability to hide the internal mail controls though - is this correct?

Thanks!
 
external mail server - SOLVED

Ok, I was able to get Plesk 9.x working with an external mail server - here's how:

Plesk 9 admin interface uses lighttpd. I just edited the configuration file to add a rewrite for mail pages and redirected them to a custom page that I created. Although it took a long time to figure out the solution it is not very hard to implement:

- edit /etc/sw-cp-server/applications.d/plesk.conf
- find the "url.rewrite-once" sections and make the following modifications:

url.rewrite-once = (
"^/plesk/client\@(\d+)/domain\@(\d+)/mail.*" => "/custom_mail.php?C=$1&D=$2"
, "^/plesk/([^\\?]*)(\?(.*))?" => "/plesk.php?$3"
, "^/sitepreview/(.*)?" => "/sitepreview.php/$1"
, "^/sso/ui" => "/sso/ui.php"
, "^/sso/users" => "/sso/users.php"
, "^/sso/signout" => "/sso/signout.php"
)

note: it's import that the new redirect be added BEFORE the "^/plesk" line.

- create the custom page (custom_mail.php) in the /usr/local/psa/admin/htdocs/ directory. in my case I am passing the client id and domain id to my php page so that I can look them up in the "psa" database and do an automated login to my external mail system.


This worked well for me, maybe others will find the information useful as well.


-Rob
 
Back
Top