summaryrefslogtreecommitdiffstats
path: root/getmail
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--getmail/.config/systemd/user/getmail.service8
-rw-r--r--getmail/.config/systemd/user/getmail.timer10
-rw-r--r--getmail/.getmail/getmailrc14
3 files changed, 32 insertions, 0 deletions
diff --git a/getmail/.config/systemd/user/getmail.service b/getmail/.config/systemd/user/getmail.service
new file mode 100644
index 0000000..4e91ef3
--- /dev/null
+++ b/getmail/.config/systemd/user/getmail.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=getmail service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/getmail
+StandardOutput=syslog
+StandardError=syslog
diff --git a/getmail/.config/systemd/user/getmail.timer b/getmail/.config/systemd/user/getmail.timer
new file mode 100644
index 0000000..64036a8
--- /dev/null
+++ b/getmail/.config/systemd/user/getmail.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=getmail timer
+
+[Timer]
+OnCalendar=0/1:00:00
+Persistent=true
+Unit=getmail.service
+
+[Install]
+WantedBy=timers.target
diff --git a/getmail/.getmail/getmailrc b/getmail/.getmail/getmailrc
new file mode 100644
index 0000000..11e4ce4
--- /dev/null
+++ b/getmail/.getmail/getmailrc
@@ -0,0 +1,14 @@
+[retriever]
+type = SimplePOP3SSLRetriever
+server = fencepost.gnu.org
+username = aminb
+port = 995
+use_apop = True
+
+[destination]
+type = Maildir
+path = ~/mail/gnu/Inbox/
+
+[options]
+read_all = False
+# delete = True