procmail
[Top] [All Lists]

Re: serious problem

2006-03-01 12:05:39
Hi,
I don't realy care about performance.
The most importent is that one execution will be daone after the previous 
completed.
(And in the same order as they arrive)
So, What is the best solution?
Asaf

----- Original Message ----- 
From: "Udi Mottelo" <uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il>
To: "Procmail" <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Wednesday, March 01, 2006 1:40 PM
Subject: Re: serious problem



On Tue, 28 Feb 2006, Alan Clifford wrote:

On Tue, 28 Feb 2006, Asaf cs wrote:

Ac> Is there a way to synchronize the whole .procmailrc? I mean until the
Ac> execution of .procmailrc for one mail is complete, no other execution
Ac> will be started? Furthermore, I would like the executions order will
Ac> be the same order of the mails arrivals. Thank you very much, Asi
Ac>


Put in a lock file at the top of .procmailrc.


    ########### lockfile #############################
    # Ensures only one message at a time
    LOCKFILE=$PMDIR/testing.lock
    ##################################################


 Doesn't metter of performance? checking the messages one
 by one?  Better to use `:'.
 Asaf, why do you think it's write problem?  What the
 logs say?  Can you show us a recipe?

Bye,
 Udi

____________________________________________________________
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



____________________________________________________________
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>