Re: [exim-dev] SMTP response code, was Re: [PATCH] Implemen…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Wakko Warner
Ημερομηνία:  
Προς: David Woodhouse
Υ/ο: Tony Finch, exim-dev
Αντικείμενο: Re: [exim-dev] SMTP response code, was Re: [PATCH] Implementredirect
David Woodhouse wrote:
> On Thu, 2006-06-29 at 19:22 +0100, Tony Finch wrote:
> > On Thu, 29 Jun 2006, David Woodhouse wrote:
> > >
> > > I was thinking of
> > >
> > > deny condition = foo
> > >      message = User not local and use you SPF. Try <$addr>
> > >      errorcode = 551

> >
> > That's a nice idea.
> >
> > BTW, does anyone have any thoughts about how to do ENHANCEDSTATUSCODES
> > in Exim?
>
> I was thinking we'd do it similarly to the above. And maybe have
> different defaults in different ACLs somehow.


Could also implement aliases (I know macros work and is beside the point)
that map to the actual code.

One thing that comes to mind is someone doing this:
deny     condition = ...
    message = ...
    errorcode = 220


I know that's a mistake, but not everyone would. Would it be useful to
either ignore bad codes (logging the fact) or just use a 2 digit code?
I read the RFC somewhat on the status codes (not enhanced) and not sure how
to supply aliases for those since each digit refers to a specific thing.

--
Lab tests show that use of micro$oft causes cancer in lab animals
Got Gas???