You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
1.2 KiB

IMAPAccount work
# Address to connect to
Host 127.0.0.1
Port 1143
User USERNAME
# To store the password in an encrypted file use PassCmd instead of Pass
PassCmd "pass email/work"
# Only the connection to davmail (localhost) is unencrypted
# If you are not using a
SSLType None
AuthMechs LOGIN
IMAPStore work-remote
Account work
MaildirStore work-local
# Copy folder hierarchy
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/work/
Inbox ~/.mail/work/Inbox
Channel work-all
Master :work-remote:
Slave :work-local:
# Include everything, except Sync Issues
Patterns * !'Sync Issues' !'Sync Issues/*'
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
# Delete messages on both sides when one is deleted
Expunge Both
Sync All
Channel work-inbox
Master :work-remote:
Slave :work-local:
# Only sync Inbox
Patterns Inbox Sent
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
# Delete messages on both sides when one is deleted
Expunge Both
Sync All