Andrew Morgan | 1 May 02:05 2008

Re: APOP No Longer Working after Upgrade to IMAPd 2.3.12p2

On Wed, 30 Apr 2008, Jorey Bump wrote:

> Andrew Morgan wrote, at 04/30/2008 05:15 PM:
>
>> Cyrus IMAP calls out to the sasl libraries to generate the APOP challenge. 
>> On my Debian Etch system, libsasl2.so uses /dev/random.
>
> How do you determine if it uses /dev/random?

cyrus-be2:/usr/lib/sasl2# strings /usr/lib/libsasl2.so.2.0.19 | grep random
/dev/random

 	Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Jorey Bump | 1 May 04:44 2008

Re: APOP No Longer Working after Upgrade to IMAPd 2.3.12p2

Andrew Morgan wrote, at 04/30/2008 08:05 PM:
> On Wed, 30 Apr 2008, Jorey Bump wrote:
> 
>> Andrew Morgan wrote, at 04/30/2008 05:15 PM:
>>
>>> Cyrus IMAP calls out to the sasl libraries to generate the APOP 
>>> challenge. On my Debian Etch system, libsasl2.so uses /dev/random.
>>
>> How do you determine if it uses /dev/random?
> 
> cyrus-be2:/usr/lib/sasl2# strings /usr/lib/libsasl2.so.2.0.19 | grep random
> /dev/random

This is the case on all of my machines. I looked at the source package 
of my distribution (Slackware) and it compiles Cyrus SASL with the 
default of /dev/random. I recompiled it to use /dev/urandom, and my 
webmail connections no longer hang. I still lose entropy fairly quickly, 
but it doesn't block. Hopefully, there isn't a strong downside to this 
change.

Using pop3test, I'm able to authenticate with APOP.

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Rudy Gevaert | 1 May 11:00 2008
Picon

Re: APOP No Longer Working after Upgrade to IMAPd 2.3.12p2

Andrew Morgan wrote:
> On Wed, 30 Apr 2008, Jorey Bump wrote:
> 
>> Wesley Craig wrote, at 04/30/2008 04:26 PM:
>>> Two options: some motherboards have an entropy generator hardware
>>> device; or, use the random device that doesn't block when entropy is low.
>> I think Cyrus IMAPd uses /dev/urandom by default, but I'm not sure how I
>> can confirm this. I didn't specify anything during compilation, and I
>> can't find a runtime setting to explicitly select the random device,
>> either.
>>
>> In any case, I can now faithfully trigger the problem by making multiple
>> webmail requests until the browser hangs, then hold down the spacebar of
>> the server's keyboard to build up entropy until the request is served
>> and performance returns to normal. I haven't had a chance to check if
>> this restores APOP, though.
>>
>> Maybe an IMAP proxy would help prevent the webmail from depleting the
>> entropy, but I'm still wondering why this is a problem on this server
>> running Linux kernel 2.6 and not my other IMAP servers running Linux
>> kernel 2.4. I have an identical Linux 2.6 server that isn't having this
>> problem, and the only difference is that it doesn't have Cyrus IMAPd on it.
> 
> Cyrus IMAP calls out to the sasl libraries to generate the APOP challenge. 
> On my Debian Etch system, libsasl2.so uses /dev/random.

That is strange!  sasl in Debian Etch is compiled against /dev/urandom. 
And so my system confirms:

cyrus:/usr/lib# strings libsasl2.* | grep random
(Continue reading)

Dick Hoogendijk | 1 May 13:22 2008
Picon

timsieved logon problem

I use SquirrelMail version 1.4.13 an Cyrus-2.3.11 from Blastwave Stable
on solaris 10. I never experienced problems before, but today I wanted
to add a filter from within SquirrelMail and got this warning:

Could not log on to timsieved daemon on your IMAP server yanta:2000.
Please contact your administrator.

What does this :2000 mean?
What could have happened/changed?
Many thanks for tips.

--

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxde 01/08 ++
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Dick Hoogendijk | 1 May 13:38 2008
Picon

timsieved logon problem

I use SquirrelMail version 1.4.13 an Cyrus-2.3.11 from Blastwave Stable
on solaris 10. I never experienced problems before, but today I wanted
to add a filter from within SquirrelMail and got this warning:

Could not log on to timsieved daemon on your IMAP server yanta:2000.
Please contact your administrator.

What does this :2000 mean?
What could have happened/changed?
Many thanks for tips.

--

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxde 01/08 ++
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Alain Spineux | 1 May 13:47 2008
Picon

Re: timsieved logon problem

On Thu, May 1, 2008 at 1:22 PM, Dick Hoogendijk <dick <at> nagual.nl> wrote:
> I use SquirrelMail version 1.4.13 an Cyrus-2.3.11 from Blastwave Stable
>  on solaris 10. I never experienced problems before, but today I wanted
>  to add a filter from within SquirrelMail and got this warning:
>
>  Could not log on to timsieved daemon on your IMAP server yanta:2000.
>  Please contact your administrator.
>
>  What does this :2000 mean?
>  What could have happened/changed?
>  Many thanks for tips.

