On Tue, 28 Apr 2015 13:01:04 +0200 Christian Laußat wrote: > Am 28.04.2015 12:52, schrieb Benjamin Copeland: > > Any suggestions on how I can improve this? > > Which user are you running the script as? Is it the same user as your > mailserver is invoking spamassassin? > > You should use the -u option for sa-learn to set the right user.
-u is for the virtual mail user in the database. It's normally the unix user running sa-learn that's incorrect.