[imp] Avoid/Prohibit folder deletion? (Cyrus).
Jan Schneider
jan at horde.org
Thu Nov 29 14:10:41 UTC 2007
Zitat von "Lauro Costa G. Borges" <lauro at npd.ufsc.br>:
> Citando Jan Schneider <jan at horde.org>:
>> Zitat von "Lauro Costa G. Borges" <lauro at npd.ufsc.br>:
>>
>>> Citando Jan Schneider <jan at horde.org>:
>>>
>>>> Zitat von "Lauro Costa G. Borges" <lauro at npd.ufsc.br>:
>>>>
>>>>> I would like to be able to:
>>>>> - have the Spam folder created like the others
>>>>> or
>>>>
>>>> This happens if you use IMAP filtering. If you use server-side
>>>> filtering you need to take care of folder creation yourself.
>>>
>>> Sorry, I meant, recreation. By the default all users have a Spam
>>> folder, but if someone deletes it, it does not get recreated by
>>> Horde, as Horde does with other folders (sent/trash/drafts).
>>> On prefs.php I set the names for spam/trash/drafts/sent and locked
>>> the options, and created the folders on the imap server.
>>> If someone deletes any of these folders, Horde and other clients
>>> recreate the folders, except for Horde that does not recreate the
>>> spam folder when needed.
>>
>> My answer still holds true. The folders are created on demand: if a
>> message is sent, if a draft is saved, if a spam message is filtered.
>> If any of those happens outside of IMP, it's not IMP's job to create
>> those folders.
>>
>> Jan.
>
> The spam folder does not get recreated when a user clicks on "Report
> as spam" inside IMP:
>
> " There was an error moving messages from "Inbox" to "Spam". This is
> what the server said: [TRYCREATE] Mailbox does not exist."
This error message rather sounds like it was trying to create the
folder but failed.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the imp
mailing list