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

mrogers
Star Contributor
Star Contributor
Well that's the first time I've seen that error reported in the forums.   What email server are you sending to.

pzystorm
Champ in-the-making
Champ in-the-making
Ah, sorry, I can make a topic in the JIRA, too, if u want. I have just seen this topic and first I wanted to clearify if thats really a bug.

We use the Oracle Communications Messaging Server, but it allows definitely an unauthorized mail submission (at least from our Alfresco servers).

resplin
Elite Collaborator
Elite Collaborator
I did a search but didn't see an issue that matches these symptoms. Will you please log an issue and post the bug number here so that we can follow it?

I am especially interested in fsasse's logs since he has 4.2.f working in the same environment that 5.0.a fails.

Thank you.

pzystorm
Champ in-the-making
Champ in-the-making
https://issues.alfresco.com/jira/browse/ALF-21083

btw: i hate JIRA Smiley Sad Smiley Sad
Please correct the monospace thing… it seems that I cannot edit it.

cibex
Champ in-the-making
Champ in-the-making
Hi,

we have the same issue on all new installed 5.0.a versions sending via Exchange.
  2014-09-04 11:53:32,250  ERROR [action.executer.MailActionExecuter] [localhost-startStop-1] Failed to send email to test@cibex.net
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: No authentication mechanisms supported by both server and client

Sending mails via telnet is working properly, so I assume this ist related to Alfresco only and has nothing to do with Exchange settings. However it might be possible to find a workaround in Exchange (Authentication) to get the outbound mail system running.


Just posted this to let you know there are more people with this problem.

kr
Josef

mrogers
Star Contributor
Star Contributor
A wireshark or similar capture of the SMPT connection may help in nailing down what is going wrong.   If anyone can do that then please attach to the JIRA.   Thanks.

cibex
Champ in-the-making
Champ in-the-making
The 2 important lines are the fin packet of the alfresco server after the "Hello" packet of the mail server (exported as csv):

"7","0.083244","172.23.0.64","172.23.128.113","SMTP","245","S: 250-mail.myserver.com Hello [172.23.128.113] | 250-SIZE 10485760 | 250-PIPELINING | 250-DSN | 250-ENHANCEDSTATUSCODES | 250-STARTTLS | 250-AUTH | 250-8BITMIME | 250-BINARYMIME | 250 CHUNKING"
"8","0.083864","172.23.128.113","172.23.0.64","TCP","66","53661 > smtp [FIN, ACK] Seq=20 Ack=268 Win=15744 Len=0 TSval=2049576232 TSecr=44866352"


There is no other useful information in the wireshark log.

Do you want me to upload these 2 lines to JIRA?

legaulois
Champ on-the-rise
Champ on-the-rise
Hello,

i get the same error (Installation on CentOS or MS Server 2008). The mail server is Exchange. Impossible to send a mail from Alfresco.

Regards,

cibex
Champ in-the-making
Champ in-the-making
just to make this clear, there is no problem sending via telnet (with and without authentication) from the Alfresco server

mrogers
Star Contributor
Star Contributor
The email authentication issue with auth=false should be fixed in 5.0.b. Thanks to all those who helped narrow it down.