From ce1f5f421ade4a54ba14a64779d0ef58ae72bb82 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 23 Jan 2022 21:07:04 +0400 Subject: [PATCH] Fixed typo of id baing duplicated. --- homepage/views/articles/setting_up_a_mail_server.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homepage/views/articles/setting_up_a_mail_server.pug b/homepage/views/articles/setting_up_a_mail_server.pug index 5abf242..ab85986 100644 --- a/homepage/views/articles/setting_up_a_mail_server.pug +++ b/homepage/views/articles/setting_up_a_mail_server.pug @@ -233,8 +233,8 @@ block article h4#art-5-1 #[a(href='#art-5-1') 5.1. Updating built-in rule set] p I sometimes run #[code sa-update] util to update built-in rules and pre-compile them with #[code sa-compile] util. After that restart SpamAssassin. p And so SpamAssassin make use of compiled rules ensure that a plugin Rule2XSBody in a #[code v320.pre] is uncommented. - - h4#art-5-1 #[a(href='#art-5-2') 5.2. Bayesian classifier training] + + h4#art-5-2 #[a(href='#art-5-2') 5.2. Bayesian classifier training] p After you set up SpamAssassin for the first time you have to train Bayesian classifier. It will start to work after 200 messages will be examined. p For training use #[code sa-learn] utility and use #[code --ham] and #[code --spam] to mark messages as normal mail and spam. I additionaly have to specify a path to database with #[code --dbpath /var/lib/spamassassin/.spamassassin] option, otherwise it will complain, so try first without it. @@ -286,7 +286,7 @@ block article p KeyTable has following structure (a line per domain): pre | myselector._domainkey.example.com example.com:myselector:/etc/opendkim/myselector.private - p And SigningTable this one: + p And SigningTable this one: pre | *@example.com myselector._domainkey.example.com