Hi....
I'm actually having a problem running hypermail from within a .procmailrc. This is my .procmailrc
############################################################################
VERBOSE=yes
MAILDIR=$HOME/Msgs
PMDIR=$HOME/Procmail
LOGFILE=$PMDIR/log
HOME=/home/stude/j/jtbeach
:0
* ^Subject:[ ]+\[proj\]
{
:0c:
proj2
:0c
! joelbeach_at_optushome.com.au
:0:
| $HOME/hypermail/bin/hypermail -i -u -d $HOME/www_public/mail -l "340
Project List"
}
###########################################################################
If, instead of this setup, I save the message to a new file and then pipe that into hypermail using
cat folder | $HOME/hypermail/bin/hypermail -i -u -d $HOME/www_public/mail -l "340 Project List"
it works fine and produces the update HTML pages.
However, when I try to run it from within the above .procmailrc, I get the following errors in the log
################################################################################ procmail: Assigning "HOME=/home/stude/j/jtbeach" procmail: Match on "^Subject:[ ]+\[proj\]" procmail: Locking "proj2.lock" procmail: Assigning "LASTFOLDER=proj2" procmail: Opening "proj2"
procmail: Locking ".lock" procmail: Executing "/usr/lib/sendmail,-oi,joelbeach_at_optushome.com.au" procmail: [12662] Mon Mar 12 23:45:26 2001 procmail: Executing
procmail: Unlocking ".lock" procmail: Locking "/var/spool/mail/jtbeach.lock" procmail: Assigning "LASTFOLDER=/var/spool/mail/jtbeach" procmail: Opening "/var/spool/mail/jtbeach" procmail: Unlocking "/var/spool/mail/jtbeach.lock">From jtbeach_at_students.cs.mu.OZ.AU Mon Mar 12 23:45:25 2001
Subject: [proj] Huh!!!! Folder: /var/spool/mail/jtbeach 895 procmail: Notified comsat: "jtbeach_at_2384:/var/spool/mail/jtbeach" ####################################################################################
Anyone have any ideas?
Thanks,
Joel
P.S Please CC me as I currently don't subscribe to the list.... Received on Mon 12 Mar 2001 04:28:16 PM GMT
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:52 PM GMT GMT