postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: qty hold: logged does.not.equal qty hold queu

Re: qty hold: logged does.not.equal qty hold queue ?

From: Wietse Venema <wietse_at_nospam>
Date: Mon Oct 25 2010 - 11:23:09 GMT
To: Postfix users <postfix-users@postfix.org>

Len Conrad:
>
> I'm testing a new filter, so I HOLD matching messages, then inspect them to either release or delete them.
>
> egrep -ic "hold: " /var/log/maillog
> 298

You have multiple logfile records per queue file?

grep ' hold:' /var/log/maillog | awk '{print $6}' | sort -u | wc -l

(this would count all the NOQUEUE: records as one, BTW).

        Wietse