procmail
[Top] [All Lists]

How do I execute a program from within a recipe, and from outside a recipe?

2007-01-09 14:10:27
How do I tell procmail to execute the following line so that the output of the 
perl script is evaluated instead of its exit code?  It converts a text file 
with email addresses, one per line, into (email1|email2|email3) format.

* $ `perl -ne 'END {chop $me; print "($me)"} chomp; $me .= "$_|"; '  \
        $MYADDRESSES`

How do I execute this command as a stand alone command (not from within a 
recipe)?

printf "\n\n${PASS}\t${ORIGFROM}\n\t${ORIGSUBJECT}"  >> ${SPAMQUEUE}

Glen

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