Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 18 Jun 2004 21:49:06 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: announce -> cygwin mailing list gateway broken In-Reply-To: <20040619021437.GA30442@trixie.casa.cgf.cx> Message-ID: References: <20040618160118 DOT GA29075 AT trixie DOT casa DOT cgf DOT cx> <20040619021437 DOT GA30442 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes On Fri, 18 Jun 2004, Christopher Faylor wrote: > I should have posted this before. > > Here's my procmail rule, fwiw: > > * ^Sender: cygwin-announce-owner-HAT-cygwin.* > { > :0c > /var/spool/mail/cygwin-announce > > :0c > /home/cgf/mail/cygwin-announce > > SUBJECT=`/usr/bin/formail -xSubject:` > FROM0=`/usr/bin/formail -X'From '` > FROM1=`/usr/bin/formail -X'From:'` > > :0fhbW > |formail -I '' \ > -I"$FROM0" \ > -I"$FROM1" \ > -I'To: cygwin-HAT-cygwin-PERIOD-com' \ > -I"Subject: [ANNOUNCEMENT]$SUBJECT" \ > -I'Reply-To: cygwin-HAT-cygwin-PERIOD-com' > > :0 > !cygwin-AT-cygwin-DOT-com > } > > If yours looks similar to this, it should be ok. If you got it right > in one try, you're a better man than I. :-) Well, my first one was pretty simple: :0 * ^TO_cygwin-announce { :0 c: cygwin-announce :0 !cygwin-AT-cygwin-DOT-com } I understand some of what yours is doing, and some I don't. For now, I made mine look like this: :0 * ^TO_cygwin-announce { :0 c: cygwin-announce SUBJECT=`formail -xSubject:` FROM0=`formail -X'From '` FROM1=`formail -X'From: '` :0fhbW | formail -I '' \ -I"$FROM0" \ -I"$FROM1" \ -I'To: cygwin-AT-cygwin-DOT-com' \ -I"Subject: [ANNOUNCEMENT] $SUBJECT" \ =I'Reply-To: cygwin-AT-cygwin-DOT-com' :0 !cygwin-AT-cygwin-DOT-com } I'll make sure I understand the rest of this on Monday when I have a better work environment. > Thanks for doing this. Could I get a gold star over here? Um, no problem :-). -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/