On 28 April 2015 at 12:01, Christian Laußat <spamassas...@list.laussat.de> 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?
I manually run it, I run it as sudo root. The script chown's the mbox, that being said I have now added the -u option in. Ben > > You should use the -u option for sa-learn to set the right user. > > -- > Christian Laußat > https://blog.laussat.de