From 6103d9791f36839c3f24601135aa2fb6f368a853 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 23 Jul 2015 21:40:44 +0200 Subject: Add a sample configuration file and a systemd service file. --- imapsync.sample | 20 ++++++++++++++++++++ imapsync.service | 9 +++++++++ 2 files changed, 29 insertions(+) create mode 100644 imapsync.sample create mode 100644 imapsync.service 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 -- cgit v1.2.3