Re: Weird problems with pop3d

2005-12-07 Thread Ken Murchison

Alexandre BOULANGER wrote:

Hi all,


I'm using since 2 years a few Debian mail servers, now running Cyrus
2.1.18, both with imapd and pop3d activated.
I have perdition as proxy for mapping [EMAIL PROTECTED] logins to the format
they're stocked into Cyrus, nothing more.

I've got a major problem since 1 month now; sometimes POP3 users cannot
retrieve their mail, but they could see it in our Webmail or with IMAP.
This happens very randomly at some users.

Looking deeper at it, it seems that the content of some messages make
the pop3d process to hang, and keep the mailbox locked; to unlock it I
have to kill the POP3 process, delete the mail with IMAP and expunge the
mailbox.


If you have a sample message which causes the problem, I will look into it.

--
Kenneth Murchison
Systems Programmer
Carnegie Mellon University

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


Re: Weird problems with pop3d

2005-12-07 Thread Alexandre BOULANGER

In fact, no, popminpoll is already set to 0.

I've tried to set it to 1, for a while, in order to restrict the number
of pop3 sessions, but I still had "message-blocking-mailbox" problem


Le mercredi 07 décembre 2005 à 09:47 -0800, Andrew Morgan a écrit :
>
> Could it be the popminpoll setting in imapd.conf?  That's the only other 
> idea that comes to mind.
> 
>   Andy
> 
-- 
Alexandre BOULANGER <[EMAIL PROTECTED]>


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


Re: Weird problems with pop3d

2005-12-07 Thread Andrew Morgan

On Wed, 7 Dec 2005, Alexandre BOULANGER wrote:


Hi all,

I'm using since 2 years a few Debian mail servers, now running Cyrus
2.1.18, both with imapd and pop3d activated.
I have perdition as proxy for mapping [EMAIL PROTECTED] logins to the format
they're stocked into Cyrus, nothing more.

I've got a major problem since 1 month now; sometimes POP3 users cannot
retrieve their mail, but they could see it in our Webmail or with IMAP.
This happens very randomly at some users.

Looking deeper at it, it seems that the content of some messages make
the pop3d process to hang, and keep the mailbox locked; to unlock it I
have to kill the POP3 process, delete the mail with IMAP and expunge the
mailbox.


I've fsck'ed the whole server and found nothing; my max list of open
files isn't reached, moreover I've recompiled a kernel with an increased
value, disabled APOP and TLS stuff, searched the Cyrus archives for
similar matters but found nothing.

Of course I have no problem with IMAP, but I will still have users using
POP and complaining about mailboxes being blocked, without knowing
exactly why.


Does someone have an idea? or debug methods I can use (except checking
logs in $cyrushome/log/$myuser)


Could it be the popminpoll setting in imapd.conf?  That's the only other 
idea that comes to mind.


Andy

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


Weird problems with pop3d

2005-12-07 Thread Alexandre BOULANGER
Hi all,


I'm using since 2 years a few Debian mail servers, now running Cyrus
2.1.18, both with imapd and pop3d activated.
I have perdition as proxy for mapping [EMAIL PROTECTED] logins to the format
they're stocked into Cyrus, nothing more.

I've got a major problem since 1 month now; sometimes POP3 users cannot
retrieve their mail, but they could see it in our Webmail or with IMAP.
This happens very randomly at some users.

Looking deeper at it, it seems that the content of some messages make
the pop3d process to hang, and keep the mailbox locked; to unlock it I
have to kill the POP3 process, delete the mail with IMAP and expunge the
mailbox.


I've fsck'ed the whole server and found nothing; my max list of open
files isn't reached, moreover I've recompiled a kernel with an increased
value, disabled APOP and TLS stuff, searched the Cyrus archives for
similar matters but found nothing.

Of course I have no problem with IMAP, but I will still have users using
POP and complaining about mailboxes being blocked, without knowing
exactly why.


Does someone have an idea? or debug methods I can use (except checking
logs in $cyrushome/log/$myuser)


TIA

-- 
Alexandre BOULANGER <[EMAIL PROTECTED]>


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


Re: Problems with pop3d

2005-10-24 Thread Fabian Hellmundt
Hey, das ist ja sogar mehr Info als ich haben wollte ;-) Aber jetzt hab ichs 
verstanden, Dankeschön!



Hallo Fabian

Die Uebersetzung lautet "Entropie".

Hier Infos zu deinem Problem:
http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/POP3DevRandomIssue


Hier Infos zur Entropie:
http://de.wikipedia.org/wiki/Entropie_%28Informationstheorie%29

