Re: [Exim] director to pipe transport - message not being pi…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave C.
Date:  
À: Philip Hazel
CC: exim-users
Sujet: Re: [Exim] director to pipe transport - message not being piped?

I will note that on starting another project which needs, this, I find
I am yet again having this same problem.

One thing I did find, is that while if I try to 'cat' the stdin, i get
nothing, if I use bash's 'read' I get the first line of the message
(the from_hack line, in this case)..

I am absolutely baffled.. -d9 output seems to indicate its writing the
file, but nothing shows up from cat.. Is my cat broken? (Humor
intended)



On Wed, 14 Jul 1999, Dave C. wrote:

>
>
> On Wed, 14 Jul 1999, Philip Hazel wrote:
>
> > On Tue, 13 Jul 1999, Microwave Systems Eximlist Exploder wrote:
> >
> > > I know I must be doing something blatantly stupid, but this has me
> > > stumped.
> >
> > What do you see if you run a delivery with -d9? There are debugging
> > statements that are written when the message is being pushed down the
> > pipe.
>
> Here is the output from that section. It looks like it thinks its
> writing it, but I still don't get anything...
>
>
> .
> .
> .
> locked /var/spool/exim/db/retry.lockfile
> failed to open DB file /var/spool/exim/db/retry: Invalid argument
> delivering test@??? as test using send_page:
> uid=502 gid=502 home=NULL current=/
> auxiliary group list: <none>
> set_process_info: 12924 3.00 delivering 114Qbc-0003MP-00 to test using
> send_page
> send_page transport entered
> direct command:
> argv[0] = /local/exim/page/emailpage
> direct command after expansion:
> argv[0] = /local/exim/page/emailpage
> Writing message to pipe
> set_process_info: 12926 3.00 reading output from
> |/local/exim/page/emailpage
> writing data block size=48 timeout=3600
> writing data block size=331 timeout=3600
> writing data block size=1 timeout=3600
> send_page transport yielded 0
> send_page transport returned OK
> post-process test@???
> test@??? succeeded: adding to nonrecipients list
> LOG: 0 MAIN
> => test <test@???> D=pager T=send_page
> search_tidyup called
> >>>>>> Remote deliveries >>>>>>
> set_process_info: 12923 3.00 tidying up after delivering
> 114Qbc-0003MP-00
> Processing retry items
> Succeeded addresses:
> test@???: no retry items
> Failed addresses:
> Deferred addresses:
> end of retry processing
> LOG: 0 MAIN
> Completed
> end delivery of 114Qbc-0003MP-00
>
> hal:/local/exim/page# ls -l /tmp/page.*
> -rw-r--r--   1 exim     exim          246 Jul 14 11:05 /tmp/page.env
> -rw-r--r--   1 exim     exim          342 Jul 14 11:05 /tmp/page.set
> -rw-r--r--   1 exim     exim            0 Jul 14 11:05 /tmp/page.stdin       

>
>
> Here is the pipe script /local/exim/page/emailpage again. I took the
> exit 0 out thinking maybe it was hiding an error, but it didnt change
> anything.
>
> hal:/local/exim/page# cat emailpage
> #!/bin/sh
>
> cat > /tmp/page.stdin
> set > /tmp/page.set
> env > /tmp/page.env
>
>
> Here is the input to "exim -v -d9 -bs" :
>
> helo sdfgh
> mail from: djc@???
> rcpt to: test@???
> data
> From: djc@???
> To: test@???
>
> sdfg
> sdfg
> sdfg
> sdfg
>
> .
> quit
>
>