Sending email Alfresco 6.2

cancel
Showing results for 
Search instead for 
Did you mean: 
jardelucio
Active Member

Sending email Alfresco 6.2

Hey guys!

I'm using an alfresco-content-community image; 6.2.0. And I need to configure to send email. I know that to do this I need to edit the alfresco-global.properties file, but when I find this file it is empty. I have two questions, which are as follows:

1) How can I edit or create this file and thus be able to send emails?
2) How can I unlock the alfresco-global.properties file in order to edit it?

I'm submitting the contents of docker-compose.yml below for analysis.

Thanks!

# This docker-compose file will spin up an ACS cluster on a local host or on a server and it requires a minimum of 12GB Memory to distribute among containers.
# Limit container memory and assign X percentage to JVM. There are couple of ways to allocate JVM Memory for ACS Containers
# For example: 'JAVA_OPTS: "$JAVA_OPTS -XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap"'
# See Oracle docs
# If the container memory is not explicitly set then the flags above will set the max heap default to 1/4 of the container's memory, which may not be ideal.
# For performance tuning, assign the container memory and give a percentage of it to the JVM.

# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"

services:
alfresco:
image: alfresco/alfresco-content-repository-community:6.2.0-ga
mem_limit: 1500m
environment:
JAVA_OPTS: "
-Ddb.driver=org.postgresql.Driver
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.url=jdbcSmiley Tongueostgresql://postgres:5432/alfresco
-Dsolr.host=solr6
-Dsolr.port=8983
-Dsolr.secureComms=none
-Dsolr.base.url=/solr
-Dindex.subsystem.name=solr6
-Dshare.host=127.0.0.1
-Dshare.port=8080
-Dalfresco.host=localhost
-Dalfresco.port=8080
-Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
-Dmessaging.broker.url=\"failoverSmiley Sadnio://activemq:61616)?timeout=3000&jms.useCompression=true\"
-Ddeployment.method=DOCKER_COMPOSE

-Dlocal.transform.service.enabled=true
-DlocalTransform.pdfrenderer.url=http://alfresco-pdf-renderer:8090/
-DlocalTransform.imagemagick.url=http://imagemagick:8090/
-DlocalTransform.libreoffice.url=http://libreoffice:8090/
-DlocalTransform.tika.url=http://tika:8090/
-DlocalTransform.misc.url=http://transform-misc:8090/

-Dlegacy.transform.service.enabled=true
-Dalfresco-pdf-renderer.url=http://alfresco-pdf-renderer:8090/
-Djodconverter.url=http://libreoffice:8090/
-Dimg.url=http://imagemagick:8090/
-Dtika.url=http://tika:8090/
-Dtransform.misc.url=http://transform-misc:8090/

-Dcsrf.filter.enabled=false
-Xms1500m -Xmx1500m
"

alfresco-pdf-renderer:
image: alfresco/alfresco-pdf-renderer:2.1.0
mem_limit: 1g
environment:
JAVA_OPTS: " -Xms256m -Xmx512m"
ports:
- 8090:8090

imagemagick:
image: alfresco/alfresco-imagemagick:2.1.0
mem_limit: 1g
"docker-compose.yml" [noeol] 154L, 5610C

7 Replies
cristinamr
Advanced

Re: Sending email Alfresco 6.2

Hi!

Check this post, you have there everything explained.

Cheers,

Cristina.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
angelborroy
Alfresco Employee

Re: Sending email Alfresco 6.2

You can add your email configuration to JAVA_OPTS section

services:
  alfresco:
    environment:
      JAVA_OPTS: ""
Hyland Developer Evangelist
jardelucio
Active Member

Re: Sending email Alfresco 6.2

Hi!

I entered the email settings in docker-compose, and since then I can't authenticate anymore, the message "Your authentication details were not recognized or Alfresco Content Services is not currently available" appears. How can I check the logs for the cause of this message?



 
cristinamr
Advanced

Re: Sending email Alfresco 6.2

Hi jardelucio

Go to your Alfresco docker installation path (e.g.: /opt/alfresco) and launch:

sudo docker-compose --tail=500 alfresco

Let us know what do you have.

Cheers.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
jardelucio
Active Member

Re: Sending email Alfresco 6.2

Thanks !

jardelucio
Active Member

Re: Sending email Alfresco 6.2

Does this command show me the error logs? I got no response from this command.

cristinamr
Advanced

Re: Sending email Alfresco 6.2

Did you went to your Alfresco root path installation before to execute it?

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc