Great Circle Associates List-Managers
(January 2001)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: preventing majordomo to respond to messages from outside the the domain.
From: "Bos, P.G.J. - SPLXM" <Pieter . Bos @ klm . nl>
Date: Tue, 9 Jan 2001 14:19:00 +0100
To: "'list-managers @ greatcircle . com'" <list-managers @ greatcircle . com>
Importance: high

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: majordomo-owner @
 klm .
 nl' ; \
                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
piet .
 bos @
 klm .
 com




**********************************************************************
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.
**********************************************************************


Indexed By Date Previous: Re: preventing majordomo to respond to messages from outside the the domain.
From: J C Lawrence <claw @ kanga . nu>
Next: [no subject]
From: B o g a l u s a <bogalusa @ usa . net>
Indexed By Thread Previous: Re: preventing majordomo to respond to messages from outside the the domain.
From: J C Lawrence <claw @ kanga . nu>
Next: [no subject]
From: B o g a l u s a <bogalusa @ usa . net>

Google
 
Search Internet Search www.greatcircle.com