Last active
February 28, 2019 14:58
-
-
Save jandrewthompson/3a75ede444c782c3cfa73975825a4740 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 config. | |
# copy to ~/.offlineimaprc | |
[general] | |
accounts = ISU | |
[Account ISU] | |
localrepository = Local | |
remoterepository = Remote | |
[Repository Local] | |
type = Maildir | |
localfolders = ~/IlstuMail | |
[Repository Remote] | |
auth_mechanisms = LOGIN | |
type = IMAP | |
remotehost = outlook.office365.com | |
ssl = yes | |
remoteport = 993 | |
remoteuser = "[email protected]" | |
## configure pw via ~/.netrc | |
cert_fingerprint = 49f53034c0ed4507ca924f15742e2c2fe52237b5 | |
folderfilter = lambda folder: folder not in ['Calendar','RSS Subscriptions','Remote:Calendar','search','flagged','Remote:Deleted Items','Deleted Items'] | |
###### Add this section to your crontab ###### | |
##DO QUICK SYNC MOST TIMES | |
#5-59/5 * * * * /home/USER/bin/offlineimap -q -u quiet > /home/USER/.offlineimap/cron.log 2>&1 | |
##DO FULL SYNC AT TOP OF EACH HOUR | |
#0 * * * * /home/USER/bin/offlineimap -u quiet > /home/USER/.offlineimap/cron.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment