delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/04/17:39:38

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: <008a01c40239$7060ccc0$ac050b0a@PWISNOVSKY>
Reply-To: "Peter Wisnovsky" <peter AT wisnovsky DOT net>
From: "Peter Wisnovsky" <peter AT wisnovsky DOT net>
To: <cygwin AT cygwin DOT com>
Subject: /etc/procmailrc vs ~/.procmailrc
Date: Thu, 4 Mar 2004 14:38:38 -0800
MIME-Version: 1.0

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 AT y DOT 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 AT y DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019