*slaps forehead*
Found that item in the svn smtpserver.xml (as linked by Config User Manual) but 
it wasn't there in the downloaded version.
I thought I read over the svn version but it seems I didn't do a good enough 
job.

Thanks.

In terms of loading the custom loader, I created a new class in eclipse. 
Imported the libraries so that it compiled. Copied the .class file to the lib 
directory, added the lib directory to the classpath in the run.sh (:"$REPO"/) 
and added the entry to the wrapper.conf (
wrapper.java.classpath.127=%REPO_DIR%/) just to make sure it was there.
I don't know if you want to follow this up further since the config solved the 
problem.
________________________________________
From: [email protected] [[email protected]] On Behalf Of 
Norman Maurer [[email protected]]
Sent: Wednesday, 23 February 2011 7:14 PM
To: James Users List
Subject: Re: Test Mail Server 3.0-M2 Open Relay delivering locally

Hi there,

I guess only need to set "verifyIdenty" to false in smtpserver.xml to
fix your problem. Anyway how do load your costum
"CoreCmdHandlerLoader" ?

Bye,
Norman


2011/2/23 Russell Mullens <[email protected]>:
> 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]
>
>

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


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

Reply via email to