delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/10/15:51:37

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
Message-ID: <3D05034C.B1B0B046@mitre.org>
Date: Mon, 10 Jun 2002 15:51:40 -0400
From: Jason House <jhouse AT mitre DOT org>
Organization: The MITRE Corporation
X-Accept-Language: en
MIME-Version: 1.0
To: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
CC: cygwin AT cygwin DOT com
Subject: Re: procmail output file format.
References: <BF35D9C143BCCC4EB63181B67C9320C83A9C78 AT serv-075 DOT icon-germany DOT local> <3CF68E38 DOT D0971844 AT mitre DOT org> <20020610211100 DOT A1484 AT mail DOT gmd DOT de>

I did not know of #1, although I would have been fairly happy with that
solution.  (I currently do both #2 and #3 to be safe)

I originally began with setting the HOME variable (like PATH) in order
to make other unix ports (ie. emacs, ucd-snmp, etc...) work.

Just doing #2 worked fine for me.  My /home/Administrator was empty
anyway.  I didn't hit into any trouble, but I did #3 (also) in order to
"do it right".

I guess it would be nice if setting HOME had the desired effect on
procmail... but I don't think modifying the source is the right way to
do it.  Maybe cygwin should warn about inconsistencies between
/etc/passwd and HOME (which apparently overrides /etc/passwd).  I looked
in /etc/profile and it doesn't seem to make any distinction there
between where HOME comes from.  I don't know where else to look... 

Hopefully my comments are useful :)

Thomas Baker wrote:
> 
> I am finding exactly what Jason found -- when I add a "-f"
> argument to /usr/bin/procmail (under Cygwin), everything fails
> because it suddenly wants to access /home/Administrator.
> This reminds me of another little quirk that has been
> bothering me: about one time in ten, when I "reply" in Mutt
> -- and I haven't been able to tell under which particular
> circumstances -- the message comes up with my name expanded
> to "Administrator\\MyMachine" (or something like that) and
> I have to replace this manually with "Thomas Baker".
> 
> Anyway, several solutions were suggested:
> 
> 1) A simple .procmailrc at /home/Administrator that says:
>         INCLUDERC=[pathname];
> 
> 2) Removing /home/Administrator and making it a "simulink"
>    (a "symbolic link"?) to a home directory;
> 
> 3) Change /home/Administrator to something else in /etc/passwd.
> 
> Jason had good experience with #2 (still, two weeks later?),
> but messing with Cygwin's /home/Administrator makes me nervous
> about unforeseen dire consequences.  What is the role of the
> (presumably WIN2000) Administrator under Cygwin?  Maybe it's
> just "symbolic"?  Has anyone tried solutions #1 and #3?
> 
> Tom
> 
> On Thu, May 30, 2002 at 04:40:24PM -0400, Jason House wrote:
> > Nice solution :) I like it.
> >
> > Removing /home/Administrator and making it a simulink to my desired home
> > works perfectly.  It is also a very easy thing to recreate in the event
> > of a full restore...  I also allows me to remove my hacks to avoid using
> > $HOME.
> >
> > Now I get to hunt down a good .muttrc file :)
> >
> > Heribert Dahms wrote:
> > >
> > > Hi Jason(s),
> > >
> > > did you try a symlink?
> > > You might even store a script to recreate that in your backuped area 8-)
> > >
> > > Bye, Heribert (heribert_dahms AT icon-scm DOT com)
> > >
> > > > -----Original Message-----
> > > > From: Jason House [SMTP:jhouse AT mitre DOT org]
> > > > Sent: Thursday, May 30, 2002 22:21
> > > > To:   Jason Tishler
> > > > Cc:   cygwin AT cygwin DOT com
> > > > Subject:      Re: procmail output file format.
> > > >
> > >         [Heribert]  [snip]
> > >
> > > > Something like having /home/Administrator/.procmailrc simply say "use
> > > > /Docume~1/jhouse/MyDocu~1/UnixHome/.procmailrc" would be better since it
> > > > guarantees that it won't get deleted after it grows in complexity.
> > > >
> > >         [Heribert]  [snip]
> >
> >
> > --
> > 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/
> 
> --
> 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-14-2619


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