Quinn Comendant wrote:
> Well, good! At least I didn't do anything wrong.
>
>> Do you have a cron job running spammassassin or sa-learn? If you're running
>> sa-learn, you'll need to use the '-u vpopmail' and that should work.
>
> I do have a cron job, and I can fix that to run as user vpopmail.
>
>> I've been trying to find a way to run spamassassin -D --lint as vpopmail
>> though, and haven't been successful. Does anyone know of a way to do this?
>> If not, I'd say that the basic toaster is broken (jmho) and needs a fix.
>
> I know you could try running with:
>
> sudo -u vpopmail spamassassin -D --lint
>
> That should work even though vpopmail doesn't have a shell.
>
> Quinn
>
I didn't think of sudo because I can't su. ;) Good idea.
However, when I do that, I get:
[11898] warn: config: cannot write to /root/.spamassassin/user_prefs:
Permission denied
[11898] warn: config: failed to create default user preference file
/root/.spamassassin/user_prefs
------- regular output --------
[11898] warn: auto-whitelist: open of auto-whitelist file failed: locker:
safe_lock: cannot create tmp lockfile
/root/.spamassassin/auto-whitelist.lock.doris.shubes.net.11898 for
/root/.spamassassin/auto-whitelist.lock: Permission denied
So, how do I get it to use /home/vpopmail instead of /root for these? I'm
guessing that there might be something in local.cf I can set (similar to
bayes_path), but I gotta go for now.
Thanks, Quinn.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]