Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use postfix (mysql virtual users) + amavis + spamassassin and configured spamassassin to use mysql for storing the bayes data:

use_bayes                       1
bayes_auto_learn                1

bayes_store_module              Mail::SpamAssassin::BayesStore::MySQL
bayes_sql_dsn                   DBI:mysql:<db>:localhost
bayes_sql_username              <user>
bayes_sql_password              <password>

In the mysql table "bayes_vars" I found only a row with the username "amavis".

Is it possible for spamassassin to use the e-mail address as username instead "amavis" for each mail?

share|improve this question

Yes, you could use sa_username_maps to split it up.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.