X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0 	tests=AWL,BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
Date: Tue, 23 Feb 2010 08:13:52 -0500
From: Jason Tishler <jason@tishler.net>
To: cygwin@cygwin.com
Subject: Re: Fetchmail call to procmail no longer works under Cygwin 1.7.1-1
Message-id: <20100223131352.GA4172@tishler.net>
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>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
In-reply-to: <3a8528891002221948k38c0cc7ei24a4822a86803df6@mail.gmail.com>
User-Agent: Mutt/1.4.2.1i
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

Tom,

On Mon, Feb 22, 2010 at 10:48:14PM -0500, Thomas Baker wrote:
> Jason,
> 
> On Mon, Feb 22, 2010 at 9:17 PM, Jason Tishler <snip> wrote:
> > Please note the following:
> >
> >     http://cygwin.com/acronyms#PPIOSPE
> 
> My apologies if I overlooked that - I'm temporarily working in
> googlemail because of this procmail situation and feel out of my usual
> element (mutt).

Unfortunately, you are still overlooking the above. :,(

> >> Procmail, on the other hand, is already set to VERBOSE and writes
> >> to a logfile procmail.log. On the netbook, where procmail works,
> >> it does write to the logfile. On the desktop, where procmail does
> >> not work, it does not write to the logfile, making me think it is
> >> somehow not even being called.
> >
> > What happens if you call procmail from the command line directly?
> > Does it find your ~/.procmailrc file on the desktop machine?
> 
> procmail -v does find $HOME/.procmailrc and /var/spool/mail/TBaker
> on the desktop machine.

I meant running procmail from the command line with a mail message like
the following:

    $ procmail <foo.mail

Does the above work on your desktop machine?

> > Could case sensitivity be causing your problem (i.e., tbaker vs.
> > TBaker)? What does the "logname" command and "$HOME" variable
> > indicate on each machine?
> 
> On the netbook:
> 	logname: tbaker
> 	$HOME is /home/tbaker
> 
> On the desktop
> 	logname: TBaker
> 	$HOME is /home/tbaker

I don't know why the case difference would cause a problem, but so far
it is the only difference I can find between the two machines.

> If this problem came up only after an update to Cygwin 1.7, after
> working perfectly for years, is it possible that Cygwin is getting the
> logname from a different location now?  Though I believe the logname
> on the desktop has been TBaker for years.

AFAIK, no.

> This is drawing me deeper into the mechanics of mail than I ever
> thought I'd need to go.  I'm still using Windows XP and wondering
> whether this might be the moment to take the plunge to Windows 7.
> Is it likely that starting with a clean install of Windows 7 and
> Cygwin might just make this problem go away?  I thought that would
> be more work than de-bugging fetchmail/procmail, but now I'm not so
> sure.

I don't know, but replacing the operating system seem like a very
drastic way of "solving" this problem.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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

