Mirko Schulze
2005-Feb-15 12:21 UTC
[Dovecot] Need 2 additional folders like INBOX for JUNK and INFECTED mails
Hi there,
i need for JUNK & INFECTED mail two folders like INBOX.
The folders must be fixed in naming, permissions and so on.
I've adjusted some commands in the ./src/imap folder.
But it's work not really fine:
Creating a folder works, but deleting too. *smile*
Moving a "special-name-folder" (f.e. from Trash) to its correct
place,
Dovecot says, that the folder is currently there.
subsribing / unsubscribing doesn't work, too.
...
...
...
I think that this is a "standard" problem for much people, who
don't
want, that the users will delete files through the imap protocol.
Are there any solutions?
Thanx
Mirko
Mirko Schulze
2005-Feb-17 12:32 UTC
[Dovecot] Re: Need 2 additional folders like INBOX for JUNK and INFECTED mails
Hi there. I've solved now the problem, but it's not really fine yet. The "special-folders" are undeletable in the filesystem, but the Mailclient displays different errormessages for the same action. I've modified following source files. The new additional lines are similar to the INBOX "lines" /src/imap/cmd-list.c: 63 /src/imap/cmd-delete.c :20 /src/lib-storage/index/maildir/maildir-storage: 294,308,437,601 Notice that the linenumbers are not really correct, because of the deferrals by inserting new sourcecode. The new problem is, that the mailclient displays incorrect error messages. When i use another folder caching method i'll get no errors. Perhaps someone has a better solution, than i? Thanks Mirko