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 Hendrik Dev <he...@gmail.com> on 2014/08/05 18:56:23 UTC

Fake imap and smtp server

Hi,

for apache geronimo javamail tests i am looking for  fake imap, pop3
and smtp servers.
Hupa mentioned such fake servers on the website. If there is anything
within the james world which can be useful validating the javamail
imap/pop3/smtp impl would be great. Maybe james itself can serve in
untittests but thats a little bit like "using a sledge-hammer to crack
a nut" i guess.

Thanks
Hendrik

-- 
Hendrik Saly (salyh, hendrikdev22)
@hendrikdev22
PGP: 0x22D7F6EC

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


Re: Fake imap and smtp server

Posted by Eric Charles <er...@apache.org>.
If you want to construct a specific protocol server by hand, you can see
example in [1] or [2]

If you want a full james operational server, have a look at [3]

James trunk is now based on geronimo-javamail_1.4 version 1.8.3. It was
reported from time to timoe issues with IMAP authentication and SMTP
without I must admit any reproducable test.

Good that you are now working on geronimo jvaamail upgrade to 1.5
(following you working on geronimo mailing list).

[1]
https://svn.apache.org/repos/asf/james/server/trunk/protocols/protocols-pop3/src/test/java/org/apache/james/pop3server/POP3ServerTest.java

[2]
https://svn.apache.org/repos/asf/james/server/trunk/protocols/protocols-smtp/src/test/java/org/apache/james/smtpserver/SMTPServerTest.java

[3]
https://svn.apache.org/repos/asf/james/server/trunk/app/src/test/java/org/apache/james/app/spring/JamesAppSpringMainTest.java

On 08/05/2014 06:56 PM, Hendrik Dev wrote:
> Hi,
> 
> for apache geronimo javamail tests i am looking for  fake imap, pop3
> and smtp servers.
> Hupa mentioned such fake servers on the website. If there is anything
> within the james world which can be useful validating the javamail
> imap/pop3/smtp impl would be great. Maybe james itself can serve in
> untittests but thats a little bit like "using a sledge-hammer to crack
> a nut" i guess.
> 
> Thanks
> Hendrik
> 

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