Added example configuration files.

This commit is contained in:
yohan 2019-08-04 16:20:10 +02:00
parent 3ef4856abb
commit 888f8082fd
4 changed files with 79 additions and 0 deletions

48
15-lda.conf-example Normal file
View File

@ -0,0 +1,48 @@
##
## LDA specific settings (also used by LMTP)
##
# Address to use when sending rejection mails.
# Default is postmaster@<your domain>.
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
}

28
feed2imaprc-example Normal file
View File

@ -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

2
fetchmailrc-example Normal file
View File

@ -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

1
users-example Normal file
View File

@ -0,0 +1 @@
admin:{SHA512-CRYPT}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:1000:1000::/home/yohan::userdb_mail=maildir:/home/yohan/mail