On Wed, 04 Mar 2015 13:35:55 +0100 Filip Havlí?ek wrote: > Hi, > > I would like to ask you, how can I *allow **only **legitimate* email > addresses (existing users) for bayes learning?
Why send them through SpamAssassin in the first place? > Table bayes_token grow up to 0,5GB right now, because there are > thounsands of unknown email addresses like: That table shouldn't grow without limit , you can run sa-learn --force-expire from cron to prevent this. You may want to increase bayes_expiry_max_db_size before to prevent the size plummeting. Alternately you can expire directly using SQL based on time. Some people add a timestamp field to the bayes_seen table to expire entries from SQL. Alternately you can simple empty the table occasionally, the information is only needed to reverse or forget training. Don't turn-off auto-training unless you have a strategy for replacing it.