Package: procmail
Version: 3.22-19
Severity: wishlist
My procmailrc contains something like this:
LOGFILE=/home/${LOGNAME}/procmail.log
VERBOSE=on
# copy calendar emails to exchange.mydomain.de
:0 c
* !^Received.*exchange\.mydomain\.de.*
{
:0
* ^Content-Type.*calendar.*
! ${LOGNAME}@exchange.mydomain.de
:0
* H ?? ^Content-Type: multipart/(alternative|mixed)
* B ?? ^Content-Type: text/calendar
! ${LOGNAME}@exchange.mydomain.de
:0
/dev/null
}
:0
* ^From:.*nagios@mydomain\.de
$LOGNAME/monitoring/nagios/
:
:
On processing the block with ":0 c" procmail does a fork.
Problem: In the logfile I cannot distinguish parent from
child procmail. Both write to the same file in a random
sequence. This is pretty painful.
Do you think that procmail could add its process ID to each
line in the log file, if there is a fork? Looking at the
man page it seems that there is no option for this yet.
Many thanx in advance
Harri
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]