<<< Date Index >>>     <<< Thread Index >>>

Re: Deleting messages via IMAP



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sunday, May 31 at 07:43 PM, quoth Ken Weingold:
> On Mon, Jun  1, 2009, Michelle Konzack wrote:
>> Am 2009-05-31 18:45:50, schrieb Ken Weingold:
>>> Weird question, and sorry if this is not a mutt issue.  I normally 
>>> read my mail via mutt directly on the server, but sometimes access 
>>> this mailbox via IMAP from my iPhone.  If I delete messages from the 
>>> iPhone, next time I open mutt those deleted messages are still in my 
>>> mailbox, marked for deletion.  How can I deal with this?
>> 
>> EXPUNGE or FLUSH
>
> Sorry, I mean how to get the messages to really delete when I delete 
> them from the iPhone, just as if I had deleted and hit $ from mutt.

That's more of an iPhone question than anything else... unfortunately, 
as far as I know, the answer is essentially what Michelle told you. 
You have to use the iPhone to explicitly remove the messages from the 
server. Unfortunately, according to what I've found with a few Google 
searches, that's currently impossible. For example, these folks: 
http://blogs.freshlogicstudios.com/Posts/View.aspx?Id=44a01293-3b32-4ee0-b23c-fac99348e1cd
 
have created an extra utility just for expunging messages. Of course, 
the utility has to be run from a desktop (Windows) machine.

An alternative is to simply convince mutt to hide these messages from 
you, which you can do using limit. But it might be simpler to simply 
have mutt do an automatic sync whenever it enters a mailbox, e.g.:

     folder-hook . 'exec sync-mailbox'


~Kyle
- -- 
Coffee is the common man's gold, and like gold, it brings to every 
person the feeling of luxury and nobility.
                                                  -- Sheik Abd-al-Kadir
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJKI1S2AAoJECuveozR/AWe6zYQAKeFB0RwahXrDbJ9KHSoVSm+
e1tkenhbOWpenus8K4O4KpBA8ajB0aPYhJSNnYOAMjcMoy7Lf6knkxKyigHx1GYm
4bhlvshW9iMjCZlp00om81KrfBX/yn6R3mivBXC+mPyRwH8EUNfoFQj4nw9Xq++5
pLLnUb3ju+K8cOEGy3/4v6MpRiN0yb/f9he/cfFvCiIABIxAmF802RDuJwXflgaO
MUDFudwoybdUeGeOnzvOMbKYTJE6UQviUl/kUq+NE8rpPWDmzVaeQCx0nTNWzakg
YaV+ZSX5ZW9X69rJP9PyHv2hA+L3rDxk6xPKmxJFd2CWhBzkEi2fGyrXnQFn/VON
ByMNpbIQYLzmgBEj218apy8hau4jN9iQjloBBuprD1hSpfg1qE9xnX4Hcp5Th6pI
nROE+hP7CyT5PXLq3y9ht7xRMz3U3vT3kittlkGuCY1HtAFBHdj7Mv3EBthDHzFi
h78rGjl5uBh4jo1w+SI9I6MQ+baSYBY0/dYwGEP+3fNdWt7JKhVje7PhliQHk5Rz
Z3A17c7O6NyS21jPq1KyGeo/T57eOSzodSNZ9YGoQrfuJJy67FYBRaAOIHHikOQV
APsq4E6rKDl2j/Gsgk+BDKnQ2j0WFpdzzPciWcFqtCWzyAjKuINoTKxAxdjaiVOy
p76+goQ4NHH1raYKCefs
=lhLu
-----END PGP SIGNATURE-----