[Exim] director to pipe transport - message not being piped?

Top Pagina
Delete this message
Reply to this message
Auteur: Microwave Systems Eximlist Exploder
Datum:  
Aan: exim-users
Onderwerp: [Exim] director to pipe transport - message not being piped?
I know I must be doing something blatantly stupid, but this has me
stumped.

-The transport:

send_page:
driver = pipe
command = "/local/exim/page/emailpage"
user = exim

-The director:

pager:
driver = aliasfile
search_type = lsearch
domains = page.mydomain.com
transport = send_page
file = /local/exim/page/email-page-numbers

-The content of /local/exim/page/emailpage

#!/bin/sh

cat > /tmp/page.stdin
set > /tmp/page.set
env > /tmp/page.env

exit 0                            


-The content of /local/exim/page/email-page-numbers

test: 2125551212

-"page.mydomain.com" is listed in local_domains

After sending a mail to test@???, upon examination of the
files /tmp/page.*, I get.

page.env and page.set have the expected contents, but page.stdin is
EMPTY? It seems like the message content isn't being piped to my
script..

This is an in-development project, eventually the script will send the
message to defined alphanumberic pagers - but not if I can't read the
message from the script.

I've done stuff like this before, and I can't see whst I'm doing wrong
here, but its probaly something real stupid. Hopefully someone on the
list can.