Matt,
Thanks for the reply. I ended up writing a perl script to copy all the
spam to learn into a neutral location group owned. In that same script
I then change the effective user id, and try to learn. However, it
still is not learning as the effective user. The script runs as root,
and still
In Solaris, that would be something like:
su - user1 -c "sa-learn --spam /home/user2/Maildir/.Spam/cur/"
Jon
Aaron Axelsen wrote:
I am trying to run a cronjob as root which will learn a different
accounts spam into my spam db. Example command:
sa-learn -u user1 --spam /home/user2/Maildir/.S
Aaron Axelsen wrote:
> Hello,
>
> I am trying to run a cronjob as root which will learn a different
> accounts spam into my spam db. Example command:
>
> sa-learn -u user1 --spam /home/user2/Maildir/.Spam/cur/
>
> When the command runs, it learns the spam into /root/.spamassassin
> instead of /hom
Hello,
I am trying to run a cronjob as root which will learn a different
accounts spam into my spam db. Example command:
sa-learn -u user1 --spam /home/user2/Maildir/.Spam/cur/
When the command runs, it learns the spam into /root/.spamassassin
instead of /home/user1/.spamassassin
Does anyone h