• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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