|Main Archive Page > Month Archives > postfix-users archives|
---------- Original Message ----------------------------------
From: Noel Jones <firstname.lastname@example.org>
Reply-To: postfix users <email@example.com>
Date: Mon, 25 Oct 2010 06:16:07 -0500
>On 10/25/2010 4:28 AM, Len Conrad wrote:
>> 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
>> but in mailq:
>> mailq | mailq-oneline.pl | egrep -ic "! "
>> cross checking:
>> find /var/spool/postfix/hold -type f | wc -l
>> In case I forgot I cleaned the queue:
>> egrep -ic "postsuper.*removed" /var/log/maillog
>> Why the 250+ diff between HOLD: log lines and hold queue files?
>Several reasons come to mind...
>Mail can trigger a HOLD rule but be rejected by a later rule.
Why would a HOLD: continue to be processed by other rules?
Isn't HOLD a first-match-wins case?
> If you have multiple HOLD rules they may each create their
>own log entry.
I have a HOLD for per-sender rate limit, and a HOLD for per-IP rate limit.
Again, if a msg is HOLD by a rule/filter, why would other rules/filters see it?
> A recipient rule that triggers HOLD will log
>for each recipient of a multi-recipient message, but will only
>result in one message in the hold queue.