[Dovecot] Moving mail between folders
Hi,
Ive just installed Dovecot and postfix and Ive created a whole bunch of folders and started moving my mail around.
Ive noticed that it copies the mail to the folder I wish to move the mail to and leave the original message waiting to be purged in the original folder
Is there a way to have dovecot delete it straight after it has been moved? as I don't think users are going to take well to this change?
any help would be appreciated
Thanks,
Ilo.
Ilo Lorusso wrote:
Hi,
Ive just installed Dovecot and postfix and Ive created a whole bunch of folders and started moving my mail around.
Ive noticed that it copies the mail to the folder I wish to move the mail to and leave the original message waiting to be purged in the original folder
Is there a way to have dovecot delete it straight after it has been moved? as I don't think users are going to take well to this change?
any help would be appreciated
That's a function of the mail client, not Dovecot.
~Seth
On Thu, Nov 13, 2008 at 07:59:32PM +0200, Ilo Lorusso wrote:
Ive just installed Dovecot and postfix and Ive created a whole bunch of folders and started moving my mail around.
Ive noticed that it copies the mail to the folder I wish to move the mail to and leave the original message waiting to be purged in the original folder
IMAP protocol doesn't have "move" command. It has "copy". So your client need (if I'mnot wrong):
- copy message to destination mailbox (within COPY command)
- store \Deleted flag to a message (within STORE command)
It will not really delete message (but Your client often will not show it at folder anymore). One will be deleted within EXPUNGE command or when You will leave imap folder (with CLOSE command).
Have a look into RFC 3501. Some peoples says It's terrible one tough.
WBR Dmitri Ivanov
participants (3)
-
Dmitri V. Ivanov
-
Ilo Lorusso
-
Seth Mattinen