Harald Hanche-Olsen <[EMAIL PROTECTED]> writes:
> | Is there any program doing that ?
> 
> Nothing in the standard qmail distribution, or anywhere else that I
> can think of.  But qmail makes it easy for you, if you can use maildir
> format:  Have Joe run a cron job, say once every 15 minutes, that
> looks for messages in Maildir/new older than one hour.

You can do it (slightly) easier using my addition to serialmail:
maildircmd. Put the following command in your crontab:

  maildircmd ~/Maildir hanche '{ test $AGE -gt 3600 && qmail-inject recip } || exit 
111'

The idea behind maildircmd is to implement spool-and-process mail
handling, instead of on-receipt handling as with procmail or
maildrop. It eliminates the need for lockfiles, and permits
.qmail-style filters.

You can download maildircmd at
<http://www.pobox.com/~lbudney/linux/software/maildircmd.html>.

Len.


-- 
103. In Company of your Betters be not longer in eating than they are
lay not your Arm but only your hand upon the table.
  -- George Washington, "Rules of Civility & Decent Behaviour"

Reply via email to