diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/cron/offlineimap | 2 | ||||
-rw-r--r-- | .config/offlineimap/config | 26 | ||||
-rw-r--r-- | .config/offlineimaprc | 51 | ||||
-rw-r--r-- | .config/symlinks | 1 | ||||
l--------- | .config/systemd/user/default.target.wants/mail.target | 1 | ||||
l--------- | .config/systemd/user/mail.target.wants/offlineimap.service | 1 | ||||
l--------- | .config/systemd/user/mail.target.wants/offlineimap.timer | 1 | ||||
-rw-r--r-- | .config/systemd/user/offlineimap.timer.d/length.conf | 2 |
8 files changed, 31 insertions, 54 deletions
diff --git a/.config/cron/offlineimap b/.config/cron/offlineimap deleted file mode 100644 index 2ba64e9..0000000 --- a/.config/cron/offlineimap +++ /dev/null @@ -1,2 +0,0 @@ -#m h dom mon dow command -*/5 * * * * timeout -s 9 30m offlineimap-runner -u quiet diff --git a/.config/offlineimap/config b/.config/offlineimap/config new file mode 100644 index 0000000..2fc6ecc --- /dev/null +++ b/.config/offlineimap/config @@ -0,0 +1,26 @@ +# -*- Mode: Conf -*- +[general] +accounts = ATT +metadata = ~/.local/share/offlineimap + +## AT&T ############################################################### + +[Account ATT] +localrepository = Local-Main +remoterepository = Remote-SBCGlobal + +[Repository Local-Main] +type = Maildir +localfolders = ~/Maildir +sep = . +folderfilter = lambda folder: folder in [ 'Inbox', 'Bulk Mail' ] + +[Repository Remote-SBCGlobal] +type = IMAP +ssl = yes +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +auth_mechanisms = PLAIN +remotehost = imap.mail.yahoo.com +remoteuser = lukeshu@sbcglobal.net +folderfilter = lambda folder: folder in [ 'Inbox', 'Bulk Mail' ] +idlefolders = [ 'Inbox', 'Bulk Mail' ] diff --git a/.config/offlineimaprc b/.config/offlineimaprc deleted file mode 100644 index c1390c5..0000000 --- a/.config/offlineimaprc +++ /dev/null @@ -1,51 +0,0 @@ -# -*- Mode: Conf -*- -[general] -accounts = ATT,Purdue - -## AT&T ############################################################### - -[Account ATT] -localrepository = Local-Main -remoterepository = Remote-SBCGlobal - -[Repository Local-Main] -type = Maildir -localfolders = ~/Maildir -sep = . -folderfilter = lambda folder: folder in [ 'Inbox', 'Bulk Mail' ] - -[Repository Remote-SBCGlobal] -type = IMAP -ssl = yes -sslcacertfile = /etc/ssl/certs/ca-certificates.crt -remotehost = imap.mail.yahoo.com -remoteuser = lukeshu@sbcglobal.net -folderfilter = lambda folder: folder in [ 'Inbox', 'Bulk Mail' ] - -## Purdue ############################################################ - -[Account Purdue] -localrepository = Local-Purdue -remoterepository = Remote-PurdueMS - -[Repository Local-Purdue] -type = Maildir -localfolders = ~/Maildir.purdue -sep = . -folderfilter = lambda foldername: re.search('INBOX', foldername) - -[Repository Remote-PurdueMyMail] -type = IMAP -ssl = yes -cert_fingerprint = 2189e7d568d93352fcdccaa24137856191703c4a -remotehost = mymail.purdue.edu -remoteuser = shumakl -folderfilter = lambda foldername: re.search('INBOX', foldername) - -[Repository Remote-PurdueMS] -type = IMAP -ssl = yes -remotehost = outlook.office365.com -remoteuser = shumakl@purdue.edu -folderfilter = lambda foldername: re.search('INBOX', foldername) -sslcacertfile = /etc/ssl/certs/ca-certificates.crt diff --git a/.config/symlinks b/.config/symlinks index 8d92ec8..550f444 100644 --- a/.config/symlinks +++ b/.config/symlinks @@ -24,7 +24,6 @@ .config/selected_editor .selected_editor .config/X11/login .vnc/xstartup -.config/offlineimaprc .offlineimaprc .cache/offlineimap .offlineimap # Directories diff --git a/.config/systemd/user/default.target.wants/mail.target b/.config/systemd/user/default.target.wants/mail.target new file mode 120000 index 0000000..40ca36d --- /dev/null +++ b/.config/systemd/user/default.target.wants/mail.target @@ -0,0 +1 @@ +/usr/lib/systemd/user/mail.target
\ No newline at end of file diff --git a/.config/systemd/user/mail.target.wants/offlineimap.service b/.config/systemd/user/mail.target.wants/offlineimap.service new file mode 120000 index 0000000..aacc641 --- /dev/null +++ b/.config/systemd/user/mail.target.wants/offlineimap.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/offlineimap.service
\ No newline at end of file diff --git a/.config/systemd/user/mail.target.wants/offlineimap.timer b/.config/systemd/user/mail.target.wants/offlineimap.timer new file mode 120000 index 0000000..0644e30 --- /dev/null +++ b/.config/systemd/user/mail.target.wants/offlineimap.timer @@ -0,0 +1 @@ +/usr/lib/systemd/user/offlineimap.timer
\ No newline at end of file diff --git a/.config/systemd/user/offlineimap.timer.d/length.conf b/.config/systemd/user/offlineimap.timer.d/length.conf new file mode 100644 index 0000000..c010b38 --- /dev/null +++ b/.config/systemd/user/offlineimap.timer.d/length.conf @@ -0,0 +1,2 @@ +[Timer] +OnUnitInactiveSec=5m |