procmail
[Top] [All Lists]

Re: recipe help

2005-11-10 19:17:00
I was not infront of the script when I send it out.
Here is the code alog with the error messages from the
log.
I just want to pass the $BODY" connectents as the 2nd
argument to the gpage program. If I change the line to
gpage test "YYYYYYYYY" it works.

PATH=$HOME/bin:/usr/bin:/usr/local/bin:.
SHELL=/usr/bin
MAILDIR=$HOME/  # You'd better make sure it exists
DEFAULT=$MAILDIR/mbox
LOGFILE=$MAILDIR/from
LOCKFILE=$HOME/.lockmail
# LOGFILE     = $PMSRC/pm.log
LOGABSTRACT = "all"
VERBOSE     = "on"

:0
* ^To: (_dot_)*patch(_at_)fascv(_dot_)org
{
    BODY=`formail -k -X From: -X Subject:`
}
:0
`gpage test "$BODY"`

Here is the log:procmail: [17379] Thu Nov 10 18:03:34
2005
procmail: Match on "^To: (_dot_)*patch(_at_)fascv(_dot_)org"
procmail: Executing "formail,-k,-X,From:,-X,Subject:"
procmail: Assigning "BODY=Subject: testing
From: brianw(_at_)xyc(_dot_)com

Testing the procmail recipes...Testing.... //Brian"
procmail: Executing "gpage,test,Subject: testing
From: brianw(_at_)xyc(_dot_)com

Testing the procmail recipes...Testing.... //Brian"
Error writing to paging server: server has closed it's
reading socket: Broken pipe
Error writing to server: commit_transaction

procmail: [17379] Thu Nov 10 18:03:35 2005
procmail: Assigning "LASTFOLDER="
procmail: Opening ""
procmail: Error while writing to ""
procmail: Locking "/home/fascv//mbox.lock"
procmail: Assigning "LASTFOLDER=/home/fascv//mbox"
procmail: Opening "/home/fascv//mbox"
procmail: Acquiring kernel-lock

Thanks

-Brian




                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Re: recipe help, brian woodson <=