As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi, i need your help to configure outbound email in alfresco community 6.2 docker intallation.
who have some tutorial to send me the link please.
In advance thank you.
You can add following properties in docker-compose for alfresco service. Check the docs here : https://docs.alfresco.com/content-services/latest/config/email/
-Dmail.host=smtphost -Dmail.port=25 -Dmail.username=anonymous -Dmail.password= -Dmail.protocol=smtp -Dmail.smtps.starttls.enable=false -Dmail.smtps.auth=false SAMPLE DOCKER COMPOSE: https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose-v3.yml#L47
Make sure host and port is accessible and open to use
Additionally, if you are maintaining the properties in alfresco-global.properties then you can add the above properties in there as well. You need to make sure the global properties is copied everytime you restart the containers, anychanges made to global properties on container level may be lost on restart and relaunch.
You can make use of DockerFile and docker-compose in combination to copy the global properties file when image is build and container is launched.
Sample use :
https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose-v3.yml#L9
https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/alfresco/Dockerfile#L47
https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/alfresco/alfresco-global.properties
You can also use this tool to generate a docker-compose with smtp configs, or at least take reference from the generated docker compose file:
https://github.com/Alfresco/alfresco-docker-installer
Hi, thank you for your help,
Sorry i am new with alfresco and sorry for my English.
I use this in my docker-compose.yml file and i restart de alfresco docker but the email not work when i create task
-Dmail.host=smtp.gmail.com -Dmail.port=465 -Dmail.username=marcos******@gmail.com -Dmail.password=*************** -Dmail.protocol=smtp -Dmail.smtps.starttls.enable=false -Dmail.smtps.auth=false
Please help me to solve this problem.
Hi @marcosfgo25
Have you tried the following:
-Dmail.protocol=smtps -Dmail.smtps.starttls.enable=true -Dmail.smtps.auth=true
In the documentation it suggests the following config for Gmail:
# Sample Gmail settings mail.host=smtp.gmail.com mail.port=465 [email protected] mail.password=password mail.protocol=smtps mail.smtps.starttls.enable=true mail.smtps.auth=true
HTH
i did all this but email not working.
I have one con job with email configuration and its work good but my alfresco configuration not work.