cancel
Showing results for 
Search instead for 
Did you mean: 

email subsystem not created in 5.0.a community

fsasse
Champ in-the-making
Champ in-the-making
I have a fresh install of Alfresco 5.0.a Community edition running on a Windows Server 2012 R2 64 bit server.
The install works, but we cannot get an email invite to go through on the very first site we create.
I know the Exchange server and relay host are configured correctly, because they relay mail fine from our other 4.2.e Community server.

So, I noticed that *NO* $Alfresco_Home\Tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\email directory was created as part of the install, as was the case in 4.2.e Community.  Should it have been?

My Outbound SMTP settings are pretty basic, with no authentication between Alfresco and the Mail server.
From alfresco-global.properties:

# Outbound Email Configuration
#————-
mail.host=mail-relay-server
mail.port=25
mail.username=root@alfrescoserver
mail.password=
mail.encoding=UTF-8
mail.from.default=alfresco@alfresco.org
mail.smtp.auth=false
mail.smtp.starttls.enable=false

### E-mail site invitation setting ###
notification.email.siteinvite=true

And from alfresco.log:

08:28:22,775 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] [http-apr-80-exec-9] Failed to send email to first.last@companyxyz.com
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: No authentication mechanisms supported by both server and client

Site email invites in the previous version of Alfresco Community (4.2.e/f) worked out of the box.  What am I doing wrong?
   



20 REPLIES 20

cibex
Champ in-the-making
Champ in-the-making
..for those who can´t wait until 5.0.b

Install a local postfix with 3 settings:

    General type of configuration
    -> Satellite system
    System Mail Name
    -> Hostname (FQDN)
    SMTP relay host
    -> [IPorHostnameOfMailServer]

For more specific settings check this file: /etc/postfix/main.cf


These are our config settings for alfresco-global.properties:

mail.from.default=alfresco@companydomain.net
mail.host=127.0.0.1
mail.port=25
mail.protocol=smtp
mail.testmessage.send=true
mail.testmessage.to=my@test.address
mail.testmessage.subject=Alfresco Outbound SMTP started
mail.testmessage.text=The Outbound SMTP email subsystem is working.

Tested successfully with Exchange on different systems.

Hope this is useful for someone.

kr

Josef
Getting started

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.