procmail
[Top] [All Lists]

Re: RFE: new features for procmail

2005-11-15 03:38:41
On Mon, 14 Nov 2005, Ruud H.G. van Tol wrote:

Udi Mottelo:

         - If procmail will not mix the records in the logfile
           I would be satisfied.

There are ways to solve that, like with TRAP.

        Yes, there are ways to solve that, but doesn't application's
        job?  To write its logs correctly?

Bye,
  Udi



Or do LOGFILE = "$_.$$" at the start (also of each fork).


I use a ToLOG variable:

 ToLOG = "${ToLOG}~$$${t}MAILDIR = ${MAILDIR}${n}"

($t is a tab, $n is a newline)


Just before delivery I do

 LOG = $ToLOG

So each LOG-line of my own starts with ~<PID>.

-- 
Grtz, Ruud

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