procmail
[Top] [All Lists]

External process timeout

2004-07-23 05:37:43
Hello:
I have the following recipe, which is intended to recieve mail to a particular address and keep a copy in some mailbox and feed the complete message to a script:

:0
* ^TO_<some_email_address>
{
        # Keep a copy
        :0 c:
        some_mailbox

        # Proces
       :0 hbi
       | some_script.pl -
}

My problem is that the script takes a LONG time to process (a few minutes), and sometimes it just stops abruptly, without error; the process just no longer exists. I discovered that it was due to a timeout procmail has for child processes which is causing it to shutdown the script in mid-running.

Now, I do not want to increase procmail's timeout value because it will affect *any* of its children processes (i.e. if any are hung, they might not die for a long time). Is there any way to make procmail just execute that script without having to check for its timeout?

        TIA,
        dZ.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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