summaryrefslogtreecommitdiff
path: root/_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2018-09-14 10:58:48 +0200
committerPatrick Spek <p.spek@tyil.nl>2018-09-14 12:18:34 +0200
commite847b05ae3bae9cc4134a7b5f5f66f0771edfa9e (patch)
treeb2574aa4dce3e0dfe27995017ed1e007bbdef103 /_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md
parent789639e4bdf6d304ef44359aeccd7b038a38e6bc (diff)
Update syntax highlighting configuration
Now both Markdown and AsciiDoc files will use pygments for their highlighting.
Diffstat (limited to '_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md')
-rw-r--r--_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md b/_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md
index 6c58284..09cc280 100644
--- a/_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md
+++ b/_posts/2016-10-31-freebsd-mailserver-part-5-filtering-mail.md
@@ -75,7 +75,7 @@ named `sieve`. This file is generally saved at
`/srv/mail/domain.tld/user/sieve`. A default file to filter spam out is the
following example.
-{% highlight sieve %}
+```
require [
"fileinto",
"mailbox"
@@ -85,7 +85,7 @@ if header :contains "X-Spam-Flag" "YES" {
fileinto :create "Junk";
stop;
}
-{% endhighlight %}
+```
This looks for the `X-Spam-Flag` header, which is added by SpamAssassin. If it
is set to `YES`, this indicates SpamAssassin thinks the message is spam. As