diff options
-rw-r--r-- | imapsync.sample | 20 | ||||
-rw-r--r-- | imapsync.service | 9 |
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 |