Hi There,

I am using the following setup:

courier-imap-1.4.0=20
horde-2.0=20
imp-3.0=20
qmail-1.03
vpopmail-5.0.1
authmysql

I have problem with login to IMAP-COURIER as a VIRTUAL DOMAIN user.
Meaning user whoseaccount was created using the vopopmail's command
vadduser.

In the courier-imap logs (/var/log/mailog)
this was I could see when a virtual domain user login in.

Jan 27 13:21:18 fort imapd: Failed to create cache file:
./tmp/1012098078.12600_imapuid_0.fort
Jan 27 13:21:18 fort imapd: Error: No such file or directory
Jan 27 13:21:18 fort imapd: Failed to create cache file:
./tmp/1012098078.12600_imapuid_0.fort
"/var/log/maillog" [readonly] 1880L, 145176C
Jan 30 09:38:21 fort imapd: LOGOUT, user=3Dtimlim,
ip=3D[::ffff:210.9.116.6], headers=3D65, body=3D0

I have same problem whether if I login using imp or Microsoft Outlook.
>From this, it is clear a case of imap-courier setup that I have do not cater
to the need of Virtual domain user.

The result of this problem is, the user would still able to login, but
the user email would not show up in the INBOX.
Despite this problem, I can still able to create any Subfolders for the
user and they appeared to be created in the right place
in the virtual user directory. Going into the user Maildir/cur
directory, I could there are mails delivered by qmail waiting to be
read by the user.  There are absolute no problem in term of permission
or missing directory as you can see my virtual user directory listing listed
below.

[root@fort joelau]# ls -lRa
.:
total 24
drwx------    6 vpopmail vchkpw       4096 Jan 30 10:07 .
drwx------    8 vpopmail vchkpw       4096 Jan 23 12:39 ..
drwx------    5 root     root         4096 Jan 30 09:12 .drafts
drwx------    5 vpopmail vchkpw       4096 Jan 27 13:38 Maildir
drwx------    5 root     root         4096 Jan 30 09:16 .sent-mail
drwx------    5 root     root         4096 Jan 23 12:20 .Trash

./.drafts:
total 20
drwx------    5 root     root         4096 Jan 30 09:12 .
drwx------    6 vpopmail vchkpw       4096 Jan 30 10:07 ..
drwx------    2 root     root         4096 Jan 30 09:12 cur
-rwx------    1 root     root            0 Jan 30 09:12 maildirfolder
drwx------    2 root     root         4096 Jan 30 09:12 new
drwx------    2 root     root         4096 Jan 30 09:12 tmp

./.drafts/cur:
total 12
drwx------    2 root     root         4096 Jan 30 09:12 .
drwx------    5 root     root         4096 Jan 30 09:12 ..
-rw-------    1 root     root          144 Jan 30 09:12 =
1012342323.30561_0.fort,S=3D144:2,DS

./.drafts/new:
total 8
drwx------    2 root     root         4096 Jan 30 09:12 .
drwx------    5 root     root         4096 Jan 30 09:12 ..

./.drafts/tmp:
total 8
drwx------    2 root     root         4096 Jan 30 09:12 .
drwx------    5 root     root         4096 Jan 30 09:12 ..

./Maildir:
total 24
drwx------    5 vpopmail vchkpw       4096 Jan 27 13:38 .
drwx------    6 vpopmail vchkpw       4096 Jan 30 10:07 ..
drwx------    2 root     root         4096 Jan 17 23:20 cur
-rwx------    1 vpopmail vchkpw          5 Jan 30 09:07 .current_size
drwx------    2 root     root         4096 Jan 30 09:07 new
drwx------    2 root     root         4096 Jan 30 09:07 tmp

./Maildir/cur:
total 8
drwx------    2 root     root         4096 Jan 17 23:20 .
drwx------    5 vpopmail vchkpw       4096 Jan 27 13:38 ..

./Maildir/new:
total 12
drwx------    2 root     root         4096 Jan 30 09:07 .
drwx------    5 vpopmail vchkpw       4096 Jan 27 13:38 ..
-rw-------    1 vpopmail vchkpw        923 Jan 30 09:07 =
1012342058.30244.fort,S=3D842

./Maildir/tmp:
total 8
drwx------    2 root     root         4096 Jan 30 09:07 .
drwx------    5 vpopmail vchkpw       4096 Jan 27 13:38 ..

./.sent-mail:
total 20
drwx------    5 root     root         4096 Jan 30 09:16 .
drwx------    6 vpopmail vchkpw       4096 Jan 30 10:07 ..
drwx------    2 root     root         4096 Jan 30 09:16 cur
-rwx------    1 root     root            0 Jan 30 09:16 maildirfolder
drwx------    2 root     root         4096 Jan 30 09:16 new
drwx------    2 root     root         4096 Jan 30 09:16 tmp

./.sent-mail/cur:
total 12
drwx------    2 root     root         4096 Jan 30 09:16 .
drwx------    5 root     root         4096 Jan 30 09:16 ..
-rw-------    1 root     root          620 Jan 30 09:16 =
1012342602.30893_0.fort,S=3D620:2,S

./.sent-mail/new:
total 8
drwx------    2 root     root         4096 Jan 30 09:16 .
drwx------    5 root     root         4096 Jan 30 09:16 ..

./.sent-mail/tmp:
total 8
drwx------    2 root     root         4096 Jan 30 09:16 .
drwx------    5 root     root         4096 Jan 30 09:16 ..


On the contrary, a real user account (user with user account has
/home/username/Maildir dir) has no such problem.

This looks like it is a definite courier-imap setup issue.  Would
appreciate if anyone can help.


Thanks


Tim Lim ([EMAIL PROTECTED])


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to