Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

64 lines (56 sloc) 1.82 KB
# IMAP keeps an "internaldate" attribute for messages, which is separate
# from the date given in the message header, set based upon when the
# message was first received. Fastmail's webmail interface at least
# uses this attribute to properly order messages chronologically.
# The CopyArrivalDate option isn't well documented but it seems that when
# synchronising a new message it uses the Maildir file's Modify date as the
# IMAP internaldate attribute and vice versa. Otherwise it seemed the
# synchronisation time was being used instead. By setting the option here it's
# enabled by default for all Channels.
CopyArrivalDate yes
IMAPAccount kzar
Host imap.fastmail.com
SSLType IMAPS
SSLVersions TLSv1.2
User kzar@kzar.co.uk
PassCmd "secret-tool lookup email kzar@kzar.co.uk"
IMAPStore kzar-remote
Account kzar
MaildirStore kzar-local
# The trailing "/" is important
Path ~/Maildir/kzar/
Inbox ~/Maildir/kzar/INBOX
Flatten .
Channel kzar
Master :kzar-remote:
Slave :kzar-local:
Patterns INBOX Travel Archive Sent Spam Trash
Expunge Both
SyncState *
Sync All
Create Both
IMAPAccount eyeo
Host imap.gmail.com
SSLType IMAPS
SSLVersions TLSv1.2
User dave@adblockplus.org
PassCmd "secret-tool lookup email dave@adblockplus.org"
IMAPStore eyeo-remote
Account eyeo
MaildirStore eyeo-local
# The trailing "/" is important
Path ~/Maildir/eyeo/
Inbox ~/Maildir/eyeo/INBOX
Flatten .
Channel eyeo
Master :eyeo-remote:
Slave :eyeo-local:
# Despite the delimiter being "." locally I had to use "/" here.
Patterns * !"[Gmail]/Drafts"
# Apparently Gmail's IMAP implementation is non-standard, so we rather have to
# move messages to the trash folder, instead of deleting them. Otherwise they'll
# linger in "All Mail". http://notmuch.198994.n3.nabble.com/Sync-mail-deletion-with-Notmuch-mbsync-for-gmail-tp4036008.html
Expunge Slave
SyncState *
Sync All
Create Both
You can’t perform that action at this time.