02-10-2012 02:07 PM
2012-02-10 13:52:09,074 ERROR [smtp.server.Session] [org.subethamail.smtp.server.Session-] Unexpected error in the SMTP handler thread
java.lang.NullPointerException
at org.alfresco.email.server.EmailServer.filterSender(EmailServer.java:215)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer.access$200(SubethaEmailServer.java:52)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.from(SubethaEmailServer.java:157)
at org.subethamail.smtp.command.MailCommand.execute(MailCommand.java:84)
at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:27)
at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:98)
at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:222)
at org.subethamail.smtp.server.Session.run(Session.java:125)
Exception in thread "org.subethamail.smtp.server.Session-/132.203.244.21:12713" java.lang.NullPointerException
at org.alfresco.email.server.EmailServer.filterSender(EmailServer.java:215)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer.access$200(SubethaEmailServer.java:52)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.from(SubethaEmailServer.java:157)
at org.subethamail.smtp.command.MailCommand.execute(MailCommand.java:84)
at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:27)
at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:98)
at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:222)
at org.subethamail.smtp.server.Session.run(Session.java:125)
#
# Outbound Email Configuration
#————-
mail.host=our SMTP server
mail.port=25
mail.from.default=a non-existing local adress
#
# Alfresco Email Service and Email Server
#————-
# Enable/Disable the inbound email service. The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
email.inbound.enabled=true
# Email Server properties
#————-
email.server.enabled=true
email.server.port=25
email.server.domain=[i]our serveur domain[/i]
email.inbound.unknownUser=anonymous
email.server.hideTLS=false
email.server.enableTLS=true
email.server.requireTLS=false
# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
# .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
email.server.allowed.senders=.*
02-10-2012 04:41 PM
02-10-2012 05:31 PM
02-13-2012 09:55 AM
I've just reviewed the code and it looks like yours is a different issue.
In particular I suspect there's something other than an internet address in the SMTP FROM field.
If you turn the following debug logger on then that should make things clear:
log4j.logger.org.subethamail.smtp.server.ConnectionHandler=debug
06-05-2012 04:14 PM
# Notifications
# ————-
activities.feed.notifier.enabled=true
activities.feed.notifier.repeatIntervalMins=1440
#
# Outbound Email Configuration
#————-
#mail.host=
#mail.port=25
#mail.username=anonymous
#mail.password=
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
#mail.smtp.auth=false
mail.host=127.0.0.1
mail.encoding=UTF-8
mail.from.default=no-reply@<our.domain.net>
mail.testmessage.send=true
mail.testmessage.to=admin@<domain.net>
mail.testmessage.subject=<our.domain.net> outbound SMTP
mail.testmessage.text=Outbound SMTP on <our.domain.net> is working
log4j.logger.org.subethamail.smtp.server.ConnectionHandler=debug
#
# Alfresco Email Service and Email Server
#————-
# Enable/Disable the inbound email service. The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true
email.inbound.enabled=true
# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous
email.server.enabled=true
email.server.port=25252
email.server.domain=<our.domain.net>
email.inbound.unknownUser=anonymous
# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
# .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*
email.server.allowed.senders=.*
06-06-2012 06:37 PM
04-02-2013 11:26 AM
2013-04-02 16:53:56,501 DEBUG [smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.74.1:38205] SMTP connection from 192.168.74.1/192.168.74.1, new connection count: 1
2013-04-02 16:53:56,501 DEBUG [smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.74.1:38205] Server: 220 doc.xxxxxx.xxx ESMTP SubEthaSMTP 3.1.6
2013-04-02 16:53:56,502 DEBUG [smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.74.1:38205] Client: EHLO machine.abc.xxx
2013-04-02 16:53:56,502 DEBUG [smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.74.1:38205] Server: 250-doc.xxxxxx.xxx
250-8BITMIME
250-AUTH PLAIN LOGIN
250 Ok
2013-04-02 16:53:56,503 DEBUG [smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.74.1:38205] Client: MAIL FROM:<>
2013-04-02 16:53:56,503 ERROR [smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.74.1:38205] Unexpected error in the SMTP handler thread
java.lang.NullPointerException
at org.alfresco.email.server.EmailServer.filterSender(EmailServer.java:215)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer.access$200(SubethaEmailServer.java:52)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.from(SubethaEmailServer.java:157)
at org.subethamail.smtp.command.MailCommand.execute(MailCommand.java:84)
at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:27)
at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:98)
at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:222)
at org.subethamail.smtp.server.Session.run(Session.java:125)
2013-04-02 16:53:56,503 DEBUG [smtp.server.Session] [org.subethamail.smtp.server.Session-/192.168.74.1:38205] Server: 421 4.3.0 Mail system failure, closing transmission channel
Exception in thread "org.subethamail.smtp.server.Session-/192.168.74.1:38205" java.lang.NullPointerException
at org.alfresco.email.server.EmailServer.filterSender(EmailServer.java:215)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer.access$200(SubethaEmailServer.java:52)
at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.from(SubethaEmailServer.java:157)
at org.subethamail.smtp.command.MailCommand.execute(MailCommand.java:84)
at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:27)
at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:98)
at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:222)
at org.subethamail.smtp.server.Session.run(Session.java:125)
08-30-2013 02:14 AM
08-30-2013 09:05 AM
08-30-2013 11:00 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.