Dear all,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 configuration
mail.host=mail.mydomain.com
mail.port=25
mail.username=none-reply@mydomain.com
mail.password=mypassword
mail.protocol=smtp
mail.smtp.auth=true
mail.from.default=none-reply@mydomain.com
mail.smtp.timeout=30000
mail.smtp.starttls.enable=false
mail.smtp.debug=false
mail.testmessage.send=true
mail.testmessage.to=dong.pt@mydomain.com
mail.testmessage.subject=Outbound SMTP
mail.testmessage.text=The Outbound SMTP email subsystem is working.
email.inbound.enabled=false
imap.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.