procmail
[Top] [All Lists]

problem with procmail

2001-06-13 11:19:46
I'm trying to copy the body of email to a MESSAGE.$$   and then run =
 easytty to parse the body of email  by  `/home/ttymsg/easytty =
 $TEMPORARY`   for whatever the reason in .maillog...it kept saying:
 From mstaley(_at_)dynamio(_dot_)com  Wed Jun 13 13:57:44 2001
   Folder:  (formail -rt -I"From: " -A"From: ttymsg(_at_)dynamio(_dot_)com" ; \ 
     =
    586
 /bin/bash: -c: line 2: syntax error: unexpected end of file   =20
 
 Could you help me out so I can have my Perl program to parse it and send =
 email back to proper address?   Thanks.
 
 This is what my .procmailrc looks like
 LOGFILE=3D$HOME/.maillog
 VERBOSE=3Dno
 PATH=3D$HOME:/usr/bin:/usr/local/bin:/bin
 TEMPORARY=3D$HOME/MESSAGE.$$
 #TRAP=3D"/bin/rm -f $TEMPORARY"
 
 :0
 * !^FROM_DAEMON
 * !^X-Loop: ttymsg(_at_)dynamio(_dot_)com
 {
         :0 bc
         $TEMPORARY
        :0
         | (formail -rt -I"From: " -A"From: ttymsg(_at_)dynamio(_dot_)com" ; \
        -A"X-Loop: ttymsg(_at_)dynamio(_dot_)com" ; \
         /home/ttymsg/easytty $TEMPORARY  )
 }                   =20

Matthew Staley

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>