Hey guys,

I have been using 2.3.2 to accept email from anyone and deliver it to a single 
James users inbox for testing purposes. But I've recently needed IMAP support.

So I downloaded the latest (3.0-M2) and I've been able to configure it to 
deliver all messages to the one persons inbox via
       <mailet match="All" class="Forward">
           <forwardto>red@localhost</forwardto>
       </mailet>
But I am unable to work out a way to let me send an email from [email protected] to 
[email protected]

I've looked at the smtpserver.xml to note that 
org.apache.james.smtpserver.CoreCmdHandlerLoader seems to load all of the 
responsibilities.
When looking into this class I seen that it has a 
org.apache.james.smtpserver.SenderAuthIdentifyVerificationRcptHook which I 
think is doing the blocking.

So I went and created a new class that does everything that 
CoreCmdHandlerLoader does, but without the 
SenderAuthIdentifyVerificationRcptHook.
In this case James does a handler lookup for EHLO but nothing else happens. 
(Even when sending from red@localhost).

I tried to write out manually each Hook/Command inside the <handlerchain> of 
<smtpserver> but I still end up with the same sort of processing.

My custom class is loading ok (see some output in the debug window) but it 
doesn't seem to be registering the Hooks/Handlers.
Even when I just extend the class and add no additional functionality, sending 
emails from red@localhost it doesn't accept the email.


Is there a way I can configure James to let it process emails coming from 
anywhere?
I had a look at the domain list but it doesn't allow you to specify *.
Any thoughts why extending CoreCmdHandlerLoader breaks the mail sending?

Regards,
Russell
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to