delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/23/05:15:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 23 Oct 2002 11:15:34 +0200
From: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin/Procmail stops working after setup.exe upgrade
Message-ID: <20021023091534.GA2040@LEPIDUS>
Mail-Followup-To: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>, cygwin AT cygwin DOT com
References: <20021022114820 DOT GA2348 AT LEPIDUS> <20021022212639 DOT A31592 AT ms>
Mime-Version: 1.0
In-Reply-To: <20021022212639.A31592@ms>
User-Agent: Mutt/1.4i

Greg,

On Tue, Oct 22, 2002 at 09:26:39PM +0800, Greg Matheson wrote:
> On Tue, 22 Oct 2002, Thomas Baker wrote:
> >  I still cannot
> > get Procmail to write a log, so I am still unsure whether
> > the problem lies with Cygwin, Fetchmail, or Procmail:
> 
> Can you run it from the command line? You can pipe messages in
> mutt to "procmail -m .procmailrc"

Aha, this is helpful -- I think.  When I run "cat test.mbox |
procmail -m e:/.procmailrc", I get:

| procmail: [1432] Wed Oct 23 11:00:53 2002
| procmail: Assigning "LOGABSTRACT=all"
| procmail: Assigning "MAILDIR=/home/tbaker/uc"
| procmail: Couldn't chdir to "/home/tbaker/uc"
| procmail: Assigning "MAILDIR=."
| procmail: Assigning "PMDIR=/home/tbaker/u/procmail"
| procmail: Assigning "DEFAULT=./MBOX2"
| procmail: Assigning "LOGFILE=/home/tbaker/u/procmail/procmail.log"
| procmail: Opening "/home/tbaker/u/procmail/procmail.log"
| procmail: Error while writing to "/home/tbaker/u/procmail/procmail.log"
| procmail: Match on "^Subject:.*TEST"
| procmail: Locking "TEST.lock"
| procmail: Assigning "LASTFOLDER=TEST"
| procmail: Opening "TEST"
| procmail: Acquiring kernel-lock
| procmail: Unlocking "TEST.lock"
| From tbaker  Wed Oct 23 10:44:40 2002
|  Subject: TEST
|   Folder: TEST								    958

..even though "echo $HOME" in a Bash window confirms that 
$HOME is "/cygdrive/e".

So I edited .procmailrc, changing

| MAILDIR=$HOME/uc
| PMDIR=$HOME/u/procmail

to

| MAILDIR=/cygdrive/e/uc
| PMDIR=/cygdrive/e/u/procmail

And running "cat test.mbox | procmail -m e:/.procmailrc" again, I got:

| procmail: [2044] Wed Oct 23 11:12:28 2002
| procmail: Assigning "LOGABSTRACT=all"
| procmail: Assigning "MAILDIR=/cygdrive/e/uc"
| procmail: Assigning "PMDIR=/cygdrive/e/u/procmail"
| procmail: Assigning "DEFAULT=/cygdrive/e/uc/MBOX2"
| procmail: Assigning "LOGFILE=/cygdrive/e/u/procmail/procmail.log"
| procmail: Opening "/cygdrive/e/u/procmail/procmail.log"

..and the procmail.log showed everything as it should.
However, incoming messages are still not directed to files
as called for in the recipes...

Tom


-- 
Dr. Thomas Baker                                Thomas DOT Baker AT bi DOT fhg DOT de
Institutszentrum Schloss Birlinghoven          mobile +49-171-408-5784
Fraunhofer-Gesellschaft                          work +49-30-8109-9027
53754 Sankt Augustin, Germany                    fax +49-2241-144-2352

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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