Re: forwarding of announcements disabled?

2004-10-05 Thread Brian Ford
On Thu, 2 Sep 2004, Brian Ford wrote:

 Should I simply add a -c to the formail subject extraction?  Other ideas?

This is just a follow up to close this issue.  It looks like:

http://www.cygwin.com/cgi-bin/get-raw-msg?listname=cygwin-announcedate=2004-10msgid=87brfhnsfq.fsf%40vzell-de.de.oracle.com
http://www.cygwin.com/cgi-bin/get-raw-msg?listname=cygwindate=2004-10msgid=200410051441.i95EfHa23419%40esds.vss.fsi.com

amoung others probably, confirms the fix described above worked.  It does
appear to add an extra space in the subject where the newline was, though
(Library for generating...).  If anyone knows how to fix that, please let
me know.  Thanks.

Old context follows:

 On Mon, 23 Aug 2004, Brian Ford wrote:
  On Mon, 23 Aug 2004, Andreas Seidl wrote:
   It seems mails are no longer forwarded (and prefixed with
   [ANNOUNCEMENT]) from the cygwin-announce list to the cygwin list
   anymore. So I have to send mails to both lists?
 
  I looks like something in your message confused the procmail recipe and
  it sent it back to cygwin-announce again.  I'll look into it as soon as I
  have time, but I'm swamped right now.
 
  This is working for the majority of announce messages, and the recipe is
  exactly CGF's old one.

 CGF notified me that fowarding another of your announcements failed in
 the same manner.  I took a closer look and found his procmail recipe is
 failing for subjects that contain embedded newlines.  This has happened
 four times since I took over the forwarding; three of which were yours
 :-(.
[snip references]
 I'm afraid I need some help because I can't see how to fix this.  I'm far
 from a procmail guru.

 Here is the recipe snippet:

 :0
 * ^TO_cygwin-announce
 {
 SUBJECT=`formail -xSubject:`
 FROM0=`formail -X'From '`
 FROM1=`formail -X'From:'`

 :0fW
 | formail -I '' \
 -I$FROM0 \
 -I$FROM1 \
 -I'To: cygwin-AT-cygwin-DOT-com' \
 -ISubject: [ANNOUNCEMENT]$SUBJECT \
 -I'Reply-To: cygwin-AT-cygwin-DOT-com'

 :0
 !cygwin-AT-cygwin-DOT-com
 }

 and the applicable verbose procmail log snippet:

 procmail: Executing formail,-xSubject:
 procmail: Assigning SUBJECT= Updated: TeXmacs-1.0.4-4: A scientific wysiwyg Editor 
 and Interface
  for Computer Algebra Systems
 procmail: Executing formail,-XFrom 
 procmail: Assigning FROM0=From
 cygwin-announce-return-1243-ford=vss-DOT-fsi-DOT-com-AT-cygwin-DOT-com  Thu Sep  2 
 12:59:48 2004 procmail: Executing formail,-XFrom:
 procmail: Assigning FROM1=From: Andreas Seidl seidlcw-AT-gmx-DOT-net
 procmail: Executing  formail -I '' \
 -I$FROM0 \
 -I$FROM1 \
 -I'To: cygwin-AT-cygwin-DOT-com' \
 -ISubject: [ANNOUNCEMENT]$SUBJECT \
 -I'Reply-To: cygwin-AT-cygwin-DOT-com'
 Unmatched .
 procmail: Error while writing to  formail -I '' \
 -I$FROM0 \
 -I$FROM1 \
 -I'To: cygwin-AT-cygwin-DOT-com' \
 -ISubject: [ANNOUNCEMENT]$SUBJECT \
 -I'Reply-To: cygwin-AT-cygwin-DOT-com'
 procmail: Rescue of unfiltered data succeeded

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


Re: forwarding of announcements disabled?

2004-09-04 Thread Andreas Seidl

CGF notified me that fowarding another of your announcements failed in
the same manner.  I took a closer look and found his procmail recipe is
failing for subjects that contain embedded newlines.  This has happened
four times since I took over the forwarding; three of which were yours
:-(.
I wonder how this newline comes in. I use Mozilla Mail, and usually 
before sending, I do a Edit - Rewrap. Maybe this is applied to the 
Subject line as well?

As a workaround I can write shorter subject lines, by putting the short 
description into the message body.

Andreas.
--
http://www.fmi.uni-passau.de/~seidl/


Re: forwarding of announcements disabled?

2004-09-02 Thread Brian Ford
On Mon, 23 Aug 2004, Brian Ford wrote:
 On Mon, 23 Aug 2004, Andreas Seidl wrote:

  It seems mails are no longer forwarded (and prefixed with
  [ANNOUNCEMENT]) from the cygwin-announce list to the cygwin list
  anymore. So I have to send mails to both lists?

 I looks like something in your message confused the procmail recipe and
 it sent it back to cygwin-announce again.  I'll look into it as soon as I
 have time, but I'm swamped right now.

 This is working for the majority of announce messages, and the recipe is
 exactly CGF's old one.

 Sorry...

CGF notified me that fowarding another of your announcements failed in
the same manner.  I took a closer look and found his procmail recipe is
failing for subjects that contain embedded newlines.  This has happened
four times since I took over the forwarding; three of which were yours
:-(.

http://www.cygwin.com/ml/cygwin-announce/2004-07/msg6.html
http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00027.html
http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00036.html
http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00027.html

I'm afraid I need some help because I can't see how to fix this.  I'm far
from a procmail guru.

Here is the recipe snippet:

:0
* ^TO_cygwin-announce
{
SUBJECT=`formail -xSubject:`
FROM0=`formail -X'From '`
FROM1=`formail -X'From:'`

:0fW
| formail -I '' \
-I$FROM0 \
-I$FROM1 \
-I'To: cygwin-AT-cygwin-DOT-com' \
-ISubject: [ANNOUNCEMENT]$SUBJECT \
-I'Reply-To: cygwin-AT-cygwin-DOT-com'

:0
!cygwin-AT-cygwin-DOT-com
}

and the applicable verbose procmail log snippet:

procmail: Executing formail,-xSubject:
procmail: Assigning SUBJECT= Updated: TeXmacs-1.0.4-4: A scientific wysiwyg Editor 
and Interface
 for Computer Algebra Systems
procmail: Executing formail,-XFrom 
procmail: Assigning FROM0=From
cygwin-announce-return-1243-ford=vss-DOT-fsi-DOT-com-AT-cygwin-DOT-com  Thu Sep  2 
12:59:48 2004 procmail: Executing formail,-XFrom:
procmail: Assigning FROM1=From: Andreas Seidl seidlcw-AT-gmx-DOT-net
procmail: Executing  formail -I '' \
-I$FROM0 \
-I$FROM1 \
-I'To: cygwin-AT-cygwin-DOT-com' \
-ISubject: [ANNOUNCEMENT]$SUBJECT \
-I'Reply-To: cygwin-AT-cygwin-DOT-com'
Unmatched .
procmail: Error while writing to  formail -I '' \
-I$FROM0 \
-I$FROM1 \
-I'To: cygwin-AT-cygwin-DOT-com' \
-ISubject: [ANNOUNCEMENT]$SUBJECT \
-I'Reply-To: cygwin-AT-cygwin-DOT-com'
procmail: Rescue of unfiltered data succeeded

Should I simply add a -c to the formail subject extraction?  Other ideas?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


Re: forwarding of announcements disabled?

2004-08-23 Thread Corinna Vinschen
On Aug 23 10:44, Andreas Seidl wrote:
 
 It seems mails are no longer forwarded (and prefixed with
 [ANNOUNCEMENT]) from the cygwin-announce list to the cygwin list
 anymore. So I have to send mails to both lists?

It still worked for me yesterday.  Just send an appropriate duplicate
to the cygwin list for now if you like.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: forwarding of announcements disabled?

2004-08-23 Thread Brian Ford
On Mon, 23 Aug 2004, Andreas Seidl wrote:

 It seems mails are no longer forwarded (and prefixed with
 [ANNOUNCEMENT]) from the cygwin-announce list to the cygwin list
 anymore. So I have to send mails to both lists?

I looks like something in your message confused the procmail recipe and
it sent it back to cygwin-announce again.  I'll look into it as soon as I
have time, but I'm swamped right now.

This is working for the majority of announce messages, and the recipe is
exactly CGF's old one.

Sorry...

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...