[exim-dev] SMTP extensions, was Re: [PATCH] Implement redi…

Pàgina inicial
Delete this message
Reply to this message
Autor: David Saez Padros
Data:  
CC: exim-dev
Assumptes vells: [exim-dev] SMTP response code, was Re: [PATCH] Implement redirect
Assumpte: [exim-dev] SMTP extensions, 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.


just a correction to my last message (i wrote it too fast):

Just as a whish, it would be easy to add some minor changes so
exim could be used to experiment with smtp extensions:

- adding some expansion variables: $ehlo_extensions (which will
hold the remote server supported smtp extensions announced
in the ehlo) and $rcpt_arguments with any RCPT extra argument

- a main configuration option for adding ehlo extensions to the
ehlo response, like:

extra_ehlo_extensions = XFOO : XBAR

- a extra option for the smtp transport to add arguments to
the RCPT TO command, like:

rcpt_args = FOO=BAR (will make exim issue RCPT TO:<a@???> FOO=BAR
when delivering that message)

- a new acl for unknown smtp commands

This should be very simple to implement and will allow to make
some experiments and implement custom extensions, i.e. one to
known if remote client will redirect on 551 or not. Also the acl
for unknown smpt command could be used for other purposes, like
to dectect and react to some kiddies that send things like
http://... on the smtp port.

--
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
----------------------------------------------------------------