delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/24/04:51:56

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: Thu, 24 Oct 2002 10:51:43 +0200
From: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
To: cygwin AT cygwin DOT com
Subject: "mount" versus "ln" (was Re: Cygwin/Procmail stops working)
Message-ID: <20021024085143.GA2576@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> <20021023091534 DOT GA2040 AT LEPIDUS> <20021023111614 DOT GB1776 AT tishler DOT net> <20021023114319 DOT GA1304 AT LEPIDUS> <20021023122523 DOT GE1776 AT tishler DOT net> <20021023123951 DOT GA2056 AT LEPIDUS> <20021023130239 DOT GA1308 AT tishler DOT net> <20021023140716 DOT GA1992 AT LEPIDUS>
Mime-Version: 1.0
In-Reply-To: <20021023140716.GA1992@LEPIDUS>
User-Agent: Mutt/1.4i

On Wed, Oct 23, 2002 at 04:07:16PM +0200, Thomas Baker wrote:
> On Wed, Oct 23, 2002 at 09:02:39AM -0400, Jason Tishler wrote:
> > On Wed, Oct 23, 2002 at 02:39:51PM +0200, Thomas Baker wrote:
> > > |     mda "/usr/bin/procmail -d %T" # pass message to the local MDA
> > 
> > The above .fetchmailrc line invokes procmail differently than "procmail
> > -m".  Since fetchmail is invoking procmail without the "-m" option,
> > procmail is looking for $HOME/.procmailrc.  My WAG is that procmail
> > can't find your .procmailrc file.  Hence, procmail defaults to sending
> > all messages to /var/spool/mail/tbaker without any logging.  Note that
> > recent posts indicate an incorrect tbaker /etc/passwd entry.
> 
> That's it!!!  
> 
> I created the directory /home/tbaker and copied e:/.procmail
> there, and suddenly everything works again!
> 
> Bjoern suggested I map /home/tbaker to /cygdrive/e with
> "mount".  Would this allow me to delete the redundant copy
> /home/tbaker/.procmailrc and just use /cygdrive/e/.procmailrc?
> Would this "mount" command go into my .bash_profile?  (Any
> particular flags to use?)

This solution reminded me that I had a
similar problem with Procmail before (see
http://sources.redhat.com/ml/cygwin/2002-06/msg00545.html)
which I solved by removing a subdirectory
/home/Administrator and recreating it as a
"simulink" to e:/ (as per Jason House's suggestion in
http://sources.redhat.com/ml/cygwin/2002-05/msg01882.html).

Unfortunately, my log book does not record exactly how I did
this, but in my best recollection, I believe I used "ln".

Bjoern has now suggested one could do this via "mount".

Are both approaches okay, or is one more advisable than
the other?

More generally, I'm wondering whether there should perhaps
be a note in the FAQ alerting users to the difference between
setting the value of HOME WIN2000-system-wide, as I do through
Control Panel -> System; as opposed to setting it in .bashrc;
as opposed to getting the value from /etc/passwd.  I find
this confusing, though I'm relieved at least to know where
the problem resides.

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