Συντάκτης: Matthias Pitzl Ημερομηνία: Προς: Marc Haber Υ/ο: exim-users Αντικείμενο: Re: [exim] Question about conditions in routers - Exim 3.35
> How do you send the message to the script? >
> Greetings
> Marc
At moment i have following configuration:
crypt_pipe:
driver = pipe
user = root
command = "/usr/scripts/bin/crypter.pl $pipe_addresses $sender_address"
When a mail arrives, it gets piped into the script and with "$pipe_addresses
$sender_address" i get the recipients' address and the sender's address.
This part works so far.
In the script, i do some stuff. At moment, i just add the new header field
"X-crypt: yes" into the mail and then i write it back to exim.
At this case the condition in the router should evalute to false and the
smarthost router should be used instead.