Hi,

For some reason, Mutt complains that "delete is only supported for
IMAP mailboxes" when I type d when an IMAP folder is selected in the
folder list (the first menu shown when running mutt -y).  I can't see
anything wrong with my configuration and everything else seems to work
fine, so I have no idea why it doesn't think any of the IMAP folders
are, eh, IMAP folders. :/ (I have attached the relevant parts of my
.muttrc file.)  Can anyone help me with this?

Thanks,
Aidan Gauland
# Use maildir instead of the default, all-in-one-file mbox format for
# local mailboxes.
set mbox_type=Maildir

## IMAP accounts ##
# Base hook to reset account variables to known state before activating new ones
account-hook . 'unset preconnect imap_user imap_pass imap_authenticators; set 
ssl_starttls=ask-yes'

account-hook imaps://imap.rurallink.co.nz 'set 
imap_user=aidal...@no8wireless.co.nz imap_pass=[snip]'
folder-hook 'imaps://imap.rurallink.co.nz/' 'set 
folder=imaps://imap.rurallink.co.nz/ record=+Sent postponed=+Drafts 
from=aidal...@no8wireless.co.nz sendmail="/usr/bin/msmtp --account no8wireless"'

account-hook imaps://[snip] 'set imap_user=[snip] imap_pass=[snip]'
folder-hook 'imaps://[snip]/' 'set folder=imaps://[snip]/ record=+Sent 
postponed=+Drafts from=[snip] sendmail="/usr/bin/msmtp --account [snip]"'

mailboxes imaps://imap.rurallink.co.nz/INBOX imaps://[snip]/INBOX

# Activate TLS if available on the server.
set ssl_starttls=yes

# Don't wait to enter mailbox manually.
unset imap_passive        

# Automatically poll subscribed mailboxes for new mail.
set imap_check_subscribed

# Reduce polling frequency to a sane level.
set mail_check=60

# Display download progress every 5K.
set net_inc=5

# Set keepalive delay.
set imap_keepalive=120

# Set prompt for purging deleted messages.
set delete=ask-no

# Cache headers and bodies.
set header_cache = "~/.mutt.d/cache"
set message_cachedir = "~/.mutt.d/cache"

set certificate_file="~/.mutt.d/certificates"

Attachment: signature.asc
Description: Digital signature

Reply via email to