aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-07-23 21:40:44 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-07-23 21:40:44 +0200
commit6103d9791f36839c3f24601135aa2fb6f368a853 (patch)
tree6920ec164baa87f853f5b04c1c467b2785c36730
parentcd040238114c91f4942e0847448a84830fac4f7c (diff)
Add a sample configuration file and a systemd service file.
-rw-r--r--imapsync.sample20
-rw-r--r--imapsync.service9
2 files changed, 29 insertions, 0 deletions
diff --git a/imapsync.sample b/imapsync.sample
new file mode 100644
index 0000000..51958aa
--- /dev/null
+++ b/imapsync.sample
@@ -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
index 0000000..e3a47e4
--- /dev/null
+++ b/imapsync.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=IMAP-to-IMAP Syncronization service
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/imapsync
+
+[Install]
+WantedBy=multi-user.target