Re: sa-learn --username option

2006-06-07 Thread Aaron Axelsen
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

Re: sa-learn --username option

2006-06-07 Thread Jonathan Armitage
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

Re: sa-learn --username option

2006-06-06 Thread Matt Kettler
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

sa-learn --username option

2006-06-06 Thread Aaron Axelsen
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