Simple Mail Configuration Failing
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2010 10:53 AM
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
Notification fails and the log file contains:
#This this is the same SMTP server I am talking to for ssmtp on this Ubuntu box.
# 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
Notification fails and the log file contains:
at org.alfresco.repo.invitation.site.InviteSender.sendMail(InviteSender.java:117)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?
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
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2010 04:13 PM
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 (?)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2011 01:31 PM
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:
Anyone have any ideas?
mail.testmessage.send=truemail.testmessage.to=XXXmail.testmessage.subject=Outbound SMTPmail.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?
