From acd43c32925fbdfec6b9309aeec4fa43ed731938 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 17 Oct 2021 17:21:53 +0200 Subject: Update documentation --- CHANGELOG.md | 1 + README.md | 2 +- config.yml.example | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb47efc..a77e0d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added - Location of the cache can now be specified in the config.yml. Rationale: Easier way of dealing with multiple configurations, as each also requires a distinct cache. +- [Issue #6](https://github.com/Necoro/feed2imap-go/issues/6): Support old-style configurations with imap targets on each feed. Restriction: Servers must be equal over all connection strings! ### Fixed - [Issue #62](https://github.com/Necoro/feed2imap-go/issues/62): Allow empty root folder. diff --git a/README.md b/README.md index 3f778d6..3b80fa2 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ warning is issued when an option should now be in another place or is no longer ### Unsupported features of feed2imap -* IMAP-Target per Feed ([issue #6][i6]); targets only specify the folder relative to the global target * Maildir ([issue #4][i4]) +* Different IMAP servers in the same configuration file. Please use multiple config files, if this is needed (see also [issue #6][i6]). ## Installation diff --git a/config.yml.example b/config.yml.example index cc2c5da..1c51b6b 100644 --- a/config.yml.example +++ b/config.yml.example @@ -20,6 +20,11 @@ target: # The example from above would read: # target: imap://test%40example.com:passw0rd@mail.example.com:143/INBOX/Feeds +# NB: Instead of specifying the target on the global level, for compatibility with old configurations, it is also allowed +# to specify the full URL string for each feed. +# When doing so, _all_ target strings must point to the same server, else an error will be thrown. +# See https://github.com/Necoro/feed2imap-go/issues/6 for more details. + ## Global Options # Location of the cache. Can also be overwritten on the command line. cache: "feed.cache" -- cgit v1.2.3-70-g09d2