Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th April 2009, 04:56
raymonvdm raymonvdm is offline
Junior Member
 
Join Date: Nov 2008
Posts: 26
Thanks: 0
Thanked 3 Times in 3 Posts
Default Courier IMAP and Squirrelmail issue with Maildir

2 weeks ago i replaced my ispconfig server.

So i installed an new server folowing:

http://www.howtoforge.com/perfect-server-ubuntu8.04-lts

And after that i backuped and restored the ispconfig database. After that i had to modify some custom files and all is ok.

But now i have a problem with reading email from squirrelmail. All reading is ok but when i open mij inbox (4000 messages) IMAPD hits 100& cpu.

So i started to trace the pid op imapd
strace -p 17222

And it seems that courier reads al files in the cur directory every time i open the inbox in squirrel. I didn`t see this issue using my old server.

What is wrong with courier ?
Reply With Quote
Sponsored Links
  #2  
Old 4th April 2009, 05:02
raymonvdm raymonvdm is offline
Junior Member
 
Join Date: Nov 2008
Posts: 26
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Partial trace file:

munmap(0xb7f58000, 4096) = 0
stat64("./cur/1238805982.M371587P16172V0000000000006803I0041C26A _145.home.server.local,S=4772:2,S", {st_mode=S_IFREG|0600, st_size=4772, ...}) = 0
readlink("./cur/1238805982.M371587P16172V0000000000006803I0041C26A _145.home.server.local,S=4772:2,S", 0x8191230, 256) = -1 EINVAL (Invalid argument)
open("./cur/1238805982.M371587P16172V0000000000006803I0041C26A _145.home.server.local,S=4772:2,S", O_RDONLY|O_NONBLOCK) = 6
fcntl64(6, F_SETFL, O_RDONLY) = 0
fstat64(6, {st_mode=S_IFREG|0600, st_size=4772, ...}) = 0
lstat64("./cur/1238805982.M371587P16172V0000000000006803I0041C26A _145.home.server.local,S=4772:2,S", {st_mode=S_IFREG|0600, st_size=4772, ...}) = 0
fcntl64(6, F_GETFL) = 0 (flags O_RDONLY)
fstat64(6, {st_mode=S_IFREG|0600, st_size=4772, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f58000
_llseek(6, 0, [0], SEEK_CUR) = 0
_llseek(6, 0, [0], SEEK_SET) = 0
lseek(6, 0, SEEK_CUR) = 0
lseek(6, 0, SEEK_SET) = 0
read(6, "Return-Path: <info@marktplaats.n"..., 8192) = 4772
read(6, "", 8192) = 0
lseek(6, 0, SEEK_SET) = 0
fstat64(6, {st_mode=S_IFREG|0600, st_size=4772, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
_llseek(6, 0, [0], SEEK_SET) = 0
read(6, "Return-Path: <info@marktplaats.n"..., 4096) = 4096
time(NULL) = 1238810367
write(1, "UID 5073 RFC822.SIZE 8268 INTERN"..., 2952) = 2952
time(NULL) = 1238810367
time(NULL) = 1238810367
select(1, [0], NULL, NULL, {1800, 0}) = 1 (in [0], left {1795, 660000})
read(0, "C64 EXAMINE \"\"\r\n", 8192) = 16
brk(0x81f9000) = 0x81f9000
time(NULL) = 1238810371
write(1, "C64 NO Mailbox does not exist, o"..., 58) = 58
time(NULL) = 1238810371
time(NULL) = 1238810371
select(1, [0], NULL, NULL, {1800, 0}
Reply With Quote
  #3  
Old 4th April 2009, 06:26
raymonvdm raymonvdm is offline
Junior Member
 
Join Date: Nov 2008
Posts: 26
Thanks: 0
Thanked 3 Times in 3 Posts
 
Default

In the user.pref file of squirrel there was a option

sort=0

this option slowed down the index, because it will sort all mail in the inbox folder, not sure wich plugin set this option....

No placed:

#sort=0 and the problem is solved...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail laserdot HOWTO-Related Questions 3 18th October 2008 06:14
Squirrelmail ERROR: ERROR: Connection dropped by IMAP server. GerardNijboer Server Operation 1 29th August 2007 19:39
Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob nsurge HOWTO-Related Questions 10 23rd October 2006 18:43
imap + squirrelmail can't login djtremors Installation/Configuration 1 11th August 2006 08:41
Squirrelmail, dovecot IMAP and sendmail - how to make it work? webcho Server Operation 3 29th June 2006 17:14


All times are GMT +2. The time now is 20:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.