Dima Kogan
2013-05-13 04:03:53 UTC
Hi.
I use mu/mu4e 0.9.9.5-dev6. When I delete a message in mu4e, two things
happen:
1. The message is moved to the Trash folder
2. The message gets a "Deleted" IMAP flag (T maildir flag)
Most of the time, this works, except sometimes I'm seeing that the
messages are expunged from the Trash, and thus disappear. After a few
months of living with this intermittent behavior (and keeping my mail in
git to fight these purges), I figured out the cause: my mail server
deletes all mail with the Deleted flag set, but only actually does this
when I visit their webmail interface, which I do on occasion. The server
is fastmail.fm, by the way.
I asked them about it, and they claim that the IMAP spec says that the
"Deleted" flag means that the mail should be deleted, thus they're right
to do it. Further, they said that it's uncommon and wrong to set the
Deleted flag on the mail in the Trash folder that is intended to be
kept.
I just looked at the IMAP spec. It says that any message with that flag
is deleted when an Expunge command. So I don't know who's right here.
Questions:
1. Does anybody know if mail servers are supposed to be sending the IMAP
Expunge command? Do most of them do it? If so, mu users should be
seeing disappearing mail in the Trash. I see at least one mailing
list post about mysteriously disappearing mail:
http://groups.google.com/group/mu-discuss/browse_frm/thread/cba4fe32958a5e1e/1cafd86fc81e9e53?lnk=gst&q=trashed#1cafd86fc81e9e53
I do know about the 'expunge' offlineimap setting, but I'd rather not
use it.
2. Is mu4e wrong to set the Deleted flag? Currently there's no setting
to prevent it from being added. Should there be? The flag is added
with the "+T" in mu4e-mark-execute-all() in mu4e-mark.el.
Thanks much.
dima
I use mu/mu4e 0.9.9.5-dev6. When I delete a message in mu4e, two things
happen:
1. The message is moved to the Trash folder
2. The message gets a "Deleted" IMAP flag (T maildir flag)
Most of the time, this works, except sometimes I'm seeing that the
messages are expunged from the Trash, and thus disappear. After a few
months of living with this intermittent behavior (and keeping my mail in
git to fight these purges), I figured out the cause: my mail server
deletes all mail with the Deleted flag set, but only actually does this
when I visit their webmail interface, which I do on occasion. The server
is fastmail.fm, by the way.
I asked them about it, and they claim that the IMAP spec says that the
"Deleted" flag means that the mail should be deleted, thus they're right
to do it. Further, they said that it's uncommon and wrong to set the
Deleted flag on the mail in the Trash folder that is intended to be
kept.
I just looked at the IMAP spec. It says that any message with that flag
is deleted when an Expunge command. So I don't know who's right here.
Questions:
1. Does anybody know if mail servers are supposed to be sending the IMAP
Expunge command? Do most of them do it? If so, mu users should be
seeing disappearing mail in the Trash. I see at least one mailing
list post about mysteriously disappearing mail:
http://groups.google.com/group/mu-discuss/browse_frm/thread/cba4fe32958a5e1e/1cafd86fc81e9e53?lnk=gst&q=trashed#1cafd86fc81e9e53
I do know about the 'expunge' offlineimap setting, but I'd rather not
use it.
2. Is mu4e wrong to set the Deleted flag? Currently there's no setting
to prevent it from being added. Should there be? The flag is added
with the "+T" in mu4e-mark-execute-all() in mu4e-mark.el.
Thanks much.
dima
--
You received this message because you are subscribed to the Google Groups "mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mu-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mu-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.