Re: [EXIM] :defer: not at SMTP level

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Ben Smithurst
Cc: exim-users
Asunto: Re: [EXIM] :defer: not at SMTP level
A few minutes ago, I wrote:

> Looks like I've broken something. Thanks for doing the test. I'll
> investigate.


Yes, I broke both :defer: and :fail: with the store management changes
that have happened since 1.92. They should be working correctly in 1.92.
Below is a (somewhat embarrassing :-) patch for 1.929.

With receiver_verify turned on, you will see a 4xx/5xx return code
respectively for a RCPT TO an alias that points at :defer:/:fail:.
However, you won't see the fail message unless you actually send mail to
the :fail: alias.

-- 
Philip Hazel                   University Computing Service,
P.Hazel@???          New Museums Site, Cambridge CB2 3QG,
ph10@??? (sic)       England.  Phone: +44 1223 334714




*** exim-1.929/src/directors/aliasfile.c    Wed Jun 17 12:46:43 1998
--- directors/aliasfile.c    Tue Jun 23 09:05:47 1998
***************
*** 441,450 ****
--- 451,462 ----
    case EXTRACTED_DEFER:
    addr->message = string_sprintf("forced defer: %s", error);
    yield = DEFER;
+   break;


    case EXTRACTED_FAIL:
    addr->message = string_sprintf("forced failure: %s", error);
    yield =  FORCEFAIL;
+   break;


    default:
    addr->basic_errno = ERRNO_BADALIAS;
***************
*** 455,460 ****
--- 467,473 ----
    if (extracted > 0 && !ob->freeze_missing_include) return DEFER;
    addr->special_action = SPECIAL_FREEZE;
    yield = ERROR;
+   break;
    }


/* If skip_syntax_errors was set and there were syntax errors in the list,


--
*** Exim information can be found at http://www.exim.org/ ***