diff options
Diffstat (limited to 'offlineimap')
| -rw-r--r-- | offlineimap/.offlineimap.py | 8 | ||||
| -rw-r--r-- | offlineimap/.offlineimaprc | 18 |
2 files changed, 26 insertions, 0 deletions
diff --git a/offlineimap/.offlineimap.py b/offlineimap/.offlineimap.py new file mode 100644 index 0000000..0b0ec8f --- /dev/null +++ b/offlineimap/.offlineimap.py @@ -0,0 +1,8 @@ +import subprocess + + +def get_password(name): + p = subprocess.Popen(['pass', name], stdout=subprocess.PIPE) + p.wait() + password = p.stdout.read().strip() + return password diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc new file mode 100644 index 0000000..872a455 --- /dev/null +++ b/offlineimap/.offlineimaprc @@ -0,0 +1,18 @@ +[general] +accounts = Ket +pythonfile = ~/.offlineimap.py + +[Account Ket] +localrepository = KetLocal +remoterepository = KetRemote + +[Repository KetLocal] +type = Maildir +localfolders = ~/mail/ket + +[Repository KetRemote] +type = IMAP +cert_fingerprint = 49:F5:30:34:C0:ED:45:07:CA:92:4F:15:74:2E:2C:2F:E5:22:37:B5, 8d88881a257e795271a564eb8bcf1ae923272aab +remotehost = outlook.office365.com +remoteuser = bozo.kopic@koncar-ket.hr +remotepasseval = get_password('office.com/bozo.kopic') |
