OK this is where it's up to...

Used this:

Router
======
outgoing_tmda:
  driver = accept
  senders = [EMAIL PROTECTED] // my address hard coded to test
  condition = "${if !def:header_X-Delivery-Agent:{1}{0}}"
  transport = outgoing_tmda_pipe
  no_more


Transport
=========
outgoing_tmda_pipe:
  driver = pipe
  command = /usr/bin/python2 /usr/bin/tmda-sendmail
  user = $sender_address_local_part
  group = tmda

Tested logic of router running Exim in test interactive debug mode worked 
OK. Did test mail using simple test program I have which injects straight 
into Exim. Got following error in Exim log (R=the router Exim used and 
T=transport used) - 
***
R=outgoing_tmda T=outgoing_tmda_pipe: Child process of outgoing_
tmda_pipe transport returned 1 from command: /usr/bin/python2
***

tmda-inject and sendmail are world executable.

Nothing in tmda debug.log, obviously did not get that far.

What form of input is tmda-sendmail/inject expecting? How can I get some 
debug info?

PS

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to