-----Original Message-----
From: Lists [mailto:[email protected]] 
Sent: vrijdag 15 mei 2009 1:26
To: SpamAssassin
Subject: Re: saving output of test to a text file

> > Do you know how I can tell which user is running?
> > i.e. I have a line
> > [8357] dbg: config: mkdir /root/.spamassassin failed: mkdir
> > /root/.spamassassin: Permission denied at
> > /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm line 1577
> >
> > The permissions on the folder are drw-rw-rw- root:root
>   
> When I run su postfix I get This account is currently not available

Then give the 'postfix' user a shell account. :) How this is done on your
OS, you'll have to look at. On my FreeBSD I would simply run 'chpass
postfix', to raw-edit in the desired shell (like /bin/sh).

Also, what strange permissions (drw-rw-rw) you have on your root
directory. Do you really want that to be world-writeable?? But I digress.

P.S. Not saying giving users like 'postfix', 'mysql', etc., a shell
account is a good idea, per se; but you're the admin, so you'll have to
decide whether that poses some sort of security risk. Jusy sayin' that if
you want to 'su' the postfix user, it'll need a valid shell.

- Mark

Reply via email to