diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-05-15 18:31:12 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-05-15 18:31:12 +0200 |
commit | 704564418139fdaa3b98b164faa1f40394dbb352 (patch) | |
tree | 646fa0b2138132c723ea96d5f0770ac31e661ce5 /README | |
parent | 414b896c2de449718169fab200b39e0851c2742a (diff) |
README: fix indentation for fdm.conf examples
No functional difference, but it should improve readability.
Diffstat (limited to 'README')
-rw-r--r-- | README | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -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: |