[exim] piping through a program to an address

Góra strony
Delete this message
Reply to this message
Autor: lee
Data:  
Dla: exim-users
Temat: [exim] piping through a program to an address

hello everyone,

probably a basic question here but I would like to check the correct
syntax and protocol;

If I want to use an Exim filter to conditionally pipe an email through a
perl program then onto a specific email address/mailbox, is the
following correct ?
It is the piping of the program's output onto an email address that I am
apparently having trouble with.
ie, I already know that I can and am successfully generating a correct
and usable output from the program itself.

Many thanks,
Lee

if $header_Reply-To: contains "abc@???"
then pipe "/home/www/perlprogram.pl '|xyz@???'"
finish
endif

--

A perfect internet companion: LEE'S FREE MUSIC STATION
<http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498>
Example recent playlist HERE <http://www.incelsite.com/playlist.gif>