John Peacock schreef:
Stephan Bosch wrote:
Yeah, noticed this too. The .dovecot.sieve file in my maildir is recognized as a folder when I open my subscription dialog :).
The .dovecot.sieve file shouldn't be inside your Maildir in the first place; it should be a peer of it instead:
drwx------ 4 vpopmail vchkpw 184 2006-07-13 14:01 . drwx------ 48 vpopmail vchkpw 1328 2006-07-07 16:11 .. lrwxrwxrwx 1 vpopmail vchkpw 24 2006-07-13 13:59 .dovecot.sieve -> sieve/mailinglists.sieve -rw------- 1 vpopmail vchkpw 264 2006-07-13 14:01 .dovecot.sievec drwx------ 14 vpopmail vchkpw 640 2006-07-14 16:06 Maildir -rw-r--r-- 1 vpopmail vchkpw 60 2006-07-07 16:12 .qmail drwx------ 3 vpopmail vchkpw 144 2006-07-13 13:58 sieve
Did you manually introduce a .dovecot.sieve inside your Maildir? Does that do anything? I've confirmed that a script like the above does work correctly... Haven't tested the script with dovecot-lda yet, so it might just reside in the wrong place. :)
The managesieve patch places the .dovecot.sieve file inside the specified CONTROL directory and if that is unspecified it is placed in the root of the maildir itself. Normally this would not be a problem, but since dovecot does not use a maildirfolder file and does not check whether the 'folder' is a directory at all it is simply listed in the subscription dialog of my mail software:
xi:/home/test/Maildir# ls -la total 32 drwx--S--- 7 mail mail 4096 2006-07-14 23:23 . drwxr-sr-x 3 mail mail 82 2006-07-12 16:35 .. drwx--S--- 2 mail mail 6 2006-07-08 12:21 cur -rw------- 1 mail mail 144 2006-07-08 12:22 dovecot.index -rw------- 1 mail mail 10272 2006-07-08 12:22 dovecot.index.cache -rw------- 1 mail mail 104 2006-07-08 12:22 dovecot.index.log -rw------- 1 mail mail 1436 2006-07-13 04:15 dovecot.index.thread lrwxrwxrwx 1 mail mail 16 2006-07-13 23:21 .dovecot.sieve -> sieve/ingo.sieve drwx--S--- 2 mail mail 6 2006-07-08 12:21 new drwx--S--- 3 mail mail 56 2006-07-14 01:14 sieve -rw------- 1 mail mail 6 2006-07-14 02:22 subscriptions drwx--S--- 2 mail mail 6 2006-07-08 12:21 tmp drwx--S--- 5 mail mail 36 2006-07-14 02:22 .Trash
Manual IMAP:
3243 OK Logged in. 2323 LIST "" "*"
- LIST (\HasNoChildren) "." "dovecot.sieve"
- LIST (\HasNoChildren) "." "Trash"
- LIST (\HasNoChildren) "." "INBOX" 2323 OK List completed.
Regards,
Stephan.