cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Mail Configuration Failing

johnelle
Champ in-the-making
Champ in-the-making
I am trying to get a new Alfresco working with mail since without mail it doesn't invite anybody to anything.  This should be pretty simple.  I have alfresco-global.properties set as follows
#
# Outbound Email Configuration
#————-
mail.host=outgoing.verizon.net
#mail.port=25
mail.username=<username>
mail.password=<password>
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
mail.smtp.auth=true
This this is the same SMTP server I am talking to for ssmtp on this Ubuntu box.

Notification fails and the log file contains:
at org.alfresco.repo.invitation.site.InviteSender.sendMail(InviteSender.java:117)
    at org.alfresco.repo.invitation.site.SendInviteAction.execute(SendInviteAction.java:82)
    at org.jbpm.graph.def.Action.execute(Action.java:129)
    at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:284)
    … 105 more
Caused by: org.springframework.mail.MailSendException; nested exceptions (1) are:
Failed message 1: com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Authentication Required

    at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:421)
    at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:341)
    at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:356)
    at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345)
    at org.alfresco.repo.action.executer.MailActionExecuter.executeImpl(MailActionExecuter.java:439)
    … 140 more
It looks like an authentication problem but I have authentication set to true and the credentials are correct.  This should work.  Any ideas what to try?
2 REPLIES 2

johnelle
Champ in-the-making
Champ in-the-making
And I tried it on Windooz and I get exactly the same results with both of the SMTP servers that I can talk to.  I also toggled "auth" true/false to see if I was missing something.  It appears that for some reason the properties file isn't having any affect (?)

jammy
Champ in-the-making
Champ in-the-making
I have exactly the same problem, running Alfresco 3.4.d on Ubuntu. Seems no matter what I do with the alfresco-global.properties file (located - tomcat/shared/classes) I always get an error returned from my SMTP host (mailhop.org) with error code 550. I've sent an email through telnet and received that OK, so it is definitely a problem with Alfresco. This is trying to send a test message using the following properties:

mail.testmessage.send=true
mail.testmessage.to=XXX
mail.testmessage.subject=Outbound SMTP
mail.testmessage.text=The Outbound SMTP email subsystem is working.
The only thing I can think of now that could be causing the issue is that the domain of the computer isn't the same as the domain within the email addresses being used.

Anyone have any ideas?