From 4540af4c1471e3512420e3759ff6a59e7f1edfdd Mon Sep 17 00:00:00 2001 From: mw Date: Wed, 21 Dec 2022 11:08:18 +0100 Subject: [PATCH] add config examples --- fetchmailrc | 7 +++++++ pmmlrc | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 fetchmailrc create mode 100644 pmmlrc diff --git a/fetchmailrc b/fetchmailrc new file mode 100644 index 0000000..f64e26a --- /dev/null +++ b/fetchmailrc @@ -0,0 +1,7 @@ +poll imap.example.org +protocol IMAP +user "mailinglist@example.org" with password "PASSWORD" mda "/home/app/pmml.py mailinglist@example.org +folder 'INBOX' +fetchlimit 1 +keep +ssl diff --git a/pmmlrc b/pmmlrc new file mode 100644 index 0000000..61f3c74 --- /dev/null +++ b/pmmlrc @@ -0,0 +1,10 @@ +{ + "mailinglist@example.org": { + "recipients": ["user1@example.org", "user2@example.org" ], + "smtp_server": "smtp.example.org", + "smtp_port": 587, + "connection": "STARTTLS", + "smtp_user": "mailinglist@example.org", + "smtp_pass": "PASSWORD" + } +}