• 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

Horde login username

Try remove your mobile browser from file /usr/share/psa-horde/lib/Horde/Browser.php

var $_mobileAgents = array(
'Blackberry',
'Blazer',
'Handspring',
'iPhone',
'iPod',
'Kyocera',
'LG',
'Motorola',
'Nokia',
'Palm',
'PlayStation Portable',
'Samsung',
'Smartphone',
'SonyEricsson',
'Symbian',
'WAP',
'Windows CE',
);
 
Try remove your mobile browser from file /usr/share/psa-horde/lib/Horde/Browser.php

Removing iPhone from this list still produces the mobile version when viewed from an iPhone.

While some people may like the mobile version for me it is awful on the iphone and the full version is so much better.

Any more ideas?
 
What progress has been made for the fix? This is seriously broken.
 
Horde Login without @

I'm using Debian 5.0 x64

I can confirm I fixed the Horde login doing the following data provided by others in this forum:

Edit /usr/share/psa-horde/imp/lib/Session.php
On line 113 replace this section for these lines:

/* Patch for PSA: I not found a config based-way to disable
* short names, without @ so apply this patch */
if (!preg_match('/^(.+)@(.+)$/', $imapuser, $matches)){
// ** Comment out $DomainName as it's not passed into lib/Session.php
// ** use $args['maildomain'] taken from variable set in config/servers.php
// $imapuser .= '@' . $DomainName;
$imapuser .= '@' . $args['maildomain'];
$_SESSION['imp']['user'] = trim($imapuser);
}

And don't forget to comment or delete the old data:

//
// if (!preg_match('/^(.+)@(.+)$/', $imapuser, $matches)){
// $_SESSION['imp']['user'] = trim($imapuser);
// }

Now is working perfect, with and without '@' at username login.

Regards,
Horacio Stolovitzky
 
HoracioS, I’m using a different OS so instead of giving us line numbers can you tell us exactly the code you replaced please.
 
Works perfectly now, although none of my CPs notified me that 9.5.2 was available. I had to run the check for updates module.
 
Just upgraded to the latest version of plesk today and once again when viewing webmail from an iPhone you are redirected to the mobile site. Agggghhh!!!!

I just want to view the standard site like before.
 
Back
Top