You are not logged in.

#1 2013-10-21 21:17:06

systemovich
Member
Registered: 2013-05-27
Posts: 20

[SOLVED] [mutt] Synching disconnects if some messages are flagged D

If I have messages flagged D in any of my imap folders, and I then sync with the server ($), the following sequences of notices are displayed in the status bar:

1. Purge 1 deleted message? ([yes] no): <Enter>
2. Expunging messages from server...
3. Connection closed.
4. Mailbox closed.
5. imap_sync_mailbox: Expunge failed[]? // typing anything here does not seem to make a difference.
6. No mailbox is open.
7. Error saving flags. // This one appears at some point. Not exactly sure where.

After closing mutt, and starting it again, the deleted messages are gone, but read messages are again new (N). If there are no messages flagged D when synching, everything works smoothly.

What could be the problem?

~/.mutt/muttrc

# GPG Support.
source /etc/Muttrc.gpg.dist
source "gpg2 -dq $HOME/.my-pwds.gpg |"
 
# Credentials.
set imap_user = systemovich@example.com
set imap_pass = $my_pw
 
# Folders.
set folder = imaps://imap.example.com/
set spoolfile = +INBOX
set record = +Sent\ Items
set postponed = +Drafts
set imap_check_subscribed
 
# Allow Mutt to open new IMAP connection automatically.
unset imap_passive
 
# Keep IMAP connection alive by polling intermittently.
set imap_keepalive = 100
 
# Frequency for checking for new mail, in seconds.
set mail_check = 900 # 15 minutes
 
# SMTP Settings.
set smtp_url = smtps://$imap_user:$my_pw@smtp.example.com/
set ssl_starttls = yes
set realname = "John Doe"
set from = $imap_user
set use_from = yes

Last edited by systemovich (2013-10-22 16:15:58)

Offline

#2 2013-10-21 21:29:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] [mutt] Synching disconnects if some messages are flagged D

mutt's IMAP support is not that flash: I'd recommend you use offlineimap or isync.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-10-22 08:51:05

systemovich
Member
Registered: 2013-05-27
Posts: 20

Re: [SOLVED] [mutt] Synching disconnects if some messages are flagged D

jasonwryan wrote:

mutt's IMAP support is not that flash: I'd recommend you use offlineimap or isync.

Thanks. I will try those.

Offline

#4 2013-10-22 16:15:32

systemovich
Member
Registered: 2013-05-27
Posts: 20

Re: [SOLVED] [mutt] Synching disconnects if some messages are flagged D

I have offlineimap working after some hours. I added a few lines that worked for me, to the wiki.

Offline

Board footer

Powered by FluxBB