Private
Server IP : 195.201.23.43  /  Your IP : 3.146.176.29
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/dovecot-core/wiki/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/doc/dovecot-core/wiki/mutt.txt
Contents


 1. Using mutt with IMAP

     1. configuration

     2. problems

         1. Move read messages to mbox

         2. New mail in a folder just left

         3. Authentication realm

 2. References

Using mutt with IMAP
====================

configuration
-------------

First, mutt needs to be told to use IMAP. To achieve this, edit '~/.muttrc' (or
a file it 'source's) to contain:

---%<-------------------------------------------------------------------------
set spoolfile=imap://user@hostname/INBOX
set folder=imap://user@hostname/
---%<-------------------------------------------------------------------------

problems
--------

Move read messages to mbox
--------------------------

If mutt asks 'Move read messages to /home/$user/mbox? ([no]/yes):'

Your alternatives (to set in '~/.muttrc') are (pick one and ignore the others):

 1. don't ask about moving messages, just do it:

    ---%<---------------------------------------------------------------------
    set move=yes
    ---%<---------------------------------------------------------------------

 2. don't ask about moving messages and _don't_ do it:

    ---%<---------------------------------------------------------------------
    set move=no
    ---%<---------------------------------------------------------------------

 3. ask about moving message, default answer 'yes':

    ---%<---------------------------------------------------------------------
    set move=ask-yes
    ---%<---------------------------------------------------------------------

 4. ask about moving message, default answer 'no':

    ---%<---------------------------------------------------------------------
    set move=ask-no
    ---%<---------------------------------------------------------------------

New mail in a folder just left
------------------------------

There is a bug with dovecot in <=0.99. It can sometimes make mutt think there
is new email in a mailbox you just
'left'...https://dovecot.org/list/dovecot/2004-February/002950.html

Authentication realm
--------------------

If you are using IMAP with SASL and get error messages like 'Invalid realm' in
your dovecot log files, try putting this in your '.muttrc' or '/etc/Muttrc]':

---%<-------------------------------------------------------------------------
set imap_authenticators="plain"
---%<-------------------------------------------------------------------------

It might be easier however to just put the following in your 'dovecot.conf':

For Dovecot 1.0:
  ---%<-----------------------------------------------------------------------
  auth default {
    mechanisms = plain
  }
  ---%<-----------------------------------------------------------------------

For Dovecot 0.99:
  ---%<-----------------------------------------------------------------------
  auth_mechanisms = plain
  ---%<-----------------------------------------------------------------------

References
==========

 * Official mutt homepage [http://www.mutt.org/]
 * mutt with IMAP documentation [http://mutt.sourceforge.net/imap/]
 * http://jamespo.org.uk/blog/archives/000271.html

(This file was created from the wiki on 2019-06-19 12:42)
Private