This is the mail archive of the
cygwin
mailing list for the Cygwin project.
/etc/procmailrc vs ~/.procmailrc
- From: "Peter Wisnovsky" <peter at wisnovsky dot net>
- To: <cygwin at cygwin dot com>
- Date: Thu, 4 Mar 2004 14:38:38 -0800
- Subject: /etc/procmailrc vs ~/.procmailrc
- Reply-to: "Peter Wisnovsky" <peter at wisnovsky dot net>
I'm using fetchmail with procmail. My fetchmailrc says
poll y.c protocol pop3 username x keep mda "procmail -d %T"
When my procmailrc is in ~/.procmailrc I get errors of the form:
reading message x@y.c of 30 (2268 octets) ..procmail: Suspicious rcfile
"/home/psw/.procmailrc"
procmail: Couldn't read "/home/psw/.procmailrc"
not flushed
But when I look at ~/.procmailrc I see
~% head /home/psw/.procmailrc
SHELL=/bin/sh
PATH=/bin:/usr/bin:/pkg/mail/bin
MAILDIR=$HOME/usr/mail
DEFAULT=$MAILDIR/INBOX.spool
LOGFILE=$MAILDIR/procmail.logfile
VERBOSE=on
LOGABSTRACT=all
:0:
...
Home is where the heart is:
% mount | grep /home
c:\Documents and Settings on /home type system (textmode)
Curiously, if I mv .procmailrc to /etc/procmailrc it seems to work ok.
reading message x@y.c:32 of 32 (1684 octets) . not flushed
/etc is also mounted textmode. /home/psw is my homedir in both the
/etc/passwd and HOME variable.
I don't mind that much having the procmailrc in /etc/ but it seems confusing
to me. I've had other problems with files not being readable (.Xresources
and mail spools with movemail) and am trying to understand this better.
- Perplexed by Procmail
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/