thanx everyone for advising me to tackle this problem.
at the moment I have the following procmail recipe in use.
LOGFILE=$HOME/majord.log
LOGABSTRACT=yes
VERBOSE=yes
:0 c # create a backup first!!
backup
:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,50d`
:0 # If the from address is *.klm.nl then send to the listmanager.
* ^From: .*@klm.nl>
|formail -I "Subject: $SUBJECT" \
-i "Resent-To: $FORWARD" \
-i "Resent-From: $ADDRESS" \
-i "Resent-Date: $RESENT_DATE"\
-IX-Forward-To: \
| $SENDMAIL -oi listman
:0 # if not from a KLM sender return with a message.
* ! ^From: .*@klm.nl>
| (formail -brt -I 'From: [EMAIL PROTECTED]' ; \
cat $HOME/message) | $SENDMAIL -t
Perhaps there is some tweaking to be done,
Your wecome to enlighten me.
But at the moment it is sufficient.
cheers Piet.
--
Piet Bos
[EMAIL PROTECTED]
**********************************************************************
This e-mail and any attachment may contain confidential and privileged material
intended for the addressee only. If you are not the addressee, you are notified that
no part of the e-mail or any attachment may be disclosed, copied or distributed, and
that any other action related to this e-mail or attachment is strictly prohibited, and
may be unlawful. If you have received this e-mail by error, please notify the sender
immediately by return e-mail, and delete this message. Koninklijke Luchtvaart
Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for
the incorrect or incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
**********************************************************************