]> Sergey Matveev's repositories - public-inbox.git/commit
watch_maildir: tighten up path checks
authorEric Wong <e@80x24.org>
Sun, 19 Jun 2016 02:13:52 +0000 (02:13 +0000)
committerEric Wong <e@80x24.org>
Sun, 19 Jun 2016 02:23:50 +0000 (02:23 +0000)
commit763928565699beea87006156c565d0f808f9becc
tree70738081cbf15af724d3c38bafa26e67921f19cc
parent0c17b6e39fe98a0da0b0deaa4fd014343362a33f
watch_maildir: tighten up path checks

Only mark seen messages as spam, otherwise it could be
too aggressive and cause problems or over training.
We wouldn't want a wayward FIFO ruining our day, either :)
lib/PublicInbox/WatchMaildir.pm
t/watch_maildir.t