set lock-file "%[home]/.fdm.sfeed.lock" set queue-high 1 account "sfeed" mboxes { "/tmp/sfeed-mboxes/*" } $cachepath = "%[home]/.sfeed/.fdm.sfeed.cache" $news = "%[home]/News" cache "${cachepath}" # Pipe to nmh's rcvstore using %[feed] as MH folder action "rcvstore" pipe "/usr/pkg/libexec/nmh/rcvstore +${news}/%[mbox]" # Populate headers tags needed by rules match "^X-RSS-URL: (.*)" in headers action tag "link" value "%1" continue # If in cache, just drop it match in-cache "${cachepath}" key "%[link]" action drop match all actions { add-to-cache "${cachepath}" key "%[link]" action "rcvstore" }