- IMAP connection to my GoogleMail inbox (have that working I guess)
- Offline access to all my mail (can be achieved with offlineimap)
- Sending mails while being offline (will be sent on connection)
Created
December 16, 2011 20:50
-
-
Save martinklepsch/1487916 to your computer and use it in GitHub Desktop.
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
# Documentation for this file can be found here: | |
# /usr/share/offlineimap/offlineimap.conf | |
[general] | |
accounts = Gmail | |
maxconnections = 3 | |
maxsyncaccounts = 3 | |
[Account Gmail] | |
localrepository = Local | |
remoterepository = Remote | |
[Repository Local] | |
type = Maildir | |
localfolders = ~/Mail | |
[Repository Remote] | |
type = IMAP | |
remotehost = imap.gmail.com | |
remoteuser = martinklepsch@gmail.com | |
remotepass = | |
ssl = yes | |
realdelete = no | |
# line breaks added for readability | |
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', | |
re.sub(' +', '_', | |
re.sub(r'.*/(.*)$', r'\1', folder).lower())) |
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
abi2010 CCT faz-boerse mailinglists Sent studium | |
ABI2010 coding FAZ-Boerse newsletter sent_mail Studium | |
all_mail Coding flagged Newsletter Sent_Mail trash | |
All_Mail daten [Google Mail].All Mail noblenights shopping Trash | |
arbeit Daten [Google Mail].Drafts Noblenights Shopping typo3 | |
Arbeit departments [Google Mail].Important oocss sms Typo3 | |
archive Departments [Google Mail].Sent Mail OOCSS SMS typo3_v5 | |
banking drafts [Google Mail].Spam pokerboni social TYPO3 v5 | |
Banking Drafts [Google Mail].Starred queue Social TYPO3_v5 | |
bills empfangsbest&aoq-tigung [Google Mail].Trash Queue spam vimbundles | |
Bills Empfangsbest&AOQ-tigung hosting reminder Spam werbung | |
blog familie_&-_freunde important schule spreadshirts xcss | |
Blog Familie &- Freunde Important Schule starred xCSS |
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
○ offlineimap | |
OfflineIMAP 6.4.0 | |
Copyright 2002-2011 John Goerzen & contributors. | |
Licensed under the GNU GPL v2+ (v2 or any later version). | |
Account sync Gmail: | |
***** Processing account Gmail | |
Copying folder structure from IMAP to Maildir | |
Establishing connection to imap.gmail.com:993. | |
ERROR: INFINITE FOLDER CREATION DETECTED! Folder 'Typo3' (repository 'Local') would be created as folder 'Typo3' (repository 'Remote'). The latter becomes 'typo3' in return, leading to infinite folder creation cycles. | |
SOLUTION: 1) Do set your nametrans rules on both repositories so they lead to identical names if applied back and forth. 2) Use folderfilter settings on a repository to prevent some folders from being created on the other side. | |
***** Finished processing account Gmail | |
ERROR: Exceptions occurred during the run! | |
ERROR: INFINITE FOLDER CREATION DETECTED! Folder 'Typo3' (repository 'Local') would be created as folder 'Typo3' (repository 'Remote'). The latter becomes 'typo3' in return, leading to infinite folder creation cycles. | |
SOLUTION: 1) Do set your nametrans rules on both repositories so they lead to identical names if applied back and forth. 2) Use folderfilter settings on a repository to prevent some folders from being created on the other side. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment