meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:spamassassin [2024/08/07 09:10] – niziak | linux:spamassassin [2024/08/11 19:41] (current) – niziak | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| sudo cpan install IP:: | sudo cpan install IP:: | ||
| </ | </ | ||
| + | |||
| + | ===== register at DNSWL ===== | ||
| + | |||
| + | Register legitimate SMTP server at: [[https:// | ||
| + | |||
| ====== Issues ====== | ====== Issues ====== | ||
| Line 56: | Line 61: | ||
| </ | </ | ||
| + | ====== bayes: tok_get_all: | ||
| + | <code bash> | ||
| + | spamassassin -D --lint 2>&1 | grep bayes | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Aug 11 18: | ||
| + | Aug 11 18: | ||
| + | Aug 11 18: | ||
| + | </ | ||
| + | |||
| + | It was running on very old system, upgraded multiple times. Nowadays other encodings are added to MySQL database. | ||
| + | |||
| + | <code sql> | ||
| + | ALTER DATABASE sa CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | ||
| + | </ | ||
| + | Not possible to convert bayes databases to new charset: | ||
| + | <code sql> | ||
| + | ALTER TABLE awl CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | ||
| + | </ | ||
| + | |||
| + | Recreate tables with new character set (prebiously set for '' | ||
| + |   * backup bayes '' | ||
| + |   * drop 5 '' | ||
| + |   * create it again from scheme: ''/ | ||
| + |   * '' | ||
| + | |||
| + | Another problem: | ||
| + |   * [[https:// | ||
| + |   * [[https:// | ||
| + |   * [[https:// | ||
| + | |||
| + | For me it was faster to train bayes again: | ||
| + | <code bash> | ||
| + | sa-learn --ham --progress ./hamdir | ||
| + | sa-learn --spam --progress ./spamdir | ||
| + | </ | ||