On Friday 17 February 2012 01:33 PM, Peter Peltonen wrote:
Hi,

On Fri, Feb 17, 2012 at 2:14 AM, Eric Shubert<e...@shubes.net>  wrote:
Have you restarted apache since changing the SM config file?
I had not but tried it now. I also read from SM docs:

"
Digest-MD5 authentication needs PHP XML extension.
If you have the mhash extension to PHP, it will automatically be used,
which may help performance on heavily loaded servers.
IMAP server support for these methods.
"

I did not have php-xml nor php-mhash installed, so I installed them
with yum and restarted Apache.

[root@ol ~]# service httpd restart
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]

[root@ol ~]# grep md5 /etc/squirrelmail/config.php
$imap_auth_mech = 'digest-md5';

But still cram-md5 is used as login fails and in the dovecot log I see:

Feb 17 09:56:04 imap-login: Info: Disconnected (tried to use
unsupported auth mechanism): method=CRAM-MD5, rip=127.0.0.1,
lip=127.0.0.1, secured

I would be interested in hearing about other people's configs /
software versions, if they are using succesfully digest-md5 with
SquirrelMail?

I don't use Squirrelmail a lot, but just tested it out with $imap_auth_mech = 'digest-md5'; It authenticates just fine. Are you sure config_local.php is not overriding it in any way? Can you share both files with us please?

Feb 17 15:51:58 imap-login: Info: Login: user=<x...@example.com, method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, mpid=14232, secured Feb 17 15:51:58 imap(x...@example.com): Info: Disconnected: Logged out bytes=311/3852

Bharath

Bharath


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to