[EXIM] transport filters

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Torsten Curdt
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] transport filters
As conditional rewriting depending on the destination of
messages can't be done in an other way I thought about doing
this by transport filters...

In the transport section I defined:

local_delivery:
  driver = appendfile,
  transport_filter = "echo LOCAL $host $host_address\
    $sender_address $pipe_addresses |/usr/bin/tee -a /tmp/log";
  file = /var/spool/mail/${local_part},


remote_smtp
  driver = smtp,
  transport_filter = "echo SMTP $host $host_address\
     $sender_address $pipe_addresses|/usr/bin/tee -a /tmp/log";


Why do I get a broken pipe error ?
Isn't this supposed to be right ?

--
Torsten  Curdt    /email/ tcurdt@???             \
                 /http://www.gwdg.de/~tcurdt          \
                /Thanx to Linus for a hell of a system!\




--
*** Exim information can be found at http://www.exim.org/ ***