AnsweredAssumed Answered

Outbound E-mail Configuration para Outlook, ERROR: Client does not have permissions

Question asked by magarcia_sm on Jan 21, 2016
Latest reply on Jun 13, 2018 by willyguevara
Hola a todos,

Estoy teniendo problemas a la hora de configurar un servidor de correo con Outlook en un Alfresco 3.4
El archivo que estoy modificando es el siguiente:
"tomcat/shared/classes/alfresco/extension/custom-repository.properties"
Ya había configurado anteriormente este archivo para otros servidores de correo sin ningún problema.

La configuración que estoy utilizando es la siguiente:


# Email configuration
mail.from.default=********@********
mail.host=smtp.office365.com
mail.port=587
mail.protocol=smtp
mail.username=*********@*********
mail.password=**********
mail.encoding=iso-8859-1
mail.header=
mail.smtp.starttls.enable=true
mail.smtp.auth=true
mail.smtp.timeout=30000
mail.smtp.debug=true


Y el error que me salta es este:



10:32:00,345 ERROR [org.alfresco.module.veritasEMFRA.actions.MailHTMLActionExecuter] Failed to send email to magarcia@simpl$
org.springframework.mail.MailSendException; nested exception details (1) are:
Failed message 1:
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender

        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275)
        at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1149)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:527)
        at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:388)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:332)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:347)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336)
        at org.alfresco.module.veritasEMFRA.actions.MailHTMLActionExecuter.executeImpl(MailHTMLActionExecuter.java:323)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:592)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:529)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousAct$
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousAction$
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:437)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecu$
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)



La cuenta la he probado y funciona perfectamente.
¿Quizá estoy configurando mal algún parámetro?
¿Outlook necesita una configuración diferente?

Agradezco toda ayuda!

Outcomes