AnsweredAssumed Answered

Outbound SMTP in email subsystem

Question asked by loftux Moderator on Jun 9, 2010
Latest reply on Feb 18, 2014 by billerby
In sample configuration for alfresco-global.properties there is a setting for mail.smpt.auth, this is never taken into account since in the file
WEB-INF\classes\alfresco\subsystem\email\OutboundSMTP\outboundSMTP-context.xml
the key is define as mail.smtps.auth (note the additional s).

This has already been filed as a case by a "Cristian"
https://issues.alfresco.com/jira/browse/ALF-2688
Following this (changing to mail.smtp.auth in outboundSMTP-context.xml ), my smtp sending problems are resolved.

To fix this for 3.3 community, I wanted to create a subsystem override instead of editing default config file, and created
tomcat/shared/classes/alfresco/extension/subsystems/email/outbound/default/outboundSMTP-context.xml
(also tried tomcat/shared/classes/alfresco/extension/subsystems/email/OutboundSTMP/default/outboundSMTP-context.xml).
Property changes still in alfresco-global.properties.

Questions:
-Did I get the subsystems paths/override correctly? The new file doesn't get picked up.
-What is the proper javaMail key? mail.smtp.auth or mail.smtps.auth? Would it be possible to have both in outboundSMTP-context.xml, and depending of whether you want SSL or not set one or the other to true? I will amend any response I get here to the case.

Outcomes