Trouble with mails from Blackberry

Mark Sapiro mark at msapiro.net
Tue Jun 13 16:44:27 UTC 2017


On 06/13/2017 09:13 AM, Gao wrote:
> 
> BTW, why does pipe to grep not working? I did
>  spamassassin --lint -D | grep HeaderEval
> And it shows all the lines from lint test.


Because spamassassin --lint writes to stderr. You need to do

spamassassin --lint -D 2>&1 | grep HeaderEval

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list