Koozali.org: home of the SME Server

Dovecot IMAP bugs?

Steve Brock

Dovecot IMAP bugs?
« on: January 06, 2004, 04:26:43 PM »
We have users who have large amounts of mail stored locally. they used to pop3 their mail from the mail server using mozilla. I'm trying to move the pop mail to the server via imap. it chugs along for some time then hangs the entire imap service, for all users. the only way to get imap working again is to restart it via '/etc/rc.d/init.d/imap restart' and that kills the transfer. letting it sit doesn't do anything (except tick off the imap users who can't copy sent mail to the server)
we have migrated some users under 5.6 without problems.

Charlie Brady

IMAP connection limit (was Re: Dovecot IMAP bugs?)
« Reply #1 on: January 06, 2004, 05:50:28 PM »
Steve Brock wrote:

> I'm trying to move the pop mail to the server via
> imap. it chugs along for some time then hangs the entire imap
> service, for all users. the only way to get imap working again
> is to restart it via '/etc/rc.d/init.d/imap restart' and that
> kills the transfer.

Steve, I suspect you have come across a connection limit to the IMAP service which wasn't discovered during pre-release testing. Do:

/sbin/e-smith/config setprop imap ConcurrencyLimit 200
/etc/e-smith/events/actions/imap-conf
svc -t imap

and then report back with success or no. Adjust 200 to approx 5 times the highest number of users you expect to ever see.

Charlie

Steve Bush

Re: IMAP connection limit (was Re: Dovecot IMAP bugs?)
« Reply #2 on: January 06, 2004, 06:21:18 PM »
[root@brad root]# svc -t imap
svc: warning: unable to chdir to imap: file does not exist

Steve Brock

Re: IMAP connection limit (was Re: Dovecot IMAP bugs?)
« Reply #3 on: January 06, 2004, 11:52:29 PM »
Thanks, Charlie.  I'll test this tomorrow and get back to you.

Charlie Brady

Re: IMAP connection limit (was Re: Dovecot IMAP bugs?)
« Reply #4 on: January 07, 2004, 04:18:26 AM »
Steve Bush wrote:

> [root@brad root]# svc -t imap
> svc: warning: unable to chdir to imap: file does not exist

Try:

cd /service ; svc -t imap

or

svc -t /service/imap

Steve Bush

Re: IMAP connection limit (was Re: Dovecot IMAP bugs?)
« Reply #5 on: January 07, 2004, 05:29:32 AM »
Those both worked...I guess.
There wasn't any output.

Since I received the error I ran:
cd /etc/rc.d/init.d
./imap restart


FYI - I didn't get the error this evening.  Can't say 100% but I think you fixed the issue.

Thanks for all the help!!!

Steve

Steve Brock

Re: Dovecot IMAP bugs?
« Reply #6 on: January 07, 2004, 03:57:08 PM »
Looks like its working. yay! Thanks Charlie!
I'm doing the small-time users now (1000-2000 msgs) but I've got large users to carry over later today (10000+ msgs) thats the real test :)
-steve