X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Tue, 23 Feb 2010 17:49:27 +0100
From: Gary <cygwin@garydjones.name>
To: cygwin@cygwin.com
Subject: Re: Fetchmail call to procmail no longer works under Cygwin 1.7.1-1
Message-ID: <20100223164927.GA212@mimosa.garydjones.name>
Mail-Followup-To: cygwin@cygwin.com
References: <3a8528891002220612q63d1ee8fxc69140f9b41685c5@mail.gmail.com> <20100222220208.GA1308@tishler.net> <3a8528891002221452h48008b49t2a17aa42a97ee5e@mail.gmail.com> <20100223021729.GA6116@tishler.net> <3a8528891002221948k38c0cc7ei24a4822a86803df6@mail.gmail.com> <20100223131352.GA4172@tishler.net> <3a8528891002230733x644a3bc1na91ddccacafb2e41@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3a8528891002230733x644a3bc1na91ddccacafb2e41@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, Feb 23, 2010 at 10:33:24AM -0500, Thomas Baker wrote:

> If I pipe one message into procmail with:
> 
> 	procmail -v -d tbaker <msg.mbox
> 
> procmail reports:
> 
> 	Locking strategies:     dotlocking, fcntl()
> 	Default rcfile:         $HOME/.procmailrc
> 	Your system mailbox:    /var/spool/mail/TBaker
> 
> and appends the message to the file /var/spool/mail/TBaker,
> ignoring the recipe in $HOME/.procmailrc.

Oh. Actually I thought procmail was not suppose to deliver when given -v
       -v   Procmail  will  print its version number, display its compile time
            configuration and exit.
(from the man page)

> This also does not work:
> 
> 	procmail -d tbaker <msg.mbox

Can you be a bit more specific? Is anything added to the procmail log?
You could also add VERBOSE=on on the command line for more
info. http://pm-doc.sourceforge.net/pm-tips.html recommends
      LOGFILE     = $PMSRC/pm.log
      LOGABSTRACT = "all"
      VERBOSE     = "on"
in the .procmailrc.

And you're sure you are running the correct procmail, i.e. there is no
other procmail in your path before the one you are expecting to run?
$ type -a procmail
procmail is /usr/bin/procmail
procmail is /bin/procmail

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

