MailScanner --lint

Gerard Cleary gcle at smcaus.com.au
Tue Sep 30 02:02:23 IST 2008


On Tue, 30 Sep 2008 10:23:47 Ray Jette wrote:
> I am running MailScanner --lint to look for problems. The output of this
> command does not fit on the screen. I am trying to save this to a text
> file for review. The command sudo MailScanner --lint > log.txt did not
> work.
>
> I beleave this did not work because I need to redirect stderr. Is this
> correct? I have been doing some research and have tryed to redirect this
> a few different ways but have not been able to get it working.
>
> Does anyone have any ideas on how to do this?
>
> Thanks in advance,
> Ray Jette

The output is going to "stderr" so use 

MailScanner --lint 2>log.txt

I found the page <tldp.org/LDP/abs/html/io-redirection.html> useful

All the best,
Gerard.

-- 

Gerard Cleary
SMC Systems Administration
Ph: +61 2 9354 8222


More information about the MailScanner mailing list