Fetchmail call to procmail no longer works under Cygwin 1.7.1-1

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Feb 23 21:45:00 GMT 2010


On 02/23/2010 03:37 PM, Thomas Baker wrote:
>> Evidently if it does not find /home/TBaker/.procmailrc, it does
>> not go looking for /home/tbaker/.procmailrc.  Since my entire
>> file system is based on tbaker, I'd love to find a way to eradicate
>> the "TBaker" from my system entirely.  The guy who set up my XP
>> installation many years ago set my login as "TBaker" but it has
>> never caused any practical problems until now.

He should still be shot. ;-)

> This worked:
> 	$ cd /home
> 	$ cp tbaker/.procmailrc TBaker
> 	$ procmail VERBOSE=on<test.mbox
> 	procmail: [3528] Tue Feb 23 15:22:39 2010
> 	procmail: Rcfile: "/home/TBaker/.procmailrc"
> 	procmail: Assigning "MAILDIR=/home/TBaker"
> 	procmail: Assigning "INCLUDERC=/home/tbaker/u/config/procmailrc/procmailrc"
> 	procmail: Assigning "LOG=
> 	"
> 	
> 	procmail: Assigning "VERBOSE=on"
> 	procmail: Assigning "LOGABSTRACT=all"
> 	procmail: Assigning "MAILDIR=/home/tbaker/u/folders"
> 	procmail: Assigning "DEFAULT=/home/tbaker/u/folders/mbox"
> 	procmail: Assigning "PMDIR=/home/tbaker/u/config/procmailrc"
> 	procmail: Assigning "LOGFILE=/home/tbaker/u/config/procmailrc/procmail.log"
> 	procmail: Opening "/home/tbaker/u/config/procmailrc/procmail.log"
> 	$
>
> In a pinch, it looks like this would solve the problem, but it is an ugly
> workaround.

Yeah, I wouldn't go that far when a symbolic link to /home/tbaker would
suffice.

> It would be nicer to expunge any references to "TBaker" entirely.
> I guess they are in the Win32 registry?  I do not find any in my
> cygwin configuration
> files.
>
> Hang on... There it is in /etc/passwd...:
> TBaker:unused_by_nt/2000/xp:1003:513:U-OCTAVIUS\TBaker,S-[...omitted...]:/home/TBaker:/bin/bash
>
> and /etc/passwd was last accessed on 2007-11-16, so it would seem
> procmail _was_ able
> to work with this before the latest update -- if indeed /etc/passwd
> has anything to do with
> procmail's operation...

<http://cygwin.com/cygwin-ug-net/ov-new1.7.html>

Changing the user name in '/etc/passwd' to use the proper case should 
resolve the
problem though.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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



More information about the Cygwin mailing list