On Tue, Feb 23, 2010 at 11:49 AM, Gary 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)
My mistake. It did just display and exit. The appended message was indeed from the next command I executed (below). >> 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. I have had logs set up all along, and have now made them verbose. When I execute procmail -d tbaker <test.mbox -- On the netbook, it gets correctly delivered by procmail and verbosely described in the log. -- On the desktop, the message gets appended to /var/spool/mail/TBaker, and nothing is written into the log. None of the tests I have done on the desktop have been recorded in the log. The same log directory exists on both machines - I have been using the same log filename for several years as the entire directory structure got passed back and forth between the two machines. Tom > > 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 > > -- Tom Baker <tba...@tbaker.de> -- 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