commit 704564418139fdaa3b98b164faa1f40394dbb352
parent 414b896c2de449718169fab200b39e0851c2742a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 15 May 2020 18:31:12 +0200
README: fix indentation for fdm.conf examples
No functional difference, but it should improve readability.
Diffstat:
M | README | | | 38 | +++++++++++++++++++------------------- |
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/README b/README
@@ -419,21 +419,21 @@ fdm config file (~/.sfeed/fdm.conf):
}
continue
- # If it is in the cache, stop.
- match matched and in-cache "${cachepath}" key "%[msgid]"
+ # If it is in the cache, stop.
+ match matched and in-cache "${cachepath}" key "%[msgid]"
action {
keep
}
# Not in the cache, process it and add to cache.
match case "^X-Feedname: (.*)" in headers
- action {
- # Store to local maildir.
- maildir "${maildir}%1"
+ action {
+ # Store to local maildir.
+ maildir "${maildir}%1"
- add-to-cache "${cachepath}" key "%[msgid]"
- keep
- }
+ add-to-cache "${cachepath}" key "%[msgid]"
+ keep
+ }
Now run:
@@ -463,23 +463,23 @@ fdm config file (~/.sfeed/fdm.conf):
}
continue
- # If it is in the cache, stop.
- match matched and in-cache "${cachepath}" key "%[msgid]"
+ # If it is in the cache, stop.
+ match matched and in-cache "${cachepath}" key "%[msgid]"
action {
keep
}
# Not in the cache, process it and add to cache.
match case "^X-Feedname: (.*)" in headers
- action {
- # Connect to a SMTP server and attempt to deliver the
- # mail to it.
- # Of course change the server and e-mail below.
- smtp server "codemadness.org" to "hiltjo@codemadness.org"
-
- add-to-cache "${cachepath}" key "%[msgid]"
- keep
- }
+ action {
+ # Connect to a SMTP server and attempt to deliver the
+ # mail to it.
+ # Of course change the server and e-mail below.
+ smtp server "codemadness.org" to "hiltjo@codemadness.org"
+
+ add-to-cache "${cachepath}" key "%[msgid]"
+ keep
+ }
Now run: