If you are not running Postfix, you can stop reading now. This solution is Postfix-only.
Still with me? Good.
Suppose that you have one or more Honeypots (a.k.a. Spam traps) and you use them to provide Corpus or Innoculate training for DSPAM. You may find that you receive so much Spam that it becomes too much of a good thing and makes your accuracy worse (too much Spam, not enough innocent mail).
I feed my Honeypot messages into a Merged group that is shared by all of my users. Per Jon's recommendation, I want to add a few Spams to this group every now and then in order to keep it current with the latest Spam.
I want a way to be able to control how many messages per day will be delivered to my Honeypot account. For example, I want to be able to say:
Accept one message per day and reject the rest.
or
Accept only three messages per week.
etc.
Using the Postfix Policy Service feature, I was able to accomplish just what I wanted using a Perl script. Interested? Here's all you have to do:
The author of this submission hereby releases any and all copyright interest in this code, documentation, or other materials included to the DSPAM project and its primary governors. I intend this relinquishment of copyright interest in perpetuity of all present and future rights to said submission under copyright law.