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

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

by Magnus Anderson :: Rate this Message:

Reply to Author | View in Thread


Martin Schütte wrote:
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.)
The user is not exisiting on the system itself, just inside CommuniGate that I run.
When I run now I run like "sa-learn --spam --no-sync -u username@domain.com /system-path-to-mbox"

Sorry if I wasn't explaining myself correctly.

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