Getting unread message count for all users.
Ken Murchison
ken at oceana.com
Sat Jan 24 15:08:35 EST 2004
Rob Keeling wrote:
> From: "Scott Russell" <lnxgeek at us.ibm.com>
> To: "Rob Keeling" <rob at rjkeeling.freeserve.co.uk>
> Cc: <info-cyrus at lists.andrew.cmu.edu>
> Sent: Saturday, January 24, 2004 7:08 PM
> Subject: Re: Getting unread message count for all users.
>
>
>
>>On Sat, 2004-01-24 at 07:42, Rob Keeling wrote:
>>
>>Here is a pointer using the PHP imap_status() function to get the info
>>you're after:
>>
>>http://us2.php.net/manual/en/function.imap-status.php
>>
>>The example script on that page should be a good starting point for you.
>
>
> I have given this a try, however, I get a logon fail error, and the system
> log shows a md5 logon.
>
> Jan 24 19:59:14 suse-server imapd[6138]: no secret in database
> Jan 24 19:59:14 suse-server imapd[6138]: badlogin: localhost[127.0.0.1]
> CRAM-MD5 [SASL(-13): user not found: no secret in database]
>
> I am using plain text passwords, do I need to specify this in the connect
> command?
You either need to specify which mechanism you want to use when you
authenticate with the PHP/c-client interface, or configure the server to
only advertise plaintext mechanisms. To do the latter, add the
following to imapd.conf:
sasl_mech_list: PLAIN LOGIN
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
More information about the Info-cyrus
mailing list