[Dovecot] Thinderbird+delete+move to Trash folder
hi All,
I have a problem, which makes me headache. I can't find out, what is the problem.
I have a mail szerver, which works just fine as expected, TB move messages to trash folder after I delete it, and they are moved.
I have an other server. If I delete a message, it doesn't move to the Trash folder. As deleted_to_trash plugin is installed, if I only mark messages as deleted, they are moved to thee Trash folder and also with Outlook works well.
It's like when a messages is deleted from TB, the message get moved to the Trash folder, and it's expunged(?) at the same time. Is it possible?
Could you help me?
The system is Ubuntu 9.04 with docecot 1.2.5-0~auto+0 from http://xi.rename-it.nl/debian/, but builded by myself for x86_64.
Thank you,
tamas
Papp Tamás wrote, On 2009. 12. 22. 0:32:
hi All,
I have a problem, which makes me headache. I can't find out, what is the problem.
I have a mail szerver, which works just fine as expected, TB move messages to trash folder after I delete it, and they are moved.
I have an other server. If I delete a message, it doesn't move to the Trash folder. As deleted_to_trash plugin is installed, if I only mark messages as deleted, they are moved to thee Trash folder and also with Outlook works well.
It's like when a messages is deleted from TB, the message get moved to the Trash folder, and it's expunged(?) at the same time. Is it possible?
Could you help me?
The system is Ubuntu 9.04 with docecot 1.2.5-0~auto+0 from http://xi.rename-it.nl/debian/, but builded by myself for x86_64.
I've just tried 1.2.9-0~auto+21 and I see the same.
But(!) if I press SHIFT+DELETE, than it's working as it should work with the pure DELETE. Probably SHIFT+DEL set only the delete flag, it does not move the message?
Thank you,
tamas
On Tue, Dec 22, 2009 at 12:32:00AM +0100, Papp Tamás wrote:
It's like when a messages is deleted from TB, the message get moved to the Trash folder, and it's expunged(?) at the same time. Is it possible?
Do you use TB2? And do you have two trash folders? Like:
- INBOX.Trash
- Trash
Then have a look at this bugreport: https://bugzilla.mozilla.org/show_bug.cgi?id=479226
TB3 behaves differently, but still wrong.
So long, Aiko
:wq ✉
Aiko Barz wrote, On 2009. 12. 22. 11:08:
On Tue, Dec 22, 2009 at 12:32:00AM +0100, Papp Tamás wrote:
It's like when a messages is deleted from TB, the message get moved to the Trash folder, and it's expunged(?) at the same time. Is it possible?
Do you use TB2? And do you have two trash folders? Like:
- INBOX.Trash
- Trash
Then have a look at this bugreport: https://bugzilla.mozilla.org/show_bug.cgi?id=479226
TB3 behaves differently, but still wrong.
hi Aiko,
Thanks for the quick answer and I'm sorry for the late. Yes, this was the problemm it's solved, but still not everything is cool.
I think, I tried everything and now I'm out of clue.
If I press DEL with courier+TB, the message was moved to trash. But if I press SHIFT+DEL, it's just removed the message. With dovecot I can't do that. Is there any solution?
Thank you,
tamas
On Tue, Jan 05, 2010 at 10:13:56PM +0100, Papp Tamás wrote:
hi Aiko,
Thanks for the quick answer and I'm sorry for the late. Yes, this was the problemm it's solved, but still not everything is cool.
I think, I tried everything and now I'm out of clue.
If I press DEL with courier+TB, the message was moved to trash. But if I press SHIFT+DEL, it's just removed the message. With dovecot I can't do that. Is there any solution?
hi!
I didn't wrote, cyrus-imapd works like courier.
Does anybody have an idea for the solution?
Thank you,
tamas
On Thu, Jan 07, 2010 at 10:57:03AM +0100, Papp Tamas wrote:
On Tue, Jan 05, 2010 at 10:13:56PM +0100, Papp Tamás wrote:
If I press DEL with courier+TB, the message was moved to trash. But if I press SHIFT+DEL, it's just removed the message. With dovecot I can't do that. Is there any solution?
I didn't wrote, cyrus-imapd works like courier.
Does anybody have an idea for the solution?
Moving mails to Trash or expunging them directly is something, the mailprogram has to take care of. Right now, I guess, your thunderbird configuration is slighty different for dovecot.
To prove my guess, you should start with an empty mailbox and a fresh thunderbird profile.
So long, Aiko
:wq ✉
Aiko Barz wrote, On 2010. 01. 07. 13:49:
Moving mails to Trash or expunging them directly is something, the mailprogram has to take care of. Right now, I guess, your thunderbird configuration is slighty different for dovecot.
To prove my guess, you should start with an empty mailbox and a fresh thunderbird profile.
Yes, I did with the same result. Does it work for you?
Thanks,
tamas
On 11:59 AM, Papp Tamás wrote:
Aiko Barz wrote, On 2010. 01. 07. 13:49:
Moving mails to Trash or expunging them directly is something, the mailprogram has to take care of. Right now, I guess, your thunderbird configuration is slighty different for dovecot.
To prove my guess, you should start with an empty mailbox and a fresh thunderbird profile.
Yes, I did with the same result. Does it work for you?
shift+del works for me with TB 3.0 and Dovecot 1.2.9.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Papp Tamas wrote:
On 2010. 01. 07. 20:08, Mark Sapiro wrote:
shift+del works for me with TB 3.0 and Dovecot 1.2.9.
Could you send me a diff agains the default dovecot.conf?
Here's my dovecot -n
# dovecot -n # 1.2.9: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-8.1.14.el5 i686 CentOS release 5 (Final) protocols: pop3 pop3s imap imaps ssl_cert_file: /etc/postfix/sbh16-cert.pem ssl_key_file: /etc/postfix/sbh16-key.pem login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login mail_privileged_group: mail mail_location: mbox:~/Mail:INBOX=/var/spool/mail/%u mbox_write_locks: fcntl dotlock mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 lda: postmaster_address: postmaster@example.com auth default: mechanisms: plain apop login worker_max_count: 5 passdb: driver: passwd-file args: /usr/local/etc/dovecot.passwd passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro wrote, On 2010. 01. 07. 23:28:
Here's my dovecot -n
# dovecot -n # 1.2.9: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-8.1.14.el5 i686 CentOS release 5 (Final) protocols: pop3 pop3s imap imaps ssl_cert_file: /etc/postfix/sbh16-cert.pem ssl_key_file: /etc/postfix/sbh16-key.pem login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login mail_privileged_group: mail mail_location: mbox:~/Mail:INBOX=/var/spool/mail/%u mbox_write_locks: fcntl dotlock mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 lda: postmaster_address: postmaster@example.com auth default: mechanisms: plain apop login worker_max_count: 5 passdb: driver: passwd-file args: /usr/local/etc/dovecot.passwd passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix
Well the conlusion is to me, that I can't use deleted_to_trash and SHIFT+DEL together.
Thank you,
tamas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 7 Jan 2010, Papp Tamás wrote:
Well the conlusion is to me, that I can't use deleted_to_trash and SHIFT+DEL together.
I think so, because on Shift-DEL the client must first mark the message as "DELETED", then expunge. The deleted_to_trash would need to wait a bit to not interfere the process.
Regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBS0bz2r+Vh58GPL/cAQIftAgApTl9PnwHulyIfckA8BAqhaTSgOcRAecZ GhOkPA25KxmgeJXbRXrtisc1++d+R8JWbZjjpBEs24INYF4xJZ7nEM33adpxWFBM GF4UN8HKpPMWHqn1g+v7xKcGqJCM6CiN9iykmokmh6nnWayEqIocJdBOIS6o9xMH J676vtyIEm87ocRUZCxXZyNkQICE7jMJa09FzRThAJiMtZxz8Z7oAGMZB9+eROFp ZR0xssHqD3+H/9xWXw/3H1ZhsV72ASu2Hg7kFrz3jR4sQ2pMt7neisxlkKkJkDhb ZF67boExwYEXUdyhaIkPY20wynK50lsUHtfumz/WBg7NNkUC6lwrow== =rF7H -----END PGP SIGNATURE-----
(as a reply to your mail)
I'm not subscribed to the mailing list, but I just read your thread regarding this plugin.
It seems to me that the Shift-Delete function you are referring to in Thunderbird just bypasses the built-in move-to-trash-on-delete function, but on the server-side is identical to any other regular delete action (flag the message as deleted, followed by an expunge later on, probably after closing the mail client) and is thus copied to the trash folder by my plugin.
I can't think of anything to distinguish this behavior from a normal delete action by any other mail client and using Shift-Delete in Thunderbird (server-side), if you know one, please let me know and I will try to implement it.
Greetings, Lex Brugman
Lex Brugman wrote, On 2010. 01. 12. 0:01:
(as a reply to your mail)
I'm not subscribed to the mailing list, but I just read your thread regarding this plugin.
It seems to me that the Shift-Delete function you are referring to in Thunderbird just bypasses the built-in move-to-trash-on-delete function, but on the server-side is identical to any other regular delete action (flag the message as deleted, followed by an expunge later on, probably after closing the mail client) and is thus copied to the trash folder by my plugin.
I can't think of anything to distinguish this behavior from a normal delete action by any other mail client and using Shift-Delete in Thunderbird (server-side), if you know one, please let me know and I will try to implement it.
hi Lex,
I don't know quite a lot about IMAP.
I just know courier and cyrus and how the way they work with TB. With them TB expunge the message if I delete it by SHIFT+DEL.
What I can see with courier is if I press DEL, it marks the message as deleted and copy it to Trash. I say this, because it leaves the marked message in the mailbox (maildir) and for example I can see and undelete it by mutt. If I press SHIFT+DEL, it does not move the message to Trash, only marks it as deleted.
I apologize if I was not exact and I didn't use the right phrases.
Thank you,
tamas
On Wed, 13 Jan 2010 22:18:31 +0100, Papp Tamás <tompos@martos.bme.hu> wrote:
Lex Brugman wrote, On 2010. 01. 12. 0:01:
[..]
I can't think of anything to distinguish this behavior from a normal delete action by any other mail client and using Shift-Delete in Thunderbird (server-side), if you know one, please let me know and I will try to implement it.
hi Lex,
I don't know quite a lot about IMAP.
I just know courier and cyrus and how the way they work with TB. With them TB expunge the message if I delete it by SHIFT+DEL.
What I can see with courier is if I press DEL, it marks the message as deleted and copy it to Trash. I say this, because it leaves the marked message in the mailbox (maildir) and for example I can see and undelete it by mutt. If I press SHIFT+DEL, it does not move the message to Trash, only marks it as deleted.
I apologize if I was not exact and I didn't use the right phrases.
Thank you,
tamas I understand the difference between the actions in the mail client, but to be able to do something with this in the plugin I need to know how it is different from a normal delete action on the server-side.
Lex
participants (6)
-
Aiko Barz
-
Lex Brugman
-
Mark Sapiro
-
Papp Tamas
-
Papp Tamás
-
Steffen Kaiser