You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Norman Maurer <nm...@byteaction.de> on 2006/07/17 07:39:58 UTC

Re: [jira] Updated: (JAMES-567) Convert DNSRBLHandler to use the new smtp-fast-fail-api

BTW, after think a bit about this there is no need for implemt
ConnectionHandler on this type of check. Cause the "error code" get
returned on RCPT.. So it whould be enought to implement CommandHandler.

Any thoughts ?

bye
Norman

Am Sonntag, den 16.07.2006, 12:43 -0700 schrieb Norman Maurer (JIRA):
>      [ http://issues.apache.org/jira/browse/JAMES-567?page=all ]
> 
> Norman Maurer updated JAMES-567:
> --------------------------------
> 
>     Attachment: rbl.patch
> 
> Ok here is the patch to use the new api.. Let me know what you think about
> 
> > Convert DNSRBLHandler to use the new smtp-fast-fail-api
> > -------------------------------------------------------
> >
> >                 Key: JAMES-567
> >                 URL: http://issues.apache.org/jira/browse/JAMES-567
> >             Project: James
> >          Issue Type: Improvement
> >            Reporter: Norman Maurer
> >         Assigned To: Norman Maurer
> >         Attachments: rbl.patch
> >
> >
> 
> 

RE: [jira] Updated: (JAMES-567) Convert DNSRBLHandler to use the new smtp-fast-fail-api

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Norman Maurer wrote:
> > BTW, after think a bit about this there is no need for implemt
> > ConnectionHandler on this type of check. Cause the "error code"
> > get returned on RCPT.. So it whould be enought to implement
> > CommandHandler.

> Right, I think that every autorization/relay check should be done
> only in the first rcpt and only if the relaying check is really needed.

Actually, some of it needs to be done on every check, e.g., @remote.tld
would be bad, @local.tld might be good, and [postmaster|abuse]@local.tld are
required to accept mail.

But if you mean the IP related check, why introduce the conditional check
(to see if this is the first check) on every command when you can just check
once at connection time?

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] Updated: (JAMES-567) Convert DNSRBLHandler to use the new smtp-fast-fail-api

Posted by Stefano Bagnara <ap...@bago.org>.
Norman Maurer wrote:
> BTW, after think a bit about this there is no need for implemt
> ConnectionHandler on this type of check. Cause the "error code" get
> returned on RCPT.. So it whould be enought to implement CommandHandler.
> 
> Any thoughts ?

Right,

I think that every autorization/relay check should be done only in the 
first rcpt and only if the relaying check is really needed.

Stefano

> Am Sonntag, den 16.07.2006, 12:43 -0700 schrieb Norman Maurer (JIRA):
>>      [ http://issues.apache.org/jira/browse/JAMES-567?page=all ]
>>
>> Norman Maurer updated JAMES-567:
>> --------------------------------
>>
>>     Attachment: rbl.patch
>>
>> Ok here is the patch to use the new api.. Let me know what you think about
>>
>>> Convert DNSRBLHandler to use the new smtp-fast-fail-api
>>> -------------------------------------------------------
>>>
>>>                 Key: JAMES-567
>>>                 URL: http://issues.apache.org/jira/browse/JAMES-567
>>>             Project: James
>>>          Issue Type: Improvement
>>>            Reporter: Norman Maurer
>>>         Assigned To: Norman Maurer
>>>         Attachments: rbl.patch
>>>
>>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org