Are you sure timsieved is running ?

# netstat -anp | grep 2000
tcp        0      0 127.0.0.1:2000              0.0.0.0:*
     LISTEN      12912/cyrmaster

ATTN: netstat can use different parameters on solaris !

Cant you show us you cyrus.conf ?

>
>  --
>  Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
>  ++ http://nagual.nl/ + SunOS sxde 01/08 ++
>  ----
>  Cyrus Home Page: http://cyrusimap.web.cmu.edu/
>  Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
>  List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
(Continue reading)

Nik Conwell | 1 May 14:22 2008

quota bug involving nested quota roots?


I'm running 2.3.8 (Invoca) and see strange quota behavior.  I checked the 
changelog for 2.3.12p1 and no mention of quota fixes (32-bit).  Unfortunately I 
don't have a 2.3.12p1 system to check this out.  Do people see similar things on 
the current version?  Am I doing something wrong having nested quotas this way?

My mailbox has quota and usage:

quota -f |grep -E "user/nik|Quota"

    Quota   % Used     Used Root
  10485760       15  1640288 user/nik

If I set a quota on user/nik/restore (empty mailbox) and do quota -f, my 
recorded usage changes:

sq user/nik/restore 1

quota -f|grep -E "user/nik|Quota"

    Quota   % Used     Used Root
  10485760       13  1442491 user/nik
        1        0        0 user/nik/restore

I did finds on the filesystem and added up file sizes:

full=`find /cyrus/master07/spool/n/user/nik -type f -ls|grep -v "cyrus\."|awk '{print
$7}'|add`;echo "full=$full"

restore=`find /cyrus/master07/spool/n/user/nik/restore -type f -ls|grep -v "cyrus\."|awk '{print
(Continue reading)

Alain Spineux | 1 May 16:49 2008
Picon

Fwd: timsieved logon problem

ops

---------- Forwarded message ----------
From: Alain Spineux <aspineux <at> gmail.com>
Date: Thu, May 1, 2008 at 4:48 PM
Subject: Re: timsieved logon problem
To: Dick Hoogendijk <dick <at> nagual.nl>

On Thu, May 1, 2008 at 4:29 PM, Dick Hoogendijk <dick <at> nagual.nl> wrote:
 > On Thu, 1 May 2008 13:47:03 +0200
 >  "Alain Spineux" <aspineux <at> gmail.com> wrote:
 >
 >  > On Thu, May 1, 2008 at 1:22 PM, Dick Hoogendijk <dick <at> nagual.nl>
 >  > wrote:
 >
 > > >  Could not log on to timsieved daemon on your IMAP server
 >  > > yanta:2000. Please contact your administrator.
 >
 > > Are you sure timsieved is running ?
 >  >
 >  > # netstat -anp | grep 2000
 >  > tcp        0      0 127.0.0.1:2000              0.0.0.0:*
 >  >      LISTEN      12912/cyrmaster
 >
 >  Cyr-master does not show up. So I guess it's not running.

 Here is your problem!

 >
 >
(Continue reading)

Dick Hoogendijk | 1 May 17:02 2008
Picon

Re: timsieved logon problem

On Thu, 1 May 2008 16:48:49 +0200
"Alain Spineux" <aspineux <at> gmail.com> wrote:

> On Thu, May 1, 2008 at 4:29 PM, Dick Hoogendijk <dick <at> nagual.nl>
> wrote:
> >  Cyr-master does not show up. So I guess it's not running.
> Here is your problem!

Yes, I know,

> You should see some error in your log file when trying to connect to
> the sieve daemon or when restarting cyrus !
> Look at it.

Strange, but I can't find the cyrus log file. I looked at all the
logfile places I can think of. Can I set a special place for this in
the cyrus.conf file?

--

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxde 01/08 ++
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Alain Spineux | 1 May 17:03 2008
Picon

Re: quota bug involving nested quota roots?

On Thu, May 1, 2008 at 2:22 PM, Nik Conwell <nik <at> bu.edu> wrote:
>
>  I'm running 2.3.8 (Invoca) and see strange quota behavior.  I checked the
>  changelog for 2.3.12p1 and no mention of quota fixes (32-bit).  Unfortunately I
>  don't have a 2.3.12p1 system to check this out.  Do people see similar things on
>  the current version?  Am I doing something wrong having nested quotas this way?
>
>
>  My mailbox has quota and usage:
>
>  quota -f |grep -E "user/nik|Quota"
>
>     Quota   % Used     Used Root
>   10485760       15  1640288 user/nik
>
>
>  If I set a quota on user/nik/restore (empty mailbox) and do quota -f, my
>  recorded usage changes:
>
>  sq user/nik/restore 1
>
>  quota -f|grep -E "user/nik|Quota"
>
>     Quota   % Used     Used Root
>   10485760       13  1442491 user/nik
>         1        0        0 user/nik/restore
>
>
>  I did finds on the filesystem and added up file sizes:
>
(Continue reading)


Gmane