procmail cannot write to local directories

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Mon Dec 10 13:20:00 GMT 2001


I would agree.  Oh well, maybe it's time to debug...

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 03:23 PM 12/10/2001, C. Porter Bassett wrote:
>I don't think that's the problem.  Here's what I get when I run mount:
>/c/v35$ mount
>d:\cygwin\bin on /usr/bin type system (binmode)
>d:\cygwin\lib on /usr/lib type system (binmode)
>d:\cygwin on / type system (binmode)
>c: on /c type user (binmode,noumount)
>d: on /d type user (binmode,noumount)
>w: on /w type user (binmode,noumount)
>x: on /x type user (binmode,noumount)
>y: on /y type user (binmode,noumount)
>
>
> > Don't know for sure but judging by the missing quotes and first letter
> > from many of your messages, I'm guessing your running with text mounts.
> > Try binary mounts instead and see if anything is better.
> >
>
> >
> >
> > At 02:47 PM 12/10/2001, C. Porter Bassett wrote:
> > >I downloaded cygwin-compiled procmail from
> > >http://www.dd.iij4u.or.jp/~madokam/.  Right now, I am trying to use it to
> > >filter an existing test mailbox that has two messages in it by running
> > >  $ cat testspool |procmail
> > >
> > >Here's my super-simple .procmailrc which should do nothing put put all
> > >messages into ~/Mail/inbox and write its log to ~/.procmail/log:
> > >     PATH=/usr/bin:/bin
> > >     SHELL=/bin/sh
> > >     VERBOSE=no
> > >     MAILDIR=$HOME/Mail
> > >     DEFAULT=$MAILDIR/inbox
> > >     PMDIR=$HOME/.procmail
> > >     LOGFILE=$PMDIR/log
> > >
> > >:0
> > >$DEFAULT
> > >
> > >
> > >When I try to do this, procmail gives me all kinds of odd errors.  Here's
> > >what procmail puts into stderr:
> > >
> > >     ~/Mail$ cat testspool |procmail
> > >     "rocmail: Error while writing to "/home/porter/.procmail/log
> > >     "rocmail: Skipped "
> > >     "rocmail: Skipped "
> > >     "rocmail: Error while writing to "/home/porter/Mail/inbox
> > >     "rocmail: Skipped "
> > >     .lock"il: Lock failure on "/home/porter/Mail/inbox
> > >     "rocmail: Error while writing to "/home/porter/Mail/inbox
> > >
> > >
> > >I have no idea why it cannot write to /home/porter/.procmail/log or
> > >/home/porter/Mail/inbox.  I can modify both of them.  I also have no idea
> > >why it keeps saying Skipped ".
> > >
> > >
> > >
> > >In case it helps, here's the same thing, but with VERBOSE=yes :
> > >     ~/Mail$ cat testspool |procmail
> > >     procmail: [888] Mon Dec 10 12:39:43 2001
> > >     "rocmail: Skipped "
> > >     "rocmail: Assigning "MAILDIR=/home/porter/Mail
> > >     "inboxil: Assigning "DEFAULT=/home/porter/Mail
> > >     "rocmail: Assigning "PMDIR=/home/porter/.procmail
> > >     "logmail: Assigning "LOGFILE=/home/porter/.procmail
> > >     "logmail: Opening "/home/porter/.procmail
> > >     "logmail: Error while writing to "/home/porter/.procmail
> > >     "rocmail: Skipped "
> > >     "rocmail: Skipped "
> > >     "inboxil: Assigning "LASTFOLDER=/home/porter/Mail
> > >     "inboxil: Opening "/home/porter/Mail
> > >     "inboxil: Error while writing to "/home/porter/Mail
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N._9QF8.PWORK"hile writing to "/home/porter/Mail
> > >     procmail: [888] Mon Dec 10 12:39:51 2001
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N,_9QF8.PWORK"hile writing to "/home/porter/Mail
> > >     procmail: [888] Mon Dec 10 12:39:59 2001
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N+_9QF8.PWORK"hile writing to "/home/porter/Mail
> > >     procmail: [888] Mon Dec 10 12:40:07 2001
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N%_9QF8.PWORK"hile writing to "/home/porter/Mail
> > >     procmail: [888] Mon Dec 10 12:40:15 2001
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N.f-QF8.PWORK"hile writing to "/home/porter/Mail
> > >     procmail: [888] Mon Dec 10 12:40:23 2001
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N,f-QF8.PWORK"hile writing to "/home/porter/Mail
> > >     procmail: [888] Mon Dec 10 12:40:31 2001
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N+f-QF8.PWORK"hile writing to "/home/porter/Mail
> > >     procmail: [888] Mon Dec 10 12:40:39 2001
> > >     .lock"il: Locking "/home/porter/Mail
> > >     /_4N%f-QF8.PWORK"hile writing to "/home/porter/Mail
> > >     .lock"il: Lock failure on "/home/porter/Mail
> > >     "inboxil: Assigning "LASTFOLDER=/home/porter/Mail
> > >     "inboxil: Opening "/home/porter/Mail
> > >     "inboxil: Error while writing to "/home/porter/Mail
> > >     procmail: Assigning "LASTFOLDER=/var/spool/mail/porter"
> > >     procmail: Opening "/var/spool/mail/porter"
> > >     From <#@[]> Mon Dec 10 02:43:29 2001
> > >     Subject: Re: mutt on cygwin
> > >     Folder: /var/spool/mail/porter
> > >80283
> > >     ~/Mail$
> > >
> > >
> > >
> > >
> > >
> > >
> > >--
> > >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/
> >
> >
> > --
> > 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/
> >


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



More information about the Cygwin mailing list