I've enabled the Vibe SMTP server, however it errors when I try to Telnet a test message:
220 vibe.company.com.au ESMTP SubEthaSMTP 3.1.7
mail from: sbryson@company.com.au250 Ok
rcpt to: vibediscussion@vibe.company.com.au
250 Ok
354 End data with <CR><LF>.<CR><LF>
Hello there
421 4.3.0 Mail system failure, closing transmission channel

Connection to host lost.
The catalina log has the following:
Exception in thread "pool-2-thread-1" java.lang.NullPointerException
at org.kablink.teaming.module.mail.impl.DefaultEmailP oster.postMessages(DefaultEmailPoster.java:540)
at org.kablink.teaming.smtp.impl.SMTPManagerImpl$Hand ler.data(SMTPManagerImpl.java:368)
at org.subethamail.smtp.command.DataCommand.execute(D ataCommand.java:64)
at org.subethamail.smtp.server.RequireTLSCommandWrapp er.execute(RequireTLSCommandWrapper.java:30)
at org.subethamail.smtp.server.CommandHandler.handleC ommand(CommandHandler.java:99)
at org.subethamail.smtp.server.Session.runCommandLoop (Session.java:244)
at org.subethamail.smtp.server.Session.run(Session.ja va:145)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

When I look at the java code which I found on github, line 540 in DefaultEmailPoster.java is:
else logger.error("Error posting the message from (4): '" + MimeUtility.decodeText(from.toUnicodeString()) + "', Error: " + exMsg );

I can't work out what's going wrong.
Is it the version of Java? We have 1.7.0_79
I'm running SP4 of Vibe 4.0

Hopefully someone can help.