Re: saving output of test to a text file

2009-05-15 Thread Lists
Karsten Bräckelmann wrote: This gives USER=postfix and HOME=/root I know. :) That was meant for your enlightenment... Thanks so how do I fix the mkdir /root/.spamassassin failed error? You don't. Seriously, see above. sudo switches the user, it does not necess

Re: saving output of test to a text file

2009-05-15 Thread John Hardin
On Thu, 14 May 2009, LuKreme wrote: On 14-May-2009, at 16:38, Lists wrote: I really need to see all the debug output as I am trying to see which user is running when trying to access FuzzyOCR. You are directing stdout, you need to redirect stderr as well. How to do this depends on your shel

RE: saving output of test to a text file

2009-05-14 Thread Mark
-Original Message- From: Lists [mailto:li...@rheel.co.nz] 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 /

RE: saving output of test to a text file

2009-05-14 Thread Mark
-Original Message- From: Lists [mailto:li...@rheel.co.nz] Sent: vrijdag 15 mei 2009 0:38 To: SpamAssassin Subject: saving output of test to a text file Hi, > I'm trying to run sudo -u postfix spamassassin -D -p > /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI

Re: saving output of test to a text file

2009-05-14 Thread LuKreme
On 14-May-2009, at 16:38, Lists wrote: I really need to see all the debug output as I am trying to see which user is running when trying to access FuzzyOCR. You are directing stdout, you need to redirect stderr as well. How to do this depends on your shell. -- Quis custodiet opsos custod

Re: saving output of test to a text file

2009-05-14 Thread Karsten Bräckelmann
> >> This gives USER=postfix and HOME=/root > > > > I know. :) That was meant for your enlightenment... > > Thanks > so how do I fix the mkdir /root/.spamassassin failed error? You don't. Seriously, see above. sudo switches the user, it does not necessarily mean you get the same environment as

Re: saving output of test to a text file

2009-05-14 Thread Lists
Karsten Bräckelmann wrote: On Fri, 2009-05-15 at 11:57 +1200, Lists wrote: Karsten Bräckelmann wrote: On Fri, 2009-05-15 at 11:09 +1200, Kate Kleinschafer wrote: I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI a

Re: saving output of test to a text file

2009-05-14 Thread Karsten Bräckelmann
On Fri, 2009-05-15 at 11:57 +1200, Lists wrote: > Karsten Bräckelmann wrote: > > On Fri, 2009-05-15 at 11:09 +1200, Kate Kleinschafer wrote: > > > >>> I'm trying to run sudo -u postfix spamassassin -D -p > >>> /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would > > > > That do

Re: saving output of test to a text file

2009-05-14 Thread Lists
Karsten Bräckelmann wrote: On Fri, 2009-05-15 at 11:09 +1200, Kate Kleinschafer wrote: I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would That does not switch the environment. Try something like this...  sud

Re: saving output of test to a text file

2009-05-14 Thread Karsten Bräckelmann
On Fri, 2009-05-15 at 11:09 +1200, Kate Kleinschafer wrote: > > I'm trying to run sudo -u postfix spamassassin -D -p > > /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would That does not switch the environment. Try something like this...  sudo -u postfix env | grep ^USER  s

Re: saving output of test to a text file

2009-05-14 Thread Lists
: su - postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.con -t text.txt -Original Message- From: Lists [mailto:li...@rheel.co.nz] Sent: Thursday, May 14, 2009 6:09 PM To: SpamAssassin Subject: Re: saving output of test to a text file Andrews Carl 448 wrote: I

RE: saving output of test to a text file

2009-05-14 Thread Andrews Carl 448
spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.con -t text.txt -Original Message- From: Lists [mailto:li...@rheel.co.nz] Sent: Thursday, May 14, 2009 6:09 PM To: SpamAssassin Subject: Re: saving output of test to a text file Andrews Carl 448 wrote: > I think you want > Sudo -u p

Re: saving output of test to a text file

2009-05-14 Thread Lists
: Thursday, May 14, 2009 5:39 PM To: SpamAssassin Subject: saving output of test to a text file Hi, I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would like the full output to be saved to a text file when I do: sudo -u

Re: saving output of test to a text file

2009-05-14 Thread Kate Kleinschafer
John Hardin wrote: On Fri, 15 May 2009, Lists wrote: Hi, I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would like the full output to be saved to a text file when I do: sudo -u postfix spamassassin -p /etc/MailScanner/sp

Re: saving output of test to a text file

2009-05-14 Thread Lists
, May 14, 2009 5:39 PM To: SpamAssassin Subject: saving output of test to a text file Hi, I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would like the full output to be saved to a text file when I do: sudo -u

RE: saving output of test to a text file

2009-05-14 Thread Andrews Carl 448
: SpamAssassin Subject: saving output of test to a text file Hi, I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would like the full output to be saved to a text file when I do: sudo -u postfix spamassassin -p /etc/Mai

Re: saving output of test to a text file

2009-05-14 Thread John Hardin
On Fri, 15 May 2009, Lists wrote: Hi, I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would like the full output to be saved to a text file when I do: sudo -u postfix spamassassin -p /etc/MailScanner/spam.assassin.prefs.con

saving output of test to a text file

2009-05-14 Thread Lists
Hi, I'm trying to run sudo -u postfix spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI and I would like the full output to be saved to a text file when I do: sudo -u postfix spamassassin -p /etc/MailScanner/spam.assassin.prefs.conf -t < MESSAGE.MAI > text.txt it o