[exim] Fallback upon certain errors

Góra strony
Delete this message
Reply to this message
Autor: Josselin Mouette
Data:  
Dla: exim-users
Temat: [exim] Fallback upon certain errors
Hi list,

I'd like to configure exim4 with something specific, and didn't find out
about such configurations in the FAQ.

My configuration is very close to the Debian default. The interesting
part is this router:
dnslookup:
  debug_print = "R: dnslookup for $local_part@$domain"
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  same_domain_copy_routing = yes
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
                        172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16
  no_more


and this transport:
remote_smtp:
debug_print = "T: remote_smtp for $local_part@$domain"
driver = smtp

What I'd like to achieve is, when this transport fails with a certain
error code - namely error 550, for domains using stupid RBLs I'm listed
in - to retry with another transport (a smarthost one).

Is it possible with exim4 ?

(Please Cc: me, I'm not subscribed to the list.)
Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@???
`. `'                        joss@???
   `-  Debian GNU/Linux -- The power of freedom