[Alfresco 5.0.a] Can't send invitation email but can send the test SMTP mail
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2014 03:53 AM
Dear all,
I tried to follow the setting guide on wiki to set the mail configuration is as below:
I can receive the testing email when server is starting up to dong.pt@mydomain.com but I can't receive the invitation message when I try to invite to the same email address. The error log is as below:
Please help me to solve this issue.
I tried to follow the setting guide on wiki to set the mail configuration is as below:
### E-mail site invitation setting ###notification.email.siteinvite=true# Outbound email configurationmail.host=mail.mydomain.commail.port=25mail.username=none-reply@mydomain.commail.password=mypasswordmail.protocol=smtpmail.smtp.auth=truemail.from.default=none-reply@mydomain.commail.smtp.timeout=30000mail.smtp.starttls.enable=falsemail.smtp.debug=falsemail.testmessage.send=truemail.testmessage.to=dong.pt@mydomain.commail.testmessage.subject=Outbound SMTPmail.testmessage.text=The Outbound SMTP email subsystem is working.email.inbound.enabled=falseimap.server.enabled=false
I can receive the testing email when server is starting up to dong.pt@mydomain.com but I can't receive the invitation message when I try to invite to the same email address. The error log is as below:
2014-08-17 05:19:54,152 ERROR [action.executer.MailActionExecuter] [http-bio-8085-exec-1] Failed to send email to dong.pt@mydomain.com org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 501 5.7.1 <admin@alfresco.com>… Permission denied; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 501 5.7.1 <admin@alfresco.com>… Permission denied; message exception details (1) are:Failed message 1:com.sun.mail.smtp.SMTPSendFailedException: 501 5.7.1 <admin@alfresco.com>… Permission denied; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 501 5.7.1 <admin@alfresco.com>… Permission denied at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2202) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1693) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1194) at org.alfresco.repo.mail.AlfrescoJavaMailSender$PooledTransportWrapper.sendMessage(AlfrescoJavaMailSender.java:165) at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:416)….
Please help me to solve this issue.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2014 10:32 PM
Honestly I tried some ways but still don't know how to make the part of log file appears in my post

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2014 01:14 PM
Your email server (mail.mydomain.com) is probably not allowing mail to be sent from a different account although its not reported that error clearly.
So its a permissions thing on your email server - not alfresco.
a) you should probably connect with a real account for username/password. Connecting as "none-reply" is bonkers!
b) you may need to set mail.from.enabled = false on alfresco if you can't change the config of mail.mydomain.com
So its a permissions thing on your email server - not alfresco.
a) you should probably connect with a real account for username/password. Connecting as "none-reply" is bonkers!
b) you may need to set mail.from.enabled = false on alfresco if you can't change the config of mail.mydomain.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2014 11:41 PM
Hi mrogers,
Thanks for your reply to a fresh guy with Alfresco Community like me
All my above email credentials are existing and accessible. I think the main questions here are:
- why Alfresco Community can send the test message but can't send the invitation message to the same account?
- What side raised "Permission deny" error - Alfresco Community or my email server?
Please help.
Thanks for your reply to a fresh guy with Alfresco Community like me

- why Alfresco Community can send the test message but can't send the invitation message to the same account?
- What side raised "Permission deny" error - Alfresco Community or my email server?
Please help.
