Skip to content

Source for local or IMAP mailboxes

Local

set folder="~/Maildir"
set spoolfile="~/Maildir/INBOX"

# In local folders display lines:
folder-hook . 'set index_format="%4C %Z %-10.10[!%d.%m.%y] %-20.20F (%?M?C%3M&%5l?) %s "'

IMAP

  set imap_user   = <em>uname</em>
  set imap_pass   = <em>pword</em>
  set imap_list_subscribed=yes

# Automatically log in to this mailbox at startup
  set spoolfile="imaps://hillnet.localnet/INBOX"

# Define the = shortcut, and the entry point for the folder browser (c?)
  set folder="imaps://hillnet.localnet"

# activate TLS if available on the server
  set ssl_starttls=yes
# always use SSL when connecting to a server
  set ssl_force_tls=yes
# Don't wait to enter mailbox manually 
unset imap_passive        
# Automatically poll subscribed mailboxes for new mail (new in 1.5.11)
  set imap_check_subscribed=yes
# Reduce polling frequency to a sane level
  set mail_check=60
# And poll the current mailbox more often (not needed with IDLE in post 1.5.11)
  set timeout=10
# Display download progress every 5K
  set net_inc=5

# In IMAP folders display KByte (because lines are not available):
folder-hook =$ 'set index_format="%4C %Z %[!%d.%m.%y] %-15.15F (%?M?C%3M&amp;%4c?) %s"'

#unmailboxes *

Last update: April 1, 2021