{"id":445,"date":"2022-01-10T22:56:13","date_gmt":"2022-01-10T21:56:13","guid":{"rendered":"https:\/\/nissel.it\/?p=445"},"modified":"2022-01-10T22:56:15","modified_gmt":"2022-01-10T21:56:15","slug":"text-in-bildern-analysieren-mit-spamassassin","status":"publish","type":"post","link":"https:\/\/nissel.it\/index.php\/2022\/01\/10\/text-in-bildern-analysieren-mit-spamassassin\/","title":{"rendered":"Text in Bildern analysieren mit Spamassassin"},"content":{"rendered":"\n<p>Mit dem Plugin BayesOCR ist es m\u00f6glich Spam der nur aus Bildern besteht zu analysieren. Dazu muss einfach Plugin und Konfiguration herunter geladen werden und in \/etc\/spamassassin abgelegt werden.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><a href=\"https:\/\/pralab.diee.unica.it\/en\/BayesOCR\">https:\/\/pralab.diee.unica.it\/en\/BayesOCR<\/a><\/p>\n\n\n\n<p>Als Abh\u00e4ngigkeit wird imagemagick und gocr ben\u00f6tigt.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install imagemagick gocr<\/code><\/pre>\n\n\n\n<p>Nach einem Neustart von spamassassin kann der erfolgreiche Start kontrolliert werden:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>service spamassassin restart\nspamassassin -D --lint 2>&amp;1 | grep -i BayesOCR\nJan 10 22:54:59.418 &#91;2366946] dbg: config: read file \/etc\/spamassassin\/BayesOCR_PLG.cf\nJan 10 22:54:59.978 &#91;2366946] dbg: config: fixed relative path: \/etc\/spamassassin\/BayesOCR_PLG.pm\nJan 10 22:54:59.978 &#91;2366946] dbg: plugin: loading BayesOCR_PLG from \/etc\/spamassassin\/BayesOCR_PLG.pm\nJan 10 22:54:59.979 &#91;2366946] dbg: PLG-BayesOCR: : new:: register_eval_rule\nJan 10 22:55:02.275 &#91;2366946] dbg: plugin: BayesOCR_PLG=HASH(0x5569b815e478) implements 'check_start', priority 0\nJan 10 22:55:02.276 &#91;2366946] dbg: PLG-BayesOCR: : check_start:: init score\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG30\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.40, 0.30)\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : imageSpam_OCRTextProcessing:: Check for Attached Images\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : imageTextExtractionFromMSG:: Extract &amp; Convert Images\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : imageTextExtractionFromMSG:: 0 images extracted\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check:: Write Mail Header\nJan 10 22:55:02.705 &#91;2366946] dbg: check: tagrun - tag PLGBAYESOCROUT is now ready, value: 0.0 (No images found)\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG70\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.80, 0.70)\nJan 10 22:55:02.705 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG50\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.60, 0.50)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG95\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.99, 0.95)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG80\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.90, 0.80)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG60\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.70, 0.60)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG10\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.20, 0.10)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG20\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.30, 0.20)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG90\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.95, 0.90)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG40\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (0.50, 0.40)\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: Rule: BayesOCR_PLG99\nJan 10 22:55:02.706 &#91;2366946] dbg: PLG-BayesOCR: : BayesOCR_check :: thr: (1.00, 0.99)<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Mit dem Plugin BayesOCR ist es m\u00f6glich Spam der nur aus Bildern besteht zu analysieren. Dazu muss einfach Plugin und Konfiguration herunter geladen werden und in \/etc\/spamassassin abgelegt werden.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[5,28],"class_list":["post-445","post","type-post","status-publish","format-standard","hentry","category-webserver","tag-mail","tag-spamassassin"],"_links":{"self":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/comments?post=445"}],"version-history":[{"count":1,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts\/445\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/posts\/445\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/media?parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/categories?post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nissel.it\/index.php\/wp-json\/wp\/v2\/tags?post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}