From: Guilhem Moulin Date: Thu, 23 Jul 2015 19:40:44 +0000 (+0200) Subject: Add a sample configuration file and a systemd service file. X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=6103d9791f36839c3f24601135aa2fb6f368a853;p=interimap.git Add a sample configuration file and a systemd service file. --- 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