delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/23/11:53:49

X-Recipient: archive-cygwin AT delorie DOT 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 AT garydjones DOT name>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
References: <3a8528891002220612q63d1ee8fxc69140f9b41685c5 AT mail DOT gmail DOT com> <20100222220208 DOT GA1308 AT tishler DOT net> <3a8528891002221452h48008b49t2a17aa42a97ee5e AT mail DOT gmail DOT com> <20100223021729 DOT GA6116 AT tishler DOT net> <3a8528891002221948k38c0cc7ei24a4822a86803df6 AT mail DOT gmail DOT com> <20100223131352 DOT GA4172 AT tishler DOT net> <3a8528891002230733x644a3bc1na91ddccacafb2e41 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <3a8528891002230733x644a3bc1na91ddccacafb2e41@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019