Basics of IMAP on ratchet *** Please contact dannyman@toldme.com and let me know how you fare *** here. - MAILDIR versus MAIL Courier uses Maildir, which stores each message in a seperate file in a directory. You are likely accustomed to mbox, where all messages in a folder are stored in one file. Courier looks at your $HOME/Maildir/ Courier stores subfolders in $HOME/Maildir/.subfoldername/ You can create subfolders from command line with maildirmake: maildirmake $HOME/Maildir/ maildirmake $HOME/Maildir/.subfoldername/ - MAIL CLIENT CONFIGURATION You can handle this. Set to ratchet, use SSL. This will get you an encrypted connection. Remember the certficate so you don't get spoofed. I need to put the fingerprint values for the key here. - DELIVERY TO MAILDIR Set .forward file to "$HOME/Maildir/" OR Set .procmailrc: DEFAULT=$HOME/Maildir/ - PROCMAIL # "MAILDIR" is the parent subfolder of your incoming sub-folders MAILDIR=$HOME/Maildir/ *** The important thing to remember is to end your subfolder delivery *** names with '/' ... if you don't, delivery will succeed, but it will *** be in Mh style, which will just confuse you. - MUTT Set your environment MAIL=$HOME/Maildir/ - MUTT and SUBFOLDERS From my .muttrc: # Where does mutt look for subfolders? set folder=$HOME/Maildir/ # Subfolders begin with '.' -- default value excludes these set mask="^\\." # Where do we store our ingoing / outgoing messages? send-hook . "set record=$HOME/Maildir/.archive-`date +%Y-%m`/" save-hook . =.archive-`date +%Y-%m`/ # This is compatible with Phoenix "Drafts" folder set postponed=$HOME/Maildir/.Drafts *** Since mutt does not seem to implicitly create Maildir-style subfolders, you may have to run maildirmake. See ~djh/bin/monthly.sh for an example of where I create my monthly archive folder out of cron. - CONVERTING mbox TO Maildir Personally, I prefer to open a folder in mutt, select all the messages, then apply a save on them to the new folder. This means, open your mbox, select all, save to Maildir, and you're done. I'd tell you the key sequences, but my key sequences are bizarrely pine-like. Sorry. You can also look at ~djh/bin/mbox2maildir but it takes its orders from environment variables and deletes the mbox, which makes me feel ooky. - MAILDIR performance issues For long-term storage, I prefer mbox format for mail folders - one inode, easier to grep. I advocate occasionally moving folders OUT of Maildir/ hierarchy into old-fashioned Mail/mbox style archives. - OFFLINE ACCESS Phoenix has pretty nice offline functionality.