« Return to Thread: Reporting spam with Spmassassin-run instead of sa-learn

Re: Reporting spam with Spmassassin-run instead of sa-learn

by Martin Schütte :: Rate this Message:

Reply to Author | View in Thread

Magnus Anderson schrieb:
> So basicly, I want to run the "spamassassin --revoke/--report" commands as a
> specific username. How can I do that?

man su

For example: su vscan -c "spamassassin --report ${train_dir_sa_spam}/*"
(Make sure the user has permission to read the mails.)

--
Martin

 « Return to Thread: Reporting spam with Spmassassin-run instead of sa-learn