cancel
Showing results for 
Search instead for 
Did you mean: 

Email Inbound Config

newmember
Champ in-the-making
Champ in-the-making
I think I have the config setup properly, but here is my error:

15:02:44,411  ERROR [impl.subetha.SubethaEmailServer]
java.lang.NullPointerException
        at org.alfresco.email.server.impl.subetha.SubethaEmailMessage.encodeSubj
ect(SubethaEmailMessage.java:422)
        at org.alfresco.email.server.impl.subetha.SubethaEmailMessage.processMim
eMessage(SubethaEmailMessage.java:156)
        at org.alfresco.email.server.impl.subetha.SubethaEmailMessage.<init>(Sub
ethaEmailMessage.java:113)
        at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.pro
cessDelivery(SubethaEmailServer.java:191)
        at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.dat
a(SubethaEmailServer.java:134)
        at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:56)

        at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandl
er.java:58)
        at org.subethamail.smtp.server.ConnectionHandler.run(ConnectionHandler.j
ava:113)


The Alfresco wiki for this topic is reference to support 2.2 and 2.9.
I am using version 3.2r2
http://wiki.alfresco.com/wiki/Inbound_SMTP_Email_Server_Configuration
The wiki refers to using <ext-config>/alfresco/extension/custom-email-server.properties but I believe the intent is to use alfresco-global.properties


My config settings:

added user "fax"
added user "fax" to group EMAIL_CONTRIBUTORS
added alias "fax" to a space "fax"
Company Home > User Homes > fax

Send an email to "fax@alrescoserver.local

#
# 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=alfresco.com
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=.*
2 REPLIES 2

stevericker
Champ in-the-making
Champ in-the-making
I just happened to notice that you've configured the email domain as "alfresco.com"

     email.server.domain=alfresco.com

but your email is sent to something else (like "alfrescoserver.local")?

     Send an email to "fax@alrescoserver.local

Maybe the problem is that these are inconsistent?

mrogers
Star Contributor
Star Contributor
Yes you should be updating alfresco-global.properties.    I've just updated the wiki page.