AnsweredAssumed Answered

Intermittent problems with inbound email

Question asked by hratly on Feb 10, 2012
Latest reply on Oct 29, 2014 by gody01
Hi

We have made a couple experimentation with Alfresco 4.0d in our compagny and we are globally quite pleased with the product so far. There's only one problem that I can't fix and I can't seem to put down my finger on it. I configure a space to receive inbound emails from a specific email adress inside our organisation. The configuration seems to work because my space receive approximatly 30% of the emails that it is supposed to receive. Also, in my alfresco.log file, I receive continuously the following error :

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)

Voici ma configuration email dans alfresco-global.properties :

#
# 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=.*

Does someone has any idea what this error is refering to? I have searched quite a bit on google and I could not find anything related to this.

Thanks!

Outcomes