[Top] [All Lists]

Re: running a script after a certain delay

2004-11-19 06:59:03

On Wed, Nov 05, 2003 at 03:45:22PM +0000, Alexey Melnikov wrote:
Thoralf Will wrote:
is there any implementation/idea/suggestion available already to run a
script after a certain time has passed?

Mail from xxx(_at_)yyy(_dot_)zzz arrives and gets delivered, the usual 
scripts are
running and put it into a special folder.
A 2nd script starts 1h later, looks for a mail in this special folder
and does something (redirect again, autoreply ...) if there is still a

Is this possible

The way you describe it, the 2nd script is just being executed by a 
special type Mail User Agent.

and when how or are there any intentions to implement
something like this?

Can you be more specific. For the task you describe, I don't see any 
need to modify/extend Sieve.

If you are looking for a product that can do that, you should at least 
tell us what is your OS requirement.

Sorry for the extremely late reply but I thought to have found a solution
(a perl script named reply-o-matic). Sadly it looks like that this tool
is rather buggy and I don't dare to try to fix that.

To give a more detailed example:

The idea behind this is a support mail box that gets more or less spammed
and to prevent answering every single message with faq an autoreply
containing exactly those faq should be send with a 2nd mail address ad the
end telling the user to re-post the problem to that address if the problem
still persists. For cosmetic reasons the autoreply should have an initial
delay (simply because most ppl do not read autoreplies when they get the
message right away) and for technical reasons (to prevent ppl from
spamming others with spoofed addresses) we need a restriction that not
more than 1 reply will be send to the same address within 1 day.

Currently we are using a combination of cron and reply-o-matic but it's
really far from being perfect.


<Prev in Thread] Current Thread [Next in Thread>