This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"mount" versus "ln" (was Re: Cygwin/Procmail stops working)


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.Baker@bi.fhg.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]