[exim] Is it possible to skip a router if a transport is una…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Oliver Howe
Date:  
À: exim-users
Sujet: [exim] Is it possible to skip a router if a transport is unavailable?
I have a router that calls a custom transport that relies on a database
connection.
Is there a way to skip on to the next router if the database connection is
not available?

The router looks like this

my_router:
 driver = accept
 condition = ${if and {{!eq {$received_protocol}{local}} \
                                           {!match {$acl_c_calendar}{yes}}\
                                           {match {$acl_c_ctnm}{yes}}\
                                           {!match {$acl_c_noname}{yes}} \
                                           {!match {$
h_From:}{calendar-notification@???}}\
                                           {!match
{$local_part}{\N.-noreply-\d+$\N}}}}
  headers_add = "\
    X-Incoming-Message-Id: $message_exim_id\n\
    X-Sender-Host-Address: $sender_host_address\n\"
  transport = my_transport
  no_verify




The transport looks like this

my_transport:
driver = pipe
command = /usr/local/bin/perl_script.pl
envelope_to_add
group = mail
user = nobody



Thanks,

Oliver