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/08/28 17:32:01 UTC
Re: [jira] Commented: (JAMES-597) Add rcpthandler to map virtual
users before call ValidRcptHandler
I don't think that its a good idea to do the mapping in fastfail. I
think the best way at the moment whould be to check for valid mappings
only.
bye
Norman
Am Montag, den 28.08.2006, 05:53 -0700 schrieb Noel J. Bergman (JIRA):
> [ http://issues.apache.org/jira/browse/JAMES-597?page=comments#action_12430969 ]
>
> Noel J. Bergman commented on JAMES-597:
> ---------------------------------------
>
> Some caveats:
>
> 1) We want to support multiple virtual user table implementations, as we do with the mailets. Two options would be: (a) a single Command Handler told which implementation to use, to which it would have to pass the configuration; (b) separate implementations, with a shared base, just as we have for mailets. The latter seems cleaner.
> 2) There are legitimate use cases for having more than one of these in the handler chain.
> 3) When we generate the Received: header for the message, it should have the ORIGINAL receipients as specified by the RCPT command, not the mapped results.
> 4) Please do note that the target string from the mapper can have error:, regex:, etc., not just a simple address.
>
> > Add rcpthandler to map virtual users before call ValidRcptHandler
> > -----------------------------------------------------------------
> >
> > Key: JAMES-597
> > URL: http://issues.apache.org/jira/browse/JAMES-597
> > Project: James
> > Issue Type: Sub-task
> > Components: SMTPServer
> > Reporter: Norman Maurer
> > Assigned To: Norman Maurer
> >
> > We should create an rcpt handler which do the mapping of virtual users before call the ValidRcptHandler. This will bring us also the advance that we not need to map the users later again with a mailet.
>
RE: [jira] Commented: (JAMES-597) Add rcpthandler to map virtualusers before call ValidRcptHandler
Posted by "Noel J. Bergman" <no...@devtech.com>.
> I don't think that its a good idea to do the mapping in fastfail. I
> think the best way at the moment whould be to check for valid mappings
> only.
Why?
Regardless, we still need to make sure that we don't assume that something
like:
error:550 Requested action not taken: no such user here
is not mistaken for a virtual user mapping.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org