To expand on this a bit, I need something that says:

message a with the same body and subject is coming in at 1 message per 
second, instead of forwarding all this mail that's coming in at this rate, 
send a single message.  So I need something that keeps time as well it 
seems.

-jeremy

On Sat, 8 Sep 2001, Jeremy Hansen wrote:

> 
> It doesn't seem that using reformail is going to work for my case.  
> Reformail looks for Message-ID's that are duplicates.  In my case, the 
> Message-ID are not duplicates, just the subject and the body are the same, 
> so I need something that works on that level.  The messages I'm trying to 
> limit are status messages generated by machines I'm monitoring...sometimes 
> the machines decide to send out 3000 or so messages in several minutes.  
> Each has a unique Message-ID because they are individually generates.
> 
> I'm going to look at the other duplicate eliminators on qmail.org, since 
> it seems they do some type of MD5sum on the message itself.
> 
> Any other ideas are welcome, or, perhaps I'm misunderstanding how 
> reformail works.
> 
> -jeremy
> 
> On Sat, 8 Sep 2001, Adrian Ho wrote:
> 
> > On Sat, Sep 08, 2001 at 03:30:55PM +0800, Adrian Ho wrote:
> > > <http://www.qmail.org/>, search for "duplicate", install and configure
> > > accordingly for those users who don't want dups.
> > 
> > After some more thought, maildrop has a utility (reformail) that makes
> > the above unnecessary.  For each user X who wants dups eliminated,
> > ~X/.qmail becomes:
> > 
> > | ! reformail -D 50000 .msg-ids || exit 99
> > &X-delivery
> > 
> > and ~X/.qmail-delivery contains:
> > 
> > ./Mail/inbox/
> > 
> > or however you want the non-dup mails handled.
> > 
> > Read the reformail and dot-qmail man pages to understand how the above
> > pipeline works.
> > 
> > 
> 
> 

-- 
In a gathering of two or more people, when a lighted cigarette is
placed in an ashtray, the smoke will waft into the face of the non-smoker.

Reply via email to