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

Pàgina inicial
Delete this message
Reply to this message
Autor: David Saez Padros
Data:  
CC: exim-dev
Assumpte: Re: [exim-dev] SMTP response code, was Re: [PATCH] Implement redirect
Hi !!

>> I was thinking of
>>
>> deny condition = foo
>>      message = User not local and use you SPF. Try <$addr>
>>      errorcode = 551

>
> That's a nice idea.


i agree, specially if the condition could be something like:

condition = {if user redirects outside} and {remote mta 'supports' 551}

so the redirection could be dealed locally if remote mta does not
gracefully support 511 code. A helo extensions could be announced when
511 redirection is supported as a client (which should also be detected)

Just as a whish, what about having a main configuration option for
adding ehlo extensions to the ehlo response, like:

extra_ehlo_extensions = X511 : XCUSTOM : XOTHER

and also a ehlo_extensions expansion variable that hold the list of
available extensions supported by the remote mta. This will allow to
do many 'experimental' things in a general manner.

This should be very simple to implement and if it's aproved i could
send a patch for it.

--
Best regards ...

----------------------------------------------------------------
    David Saez Padros                http://www.ols.es
    On-Line Services 2000 S.L.       e-mail  david@???
    Pintor Vayreda 1                 telf    +34 902 50 29 75
    08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------