<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Outbound email Alfresco 6.1 Docker in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/outbound-email-alfresco-6-1-docker/m-p/97497#M28522</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use ACS Community 201901 on ubuntu docker with docker compose.&lt;/P&gt;&lt;P&gt;Description: Ubuntu 16.04.5 LTS&lt;BR /&gt;Release: 16.04&lt;BR /&gt;Codename: xenial&lt;/P&gt;&lt;P&gt;I use a volume to overload alfresco_global properties.&lt;/P&gt;&lt;P&gt;volumes:&lt;/P&gt;&lt;P&gt;- ./config/alfresco-global.properties:/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;/P&gt;&lt;P&gt;alfresco-global.properties :&lt;/P&gt;&lt;P&gt;mail.smtp.auth=true&lt;BR /&gt;mail.host=mail.***.fr&lt;BR /&gt;mail.port=26&lt;BR /&gt;mail.smtp.auth=true&lt;BR /&gt;mail.username=****@**&lt;BR /&gt;mail.password=*****&lt;BR /&gt;mail.encoding=UTF-8&lt;BR /&gt;mail.smtp.timeout=30000&lt;BR /&gt;mail.smtp.debug=true&lt;BR /&gt;mail.protocol=smtp&lt;BR /&gt;mail.smtp.starttls.enable=false&lt;/P&gt;&lt;P&gt;The log I get :&lt;/P&gt;&lt;P&gt;Failed to send email to ulrich.julien@rainbow-integration.fr : org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;BR /&gt;alfresco_1 | ;&lt;BR /&gt;alfresco_1 | nested exception is:&lt;BR /&gt;alfresco_1 | com.sun.mail.smtp.SMTPSenderFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;BR /&gt;alfresco_1 | ; message exceptions (1) are:&lt;BR /&gt;alfresco_1 | Failed message 1: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;BR /&gt;alfresco_1 | ;&lt;BR /&gt;alfresco_1 | nested exception is:&lt;BR /&gt;alfresco_1 | com.sun.mail.smtp.SMTPSenderFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;/P&gt;&lt;P&gt;I use the same outbound e-mail configuration on Alfresco 5.2 and it works perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2020 10:24:02 GMT</pubDate>
    <dc:creator>ulrichj</dc:creator>
    <dc:date>2020-01-06T10:24:02Z</dc:date>
    <item>
      <title>Outbound email Alfresco 6.1 Docker</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/outbound-email-alfresco-6-1-docker/m-p/97497#M28522</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use ACS Community 201901 on ubuntu docker with docker compose.&lt;/P&gt;&lt;P&gt;Description: Ubuntu 16.04.5 LTS&lt;BR /&gt;Release: 16.04&lt;BR /&gt;Codename: xenial&lt;/P&gt;&lt;P&gt;I use a volume to overload alfresco_global properties.&lt;/P&gt;&lt;P&gt;volumes:&lt;/P&gt;&lt;P&gt;- ./config/alfresco-global.properties:/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;/P&gt;&lt;P&gt;alfresco-global.properties :&lt;/P&gt;&lt;P&gt;mail.smtp.auth=true&lt;BR /&gt;mail.host=mail.***.fr&lt;BR /&gt;mail.port=26&lt;BR /&gt;mail.smtp.auth=true&lt;BR /&gt;mail.username=****@**&lt;BR /&gt;mail.password=*****&lt;BR /&gt;mail.encoding=UTF-8&lt;BR /&gt;mail.smtp.timeout=30000&lt;BR /&gt;mail.smtp.debug=true&lt;BR /&gt;mail.protocol=smtp&lt;BR /&gt;mail.smtp.starttls.enable=false&lt;/P&gt;&lt;P&gt;The log I get :&lt;/P&gt;&lt;P&gt;Failed to send email to ulrich.julien@rainbow-integration.fr : org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;BR /&gt;alfresco_1 | ;&lt;BR /&gt;alfresco_1 | nested exception is:&lt;BR /&gt;alfresco_1 | com.sun.mail.smtp.SMTPSenderFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;BR /&gt;alfresco_1 | ; message exceptions (1) are:&lt;BR /&gt;alfresco_1 | Failed message 1: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;BR /&gt;alfresco_1 | ;&lt;BR /&gt;alfresco_1 | nested exception is:&lt;BR /&gt;alfresco_1 | com.sun.mail.smtp.SMTPSenderFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)&lt;/P&gt;&lt;P&gt;I use the same outbound e-mail configuration on Alfresco 5.2 and it works perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 10:24:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/outbound-email-alfresco-6-1-docker/m-p/97497#M28522</guid>
      <dc:creator>ulrichj</dc:creator>
      <dc:date>2020-01-06T10:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound email Alfresco 6.1 Docker</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/outbound-email-alfresco-6-1-docker/m-p/97498#M28523</link>
      <description>&lt;P&gt;Alfresco will use the local host name / address to announce itself to the mail server via HELO. In a Docker environment, this will be some arbitrary, Docker-internal address. If your email server is configured to validate the sender host identity, it may fail and thus reject the sender. Alfresco does not provide a default configuration property to specify an alternative name (e.g. the Docker host's name) instead. But it is technically possible to configure a proper host name - it requires that the javaMailProperties (&lt;A href="https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml#L30" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml#L30&lt;/A&gt;) be extended with a "mail.smtp.localhost" entry, which specifies the effective name to use for announcing Alfresco via HELO.&lt;/P&gt;
&lt;P&gt;Alternatively, one might relax the HELO validation on the mail server, or use a relay / proxy on the Docker host instead of connecting directly.&lt;/P&gt;

&lt;P&gt;It might be worth creating a JIRA for Alfresco to add such a configuration option by default. Apparently no one else so far encountered this kind of issue, which is actually quite natural for this new default Docker-deployment method.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 12:47:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/outbound-email-alfresco-6-1-docker/m-p/97498#M28523</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2020-01-06T12:47:56Z</dc:date>
    </item>
  </channel>
</rss>

