mam pro imap tohle nastaveni a slozky bezne prochazim.
set imap_user=uzivatelske_jmeno
set imap_pass=moje_tajne_heslo
set imap_authenticators="login"
set ssl_starttls=yes
set spoolfile=imaps://server.cz/
set mbox=imaps://server.cz/
set folder=imaps://server.cz/INBOX
set imap_home_namespace="*"
set imap_list_subscribed=yes
set mbox_type=Maildir
set record="imaps://server.cz/INBOX/Sent"