Solltest du danach noch Fragen haben, wende dich an einen
naturwissenschaftlichen Lehrer deines Vertrauens [Chemie|Physik|
Mathematik] der sollte das Konzept der Entropie kennen und es dir
erklaeren koennen. Er wird dann wohl ehere vom 2. Hauptsatz der
Thermodynamik her argumentieren. Aber so ein bisschen
Interdiszplinaritaet schadet sicher nicht ;-)


cu

romeo





On Mon, 2005-10-24 at 17:04 +0200, Fabian Hellmundt wrote:

>> Hello everyone,
>>  we're setting up a new mailserver for our local school and had chosen
>> cyrus for imap/pop3. The point is that everything works fine (the 
>> whole
>> authentication thing with sasl etc...) except the pop3d: At first 
>> pop3d

>> works, connecting to port 110 it shows the banner and your're able to
>> authenticate. But after authenticating and quitting and trying a 
>> secound

>> time, the connection can be established indeed, but you don't get the
>> greeting banner of the pop3d. It seems to be a dead connection. 
>> Moreover
>> you get a zombie-pop3d-process every time you try to connect. And if 
>> you

>> wait a random time, cyrus seems to "heal" itself and everything works
>> fine again.
>
> Your server is most likely running out of entropy for OpenSSL to 
> produce
> an APOP challenge, which appears in the banner.  You'll have to find a 
> way

> to provide OpenSSL with suitable entropy, or disable APOP by setting
> allowapop:off in imapd.conf.
>
>
> -- 
> Kenneth Murchison

> Systems Programmer
> Carnegie Mellon University
>
I have just disabled apop and everything works fine.. Thank you! But
honestly I don't really understand why it works now. What is meant by an
entropy? I didn't find a suitable translation in my dictionaries :-)


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






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


Re: Problems with pop3d

2005-10-24 Thread Fabian Hellmundt

Hello everyone,
 we're setting up a new mailserver for our local school and had chosen 
cyrus for imap/pop3. The point is that everything works fine (the whole 
authentication thing with sasl etc...) except the pop3d: At first pop3d 
works, connecting to port 110 it shows the banner and your're able to 
authenticate. But after authenticating and quitting and trying a secound 
time, the connection can be established indeed, but you don't get the 
greeting banner of the pop3d. It seems to be a dead connection. Moreover 
you get a zombie-pop3d-process every time you try to connect. And if you 
wait a random time, cyrus seems to "heal" itself and everything works 
fine again.


Your server is most likely running out of entropy for OpenSSL to produce 
an APOP challenge, which appears in the banner.  You'll have to find a way 
to provide OpenSSL with suitable entropy, or disable APOP by setting 
allowapop:off in imapd.conf.



--
Kenneth Murchison
Systems Programmer
Carnegie Mellon University

I have just disabled apop and everything works fine.. Thank you! But 
honestly I don't really understand why it works now. What is meant by an 
entropy? I didn't find a suitable translation in my dictionaries :-) 



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


Re: Problems with pop3d

2005-10-24 Thread Ken Murchison

Fabian Hellmundt wrote:


Hello everyone,
 
we're setting up a new mailserver for our local school and had chosen 
cyrus for imap/pop3. The point is that everything works fine (the whole 
authentication thing with sasl etc...) except the pop3d: At first pop3d 
works, connecting to port 110 it shows the banner and your're able to 
authenticate. But after authenticating and quitting and trying a secound 
time, the connection can be established indeed, but you don't get the 
greeting banner of the pop3d. It seems to be a dead connection. Moreover 
you get a zombie-pop3d-process every time you try to connect. And if you 
wait a random time, cyrus seems to "heal" itself and everything works 
fine again.


Your server is most likely running out of entropy for OpenSSL to produce 
an APOP challenge, which appears in the banner.  You'll have to find a 
way to provide OpenSSL with suitable entropy, or disable APOP by setting 
allowapop:off in imapd.conf.



--
Kenneth Murchison
Systems Programmer
Carnegie Mellon University

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


Problems with pop3d

2005-10-24 Thread Fabian Hellmundt



Hello everyone,
 
we're setting up a new mailserver for our local 
school and had chosen cyrus for imap/pop3. The point is that everything works 
fine (the whole authentication thing with sasl etc...) except the pop3d: At 
first pop3d works, connecting to port 110 it shows the banner and your're able 
to authenticate. But after authenticating and quitting and trying a secound 
time, the connection can be established indeed, but you don't get the greeting 
banner of the pop3d. It seems to be a dead connection. Moreover you get a 
zombie-pop3d-process every time you try to connect. And if you wait a random 
time, cyrus seems to "heal" itself and everything works fine again.
 
We would be very happy if you help us because we 
want to start the new system the day after tomorrow ;-)
 
Thanks in advance!
Fabian Hellmundt, Administrator of the 
Michaeli-Gymnasium in Munich

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