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:}{[email protected]}}\
                                           {!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
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to