Hi,

I have set up a new mailserver with qmail/vpopmail, which works fine. Next I 
set up Binc and KMail without authentication and tested everything out on a 
small ~/Maildir, with about 50 messages in it. It also worked fine, so I 
copied across a fairly big (92 MByte tar'ed) ~/Maildir from an old server, 
set uid and gid to vpopmail and vchkpw, respectively, and tried again. At 
first it seemed to work, as KMail started to go through the folder structure. 
It only got through the top level (7 folders), though, before it hung.

It is certainly not a resource problem, as the server is a 1.8 GHz, 512 MB 40 
GB machine. The client machine is also quite fast. Both the server and the 
client machines are running Mandrake 9.1, the client with KDE 3.1.0.

On the old server, which did not have vpopmail, KMail also somethimes got 
stuck when displaying deep folders. The workaround was to create a dummy 
folder, which I then deleted imediately. Strange, but that was the only way 
to break the deadlock. So I am starting to wonder if there is something wrong 
with the contents of the old Maildir. Is there a way/tool to carry out some 
sort of sanity check on it?

I noticed that Binc spawns a lot of imap processes when it is accessed by 
KMail. However, they die again after a short time (10 - 20 s). It's probably  
normal? Nothing is written to the logs by binc, however; 
/var/opt/log/bincimap is completely empty! So, it seems that it is Binc that 
don't want to play, but I cannot find what's causing it. I have tried

svc -d /service/imap
svc -u /service/imap

rebooting, etc., but to no avail. I enclose my run scripts, in the hope that 
somebody spots a mistake.


Here is the contents of: /etc/opt/bincimap/service/imap/run
(GNU lisence stuff deleted to same space)

#!/bin/sh
exec 2>&1
exec    tcpserver -c 100 -u 89 -g 89            \
    -l $(hostname) -HDRP                        \
    0 143                                       \
    /opt/bincimap/bin/bincimap-up               \
    --logtype=multilog                          \
    --conf=/etc/opt/bincimap/bincimap.conf --   \
    /home/vpopmail/bin/vchkpw                   \
    /opt/bincimap/bin/bincimapd


Contents of: /etc/opt/bincimap/service/imap/log/run

#!/bin/sh
exec 2>&1
exec multilog t n5 s1048576 /var/opt/log/bincimap


The following to scripts are probably not relevant, as I am not using 
authentication for the time beeing, but here they are anyway.

Contents of: /etc/opt/bincimap/service/imaps/run
#!/bin/sh
exec 2>&1
exec    tcpserver -c 100 -u 89 -g 89                    \
    -l $(hostname) -HDRP                                \
    0 993                                               \
    /opt/bincimap/bin/bincimap-up                       \
    --logtype=multilog                                  \
    --conf=/etc/opt/bincimap/bincimap.conf --ssl --     \
    /home/vpopmail/bin/vchkpw                           \
    /opt/bincimap/bin/bincimapd


Contents of: /etc/opt/bincimap/service/imaps/log/run
#!/bin/sh
exec 2>&1
exec multilog t n5 s1048576 /var/opt/log/bincimap-ssl

Regards
Sigmund.

Reply via email to