This is the mail archive of the cygwin 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]

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


On Tue, Feb 23, 2010 at 10:33:24AM -0500, Thomas Baker wrote:

> If I pipe one message into procmail with:
> 
> 	procmail -v -d tbaker <msg.mbox
> 
> procmail reports:
> 
> 	Locking strategies:     dotlocking, fcntl()
> 	Default rcfile:         $HOME/.procmailrc
> 	Your system mailbox:    /var/spool/mail/TBaker
> 
> and appends the message to the file /var/spool/mail/TBaker,
> ignoring the recipe in $HOME/.procmailrc.

Oh. Actually I thought procmail was not suppose to deliver when given -v
       -v   Procmail  will  print its version number, display its compile time
            configuration and exit.
(from the man page)

> This also does not work:
> 
> 	procmail -d tbaker <msg.mbox

Can you be a bit more specific? Is anything added to the procmail log?
You could also add VERBOSE=on on the command line for more
info. http://pm-doc.sourceforge.net/pm-tips.html recommends
      LOGFILE     = $PMSRC/pm.log
      LOGABSTRACT = "all"
      VERBOSE     = "on"
in the .procmailrc.

And you're sure you are running the correct procmail, i.e. there is no
other procmail in your path before the one you are expecting to run?
$ type -a procmail
procmail is /usr/bin/procmail
procmail is /bin/procmail

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


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