Mail gateway server with amavis on CentOS 8

Nikolaos Milas nmilas at noa.gr
Mon Dec 28 14:07:03 CET 2020


On 28/12/2020 2:50 μ.μ., Nikolaos Milas wrote:

> I could guess that my imported bayes db is overwritten by an allien db?

Since after import:

sh-4.4$ sa-learn --dbpath /var/spool/amavisd/var/.spamassassin/ 
--restore bayes-mailgw3.db
sh-4.4$ ls -la /var/spool/amavisd/var/.spamassassin/
total 8620
drwx------. 2 amavis amavis    4096 Dec 21 15:23 .
drwx------. 4 amavis amavis    4096 Dec 16 16:53 ..
-rw-------. 1 amavis amavis  659456 Dec 21 15:23 bayes_seen
-rw-------. 1 amavis amavis 9490432 Dec 21 15:23 bayes_toks

and since I have not performed any training ever since, isn't it strange 
that now:

    # ls -la /var/spool/amavisd/var/.spamassassin/
    total 4724
    drwx------. 2 amavis amavis    4096 Dec 28 11:40 .
    drwx------. 4 amavis amavis    4096 Dec 16 16:53 ..
    -rw-------. 1 amavis amavis   80832 Dec 28 14:51 bayes_journal
    -rw-------. 1 amavis amavis  684032 Dec 28 11:26 bayes_seen
    -rw-------. 1 amavis amavis 5013504 Dec 28 11:26 bayes_toks
    -rw-r--r--. 1 amavis amavis     299 Dec 28 11:13 user_prefs

What may be the cause of bayes toks being updated, when autolearn is 
disabled?

Nick




More information about the amavis-users mailing list