OFFLINEIMAP(1) OFFLINEIMAP(1) (NAME) offlineimap - Maildir (SYNOPSIS) offlineimap () (DESCRIPTION) IMAP. . IMAP . Maildir IMAP . . (OPTIONS) -h, --help . --version . -V offlineimap imaplib2. --dry-run (). . Would create folder X . --info . . `-a' . . -1 . maxsyncaccounts maxconnections 1 ( ) . -P OfflineIMAP (profile). (DIR) ( ). profiledir . : . . `-1' . -a (accounts) . . -c . -d OfflineIMAP. . . : "imap" "thread" "maildir" "ALL". imap IMAP . . maildir Maildir . ( "thread" ) `-1' . -l . -s (syslog). -f . (remote) . folderfilter folderincludes . -k <[section:]option=value . "section" "general" . (_) "autorefresh" "[Account Personal]" `-k Account_Personal:autorefresh=30' . . -o . autorefresh . -q . IMAP. IMAP . maxage . -u . . `-u' . : quiet basic syslog ttyui blinkenlights machineui. --delete-folder . / -a . ( /) UTF-8 utf8foldernames IMAP : "Remote/folder/name". --migrate-fmd5-using-nametrans FMD5 6.3.5. FMD5 6.3.5 ( nametrans ) . FMD5 . (Caution) FMD5 UID . Maildir `--dry-run' . --mbnames-prune mbnames / . offlineimap mbnames . mbnames . mbnames . offlineimap . accounts mbnames . /mbnames/ . --dry-run . (SYNCHRONIZATION PERFORMANCE) . . . 1. . IMAP . . offlineimap . (Warning) maxsyncaccounts maxconnections (race conditions) . 2. folderfilters. . - . :). folderfilter offlineimap.conf . 3. (sqlite cache). OfflineImap . ( ) . . sqlite . . . /Account-/LocalStatus ( sqlite LocalStatus-sqlite ). offlineimap . 4. (quick sync). (UID) . IMAP ( Maildir ). . (cron) `-q' `-f INBOX' . 5. fsync. [general] fsync True False . True . False . (SECURITY AND SSL) OfflineIMAP openssl SSLv2 SSLv3 TLSv1 . SSLv2 . python2 SSLv2 . SSLv2 . "openssl s_client -host mail.server -port 443" . o (Certificate checking) IMAP TLS/SSL SSL (man-in-the-middle) . (fingerprint) . : sslcacertfile offlineimap.conf ( ) CA PEM . : 1. SSL CA . 2. SSL . 3. . (FAQ) CA . o StartTLS SSL IMAP OfflineImap STARTTLS . STARTTLS ( imaplib ). . . IMAP STARTTLS ! o allow_nonstandard_capabilities IMAP STARTTLS CAPABILITY RFC 2595 . OfflineIMAP . allow_nonstandard_capabilities = yes : OfflineIMAP STARTTLS LOGINDISABLED () . : TLS . STARTTLS . : no. (UNIX SIGNALS) OfflineImap SIGUSR1 SIGUSR2 SIGTERM SIGINT SIGHUP SIGQUIT . o SIGUSR1 ( ) autorefresh . . o SIGUSR2 SIGABRT autorefresh . . "" offlineimap . o SIGTERM SIGINT SIGHUP . (keep alive) . autorefresh . SIGTERM SIGQUIT . o SIGQUIT (stack trace) (core dump) . (KNOWN ISSUES) o (Deletions). . offlineimap . : o . o . o SSL3 write pending. SSL "SSL3 write pending" . () . OfflineIMAP . . . . o IDLE . . o (hook) " IDLE" . . o nametrans . o IMAP IDLE <-> IMAP IDLE . o IDLE / (suspend/resume) . o IDLE <<>> . ! o Maildir . Maildir (:) . . : 1. (). o http://support.microsoft.com/kb/289627 2. (cygwin managed mount) (). o cygwin 1.7 . 3. "maildir-windows-compatible = yes" OfflineIMAP. o OfflineIMAP (!) . . Maildir . o : http://docs.python.org/library/mailbox.html o . o OfflineIMAP (suspend). socktimeout OfflineIMAP () . 10 . o OfflineIMAP . OfflineIMAP . OfflineIMAP . o maildir IMAP. IMAP Maildir . maildir IMAP . MD5 ( !) Maildir . MD5 () UID ( !) . Maildir . : `~/mail/Pro' Maildir ProGmail `~/mail/Personal' . mutt MUA `~/mail/' . o maxage . maxage (+/- ) . UID UID offlineimap UID offlineimap Maildir . . o Offlineimap ( ). `singlethreadperfolder' yes IMAP/IMAP ( maildir). o netrc. Offlineimap netrc . : https://github.com/OfflineIMAP/offlineimap/issues/295 o XOAUTH2 XOAUTH2 . offlineimap.conf . Gmail : https://github.com/OfflineIMAP/offlineimap/labels/Gmail : o [imap]: xoauth2handler: response "{u'error': u'invalid_grant'}" o oauth2handler got: {u'error': u'invalid_grant'} (refresh token) . "invalid_grant". invalid_grant : - (NTP) . - . (Token expiration). . : - . - . - Gmail . - . . . . : https://developers.google.com/analytics/devguides/config/mgmt/v3/authorization https://developers.google.com/identity/protocols/OAuth2#expiration o "does not have message with UID" `ERROR: IMAP server 'Server ### Remote' does not have a message with UID 'xxx'` IMAP RFC . folderfilter . : http://www.offlineimap.org/doc/FAQ.html#exchange-and-office365 (MAIN AUTHORS) John Goerzen, Sebastian Spaetz, Eygene Ryabinkin, Nicolas Sebrecht. (SEE ALSO) offlineimapui(7), openssl(1), signal(7), sqlite3(1). http://www.offlineimap.org 08/10/2026 OFFLINEIMAP(1)