]> git.g-eek.se Git - interimap.git/commitdiff
Add a sample configuration file and a systemd service file.
authorGuilhem Moulin <guilhem@fripost.org>
Thu, 23 Jul 2015 19:40:44 +0000 (21:40 +0200)
committerGuilhem Moulin <guilhem@fripost.org>
Thu, 23 Jul 2015 19:40:44 +0000 (21:40 +0200)
imapsync.sample [new file with mode: 0644]
imapsync.service [new file with mode: 0644]

diff --git a/imapsync.sample b/imapsync.sample
new file mode 100644 (file)
index 0000000..51958aa
--- /dev/null
@@ -0,0 +1,20 @@
+; database = imap.guilhem.org.db
+
+[local]
+type = preauth
+command = /usr/lib/dovecot/imap
+
+[remote]
+; type = imaps
+host = imap.guilhem.org
+; port = 993
+username = guilhem
+password = xxxxxxxxxxxxxxxx
+
+; SSL options
+;SSL_verify_peer = TRUE
+SSL_ca_path = /etc/ssl/certs
+;SSL_cipher_list = EECDH+AES:EDH+AES:!MEDIUM:!LOW:!EXP:!aNULL:!eNULL:!SSLv2:!SSLv3:!TLSv1:!TLSv1.1
+;SSL_fingerprint = sha256$62E436BB329C46A628314C49BDA7C2A2E86C57B2021B9A964B8FABB6540D3605
+
+; vim:ft=dosini
diff --git a/imapsync.service b/imapsync.service
new file mode 100644 (file)
index 0000000..e3a47e4
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=IMAP-to-IMAP Syncronization service
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/imapsync
+
+[Install]
+WantedBy=multi-user.target