[exim] limiting attempts made by transports

Top Page
Delete this message
Reply to this message
Author: Oliver Howe
Date:  
To: exim-users
Subject: [exim] limiting attempts made by transports
Is it possible to limit the number of attempts a transport (with
driver=pipe to an external command) makes? For example , if I have one
that is temporarily failing for a certain message but not others (with
error code 75) , is it possible to fail over to a different transport
if this one fails, say 10 times, for this particular message?

My current transport is something like

my_custom_transport:
driver = pipe
command = /usr/bin/my_custom_command
envelope_to_add
group = mail
user = nobody

Thanks,

Oliver