delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/23/11:07:23

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 17:07:10 +0200 (MEST)
From: Bjoern Kahl AG Resy <kahl AT informatik DOT uni-kl DOT de>
To: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin/Procmail stops working after setup.exe upgrade
In-Reply-To: <20021023140716.GA1992@LEPIDUS>
Message-ID: <Pine.GSO.4.44.0210231654400.2050-100000@domino.informatik.uni-kl.de>
MIME-Version: 1.0

 Hallo Thomas!

On Wed, 23 Oct 2002, 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!!!

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


 It depends :-)

 I would suggest to run the mount-command only once in a bash
 using the "-s" switch to the mount command. That way,
 "/cygdrive/e" will be your cygwin-home dir (*not* install-dir,
 just *your* (t.baker's) home-dir (if you are not familiar with
 unix in general, I suggest to read a good introduction to any
 unix or linux)) for all applications and all time.

 With such a mounted hoem, you can delete the redundant copy.
 (delete it before you create the mount.)

 mounts using "-s" are stored in the registry, so they survive
 reboots.

 As a hint: "mount -s -b 'e:\' /home/tbaker" should work.
 Please note the single-quotes, which prevent the shell from
 playing games with the backslash. The "-b" forces a binary
 mount. That stops cygwin from doing "crlf <-> lf" translations.
 It is somewhat a mater of taste to use "-b" or not.


 Have fun!

  Bjoern Kahl

-- 
+---------------------------------------------------------------------+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+---------------------------------------------------------------------+


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