Created
September 17, 2013 00:16
-
-
Save russell/6588466 to your computer and use it in GitHub Desktop.
ISync & Dovecot Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IMAPAccount gmail-account | |
Host imap.gmail.com | |
User user@gmail.com | |
UseIMAPS yes | |
CertificateFile /etc/ssl/certs/ca-certificates.crt | |
Pass "secret" | |
IMAPStore gmail-store | |
Account gmail-account | |
IMAPAccount local-account | |
Host localhost | |
User username | |
Tunnel /usr/lib/dovecot/imap | |
IMAPStore local-store | |
Account local-account | |
Channel inbox-channel | |
Master :gmail-store: | |
Slave :local-store: | |
Patterns "*" !"[Google Mail]/*" | |
Create Both | |
Expunge Both | |
Channel spam-channel | |
Master :gmail-store: | |
Slave :local-store: | |
Patterns "[Google Mail]/Spam" | |
Create Both | |
Channel trash-channel | |
Master :gmail-store: | |
Slave :local-store: | |
Patterns "[Google Mail]/Bin" | |
Create Both | |
Channel sent-channel | |
Master :gmail-store: | |
Slave :local-store: | |
Patterns "[Google Mail]/Sent Mail" | |
Create Both |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# modifications to /etc/dovecot/conf.d/10-mail.conf | |
mail_location = mdbox:~/Mail/mdbox | |
namespace inbox { | |
# There can be only one INBOX, and this setting defines which namespace | |
# has it. | |
inbox = yes | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment