[exim-dev] [Bug 251] A way of detecting timeouts in callout …

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jeremy Harris
Fecha:  
A: exim-dev
Asunto: [exim-dev] [Bug 251] A way of detecting timeouts in callout returns
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=251

Nigel Metheringham <nigel@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Exim 4.72                   |Exim 4.73
   Target Milestone|Exim 4.73                   |Exim 4.77


Jeremy Harris <jgh146exb@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgh146exb@???





--- Comment #2 from Jeremy Harris <jgh146exb@???>  2011-10-16 17:13:19 ---
# Technique for explicitly seeing defers; credit andrew@???
# Note this gets explicit defers as well as timeouts etc.
# Call this from a "warn" verb.
sverify_callout:
  require       set acl_c8 =    defer
  accept        verify =        sender/callout,random
                set acl_c8 =    accept
  deny          set acl_c8 =    deny


...

acl_foo:
  warn          acl =           sverify_callout
  accept        condition =     ${if eq {$acl_c8}{accept}}
  deny          condition =     ${if eq {$acl_c8}{deny}}
  accept        acl =           sverify_deferred



--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email