Declare in your pom project apache-james-mailbox-spring and exclude from it protocols-imap-*, james-server-protocols-pop3 and any mailbox component you don't need (could be jpa or maildir).

Copy the needed jpa, spring and conf files [1] in your classpath and deactivate in imapserver.xml and pop3server.xml the servers (type enabled="false" - you will have to create those files from the provided templates).

Look at [2] to launch James.

Thx, Eric

[1] https://svn.apache.org/repos/asf/james/app/trunk/src/main/resources
[2] https://svn.apache.org/repos/asf/james/app/trunk/src/main/java/org/apache/james/app/spring/JamesAppSpringMain.java

On 31/10/2012 20:02, Alan Mehio wrote:
I am trying to use only the smpt server from james as an embeded smtp
server. It will be great it I can get any feedback in regards to this
subject.
I have managed to build James from scratch and debug from eclipse. I want
to use the SMTP part only.

Let me know about your comments

Regards,
Alan Mehio


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

Reply via email to