Re: design specifics --- the config label

Hadmut Danisch <[email protected]> Tue, 7 Oct 2003 22:53:44 +0200
Newsgroups gmane.ietf.asrg.rmx
Message-ID <[email protected]>
On Tue, Oct 07, 2003 at 04:43:04PM -0400, Alan DeKok wrote:
> 
>   I would say that one of the requirements for this work is that the
> solution be almost trivial to implement in existing MTA's.  This
> probably means a simple syntax.


I agree with the requirement for simple implementation, but this
does not mean a simple syntax (which is nevertheless desirable).

Most MTAs will need to use a C library anyway. 

I'd recommend to provide a reference implementation (as I did
for an earlier version of RMX) with a very simple API, which can
easily be called from any MTA.

I think about a single function call:

Parameters: IP address, Sender address, EHLO parameter
Result:     Good, Bad, Unknown, TemporaryError

So the MTA author/maintainer does not have to cope with the entries at
all. He does not even see that it is DNS based. 


But I still wonder whether the configuration of trusted hosts is 
to be done by the MTA which will not call the library for trusted
relays or whether it is a function of the library, which will simply
answer "good" for all such hosts. I tend to support both.



I think such a library would help in getting the game accepted
fast.

regards
Hadmut