Re: [Exim] exim <> sendpage

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Jerry Allen
CC: exim-users
Tárgy: Re: [Exim] exim <> sendpage
On Mon, 31 Jan 2000, Jerry Allen wrote:

> I have succeeded in getting sendpage to work with exim.
>
> Problem,
> I had to write a shell wrapper for it...
> #!/bin/sh
> echo "$1"| /usr/local/sendpage/sendpage -f $2 $3
> # end wrapper
>
> exim config statement:
> command = "/usr/exim/sendpage.wrap \
> $header_subject: $header_from $local_part"


So sendpage needs the subject as the first line on its standard input?
Take a look at the "prefix" option of the pipe transport. You should be
able to do what you want with that.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.