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/spam.assassin.prefs.conf -t < MESSAGE.MAI > text.txt it only puts the last part (i.e. the message and scores) into the text file.

Try adding "2>&1" onto the end of that command line.

Excellent thanks for the reply

Reply via email to