From 888f8082fd1dd5f2c02795b64f766935a03b7094 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 4 Aug 2019 16:20:10 +0200 Subject: [PATCH] Added example configuration files. --- 15-lda.conf-example | 48 +++++++++++++++++++++++++++++++++++++++++++++ feed2imaprc-example | 28 ++++++++++++++++++++++++++ fetchmailrc-example | 2 ++ users-example | 1 + 4 files changed, 79 insertions(+) create mode 100644 15-lda.conf-example create mode 100644 feed2imaprc-example create mode 100644 fetchmailrc-example create mode 100644 users-example diff --git a/15-lda.conf-example b/15-lda.conf-example new file mode 100644 index 0000000..c92e2fc --- /dev/null +++ b/15-lda.conf-example @@ -0,0 +1,48 @@ +## +## LDA specific settings (also used by LMTP) +## + +# Address to use when sending rejection mails. +# Default is postmaster@. +postmaster_address = XXXXXX@XXXXXX + +# Hostname to use in various parts of sent mails, eg. in Message-Id. +# Default is the system's real hostname. +#hostname = + +# If user is over quota, return with temporary failure instead of +# bouncing the mail. +#quota_full_tempfail = no + +# Binary to use for sending mails. +#sendmail_path = /usr/sbin/sendmail + +# If non-empty, send mails via this SMTP host[:port] instead of sendmail. +#submission_host = + +# Subject: header to use for rejection mails. You can use the same variables +# as for rejection_reason below. +#rejection_subject = Rejected: %s + +# Human readable error message for rejection mails. You can use variables: +# %n = CRLF, %r = reason, %s = original subject, %t = recipient +#rejection_reason = Your message to <%t> was automatically rejected:%n%r + +# Delimiter character between local-part and detail in email address. +#recipient_delimiter = + + +# Header where the original recipient address (SMTP's RCPT TO: address) is taken +# from if not available elsewhere. With dovecot-lda -a parameter overrides this. +# A commonly used header for this is X-Original-To. +#lda_original_recipient_header = + +# Should saving a mail to a nonexistent mailbox automatically create it? +#lda_mailbox_autocreate = no + +# Should automatically created mailboxes be also automatically subscribed? +#lda_mailbox_autosubscribe = no + +protocol lda { + # Space separated list of plugins to load (default is global mail_plugins). + mail_plugins = $mail_plugins sieve +} diff --git a/feed2imaprc-example b/feed2imaprc-example new file mode 100644 index 0000000..1327400 --- /dev/null +++ b/feed2imaprc-example @@ -0,0 +1,28 @@ +# Global options: +# dumpdir: (for debugging purposes) directory where all fetched feeds will be +# dumped. +# debug-updated: (for debugging purposes) if true, display a lot of information +# about the "updated-items" algorithm. +# +# Per-feed options: +# name: name of the feed (must be unique) +# url: HTTP[S] address where the feed has to be fetched +# target: the IMAP URI where to put emails. Should start with imap:// for IMAP +# and imaps:// for IMAPS. +# min-frequency: (in HOURS) is the minimum frequency with which this particular +# feed will be fetched +# disable: if set to something, the feed will be ignored +# always-new: feed2imap tries to use a clever algorithm to determine whether +# an item is new or has been updated. It doesn't work well with some web apps +# like mediawiki. When this flag is enabled, all items which don't match +# exactly a previously downloaded item are considered as new items. +# +# If your login contains an @ character, replace it with %40. Other reserved +# characters can be escaped in the same way (see man ascii to get their code) +feeds: + - name: linuxfr_journaux + url: http://linuxfr.org/journaux.atom + target: imap://admin:PASSWORD@dovecot/Feeds.LinuxFR_journaux + - name: linuxfr + url: http://linuxfr.org/news.atom + target: imap://admin:PASSWORD@dovecot/Feeds.LinuxFR diff --git a/fetchmailrc-example b/fetchmailrc-example new file mode 100644 index 0000000..e027846 --- /dev/null +++ b/fetchmailrc-example @@ -0,0 +1,2 @@ +poll ssl0.ovh.net with protocol IMAP + username "mail@scimetis.net" with password "XXXXXXXXXXXXXXXXX" is admin here fetchall ssl idle smtphost dovecot/24 lmtp diff --git a/users-example b/users-example new file mode 100644 index 0000000..4b98bc5 --- /dev/null +++ b/users-example @@ -0,0 +1 @@ +admin:{SHA512-CRYPT}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:1000:1000::/home/yohan::userdb_mail=maildir:/home/yohan/mail