> -----Original Message----- > From: Robert Fitzpatrick [mailto:[EMAIL PROTECTED] > Sent: Saturday, 18 August 2007 1:24 > To: users@spamassassin.apache.org > Subject: Re: Suggested botnet rule scores > > On Fri, 2007-08-17 at 16:31 +0200, Kai Schaetzl wrote: > > Robert Fitzpatrick wrote on Fri, 17 Aug 2007 08:46:25 -0400: > > > > > I tried 'spamassassin -D > results.txt < > > > myspamfile', but only gives me the results of the tests. > > > > spamassassin -D <myspamfile >results.txt > > > > should do it. > > Still no good, I only get the message, no debug info...:(
To get the debug info into a file, you need to send std_err output to file as debug output is really error output. You have 2 options: option 1 - pipe to less: spamassassin --lint -D < spamfile 2>&1 | less option 2 - redirect to text file: spamassassin --lint -D < spamfile 2>&1 > file.txt That ought to do it! Cheers, tkb.