From 2a8e0cf3750d3f789bcd756e39af04f00fe0e738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 14 May 2020 23:37:35 +0200 Subject: Verbose variant of 'target' in config --- config.yml.example | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'config.yml.example') diff --git a/config.yml.example b/config.yml.example index 14f413e..0e0e304 100644 --- a/config.yml.example +++ b/config.yml.example @@ -1,14 +1,24 @@ # Example configuration. Each configuration option presented shows its default, so sensible. ## Target -# The IMAP URI where to put emails, including credentials. Should start with imap:// for IMAP and imaps:// for IMAPS. -# URI must be properly escaped, thus '@' as part of the user must be written as %40. -# NB: This also applies for the password! -# Format: scheme://user:password@host/PATH -# Host can include a port; PATH denotes the root of the hierarchy for all feeds. Probably should start with INBOX. -# Allowed delimiters in PATH are '/' -- they will be replaced by the correct delimiter. If you know yours, you can -# also use that. -target: imap://test%40example.com:passw0rd@mail.example.com:143/INBOX/Feeds +target: + # scheme: either imap or imaps; if omitted, it is deduced from the port + scheme: imap + # user + user: test@example.com + # password + password: passw0rd + # host, without the port + host: mail.example.com + # port; optional if scheme is given + port: 143 + # root denotes the root of the hierarchy for all feeds. Probably should start with INBOX. + # Allowed delimiters in PATH are '/' -- they will be replaced by the correct delimiter. If you know yours, you can + # also use that. + root: INBOX/Feeds +# Instead of the verbose target, specifiying a URI is also legitimate. Be sure to properly url-encode user and password. +# The example from above would read: +# target: imap://test%40example.com:passw0rd@mail.example.com:143/INBOX/Feeds ## Global Options # Timeout in seconds for fetching feeds. -- cgit v1.2.3