From: Olaf B. <ob...@fe...> - 2004-11-12 12:01:59
|
I subscribe to the squirrelmail-users mailing list. [ ] True - No need to CC me when replying [x] False - Please CC me when replying This bug occurs when I ... ... use a specific plugin/function > Options > Message Filters (/plugins/filters/options.php) ... try to do/view/use .... When I log in. The description of the bug: I have message filter rule running, which moves tagged spam messages to the Trash folder. I added this message filter rule in de default.pref file, so all new users would get the rule activated automatically. I'm using qmail/ldap with courier as mail server, which has create-on-request folder creation. Now a new use just has the Inbox, but no Trash or Sent or Draft folder. When he tries to log on and has a message, where the message filter rule applies to, I get the following error: ERROR : Could not complete request. Query: COPY 137:137 "INBOX.Trash" Reason Given: [TRYCREATE] Mailbox does not exist. When one normally (without the message filter rule) logs in for the first time, Squirrelmail creates the folders (Trash, Sent, Draft). So it seams, that the message filter plugin is run first and the check/creation for the default folders (Trash, Sent, Draft) is done after that. That way, the folders are not existing and an error occurs. The solution would be to first check for the default folders and then run through the different plugins. I can reproduce the bug by: Yes. Simply take a fresh account with only the Inbox - so without sub-folders and create a message filter rule, which moves certain mails to Trash. Then send such a message to the mailbox and log into the mailbox via Squirrelmail. Voila. ---------------------------------------------- My browser information: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) My web server information: PHP Version 4.1.2 PHP Extensions (List) * 0 = yp * 1 = xml * 2 = wddx * 3 = sysvshm * 4 = sysvsem * 5 = standard * 6 = sockets * 7 = shmop * 8 = session * 9 = posix * 10 = pcre * 11 = mbstring * 12 = iconv * 13 = gettext * 14 = ftp * 15 = filepro * 16 = exif * 17 = dba * 18 = ctype * 19 = calendar * 20 = bz2 * 21 = bcmath * 22 = zlib * 23 = session mm * 24 = ldap * 25 = mysql * 26 = gd * 27 = mcrypt * 28 = xslt * 29 = apache SquirrelMail-specific information: Version: 1.4.3a Plugins (List) * 0 = compatibility * 1 = change_qldforward * 2 = filters * 3 = newmail * 4 = folder_synch * 5 = vacation * 6 = retrieveuserdata * 7 = change_ldappass * 8 = gzip * 9 = username * 10 = view_as_html * 11 = autocomplete * 12 = download_all * 13 = folder_sizes * 14 = mini * 15 = bug_report My IMAP server information: Server type: courier Server info: * OK [HIDDEN] IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information. Capabilities: IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS |