[opencms-dev] Setup Amazon SES to mail configuration opencms-system.xml

John James Valentine jjvalent at gmail.com
Wed May 12 00:35:40 CEST 2021


You need to delete your access key and secret key since you just shared it
on the internet.

https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html

Thanks,
~John

On Tue, May 11, 2021 at 2:49 PM Ramon Gavira Sáenz <
ramon.gavira at sagasoluciones.com> wrote:

> There is no way!! Sh.t!!
>
>
>
> Case 1:
>
>
>
> <mailhost name="email-smtp.eu-west-1.amazonaws.com" port="587" order="2"
> protocol="smtp" user="AKIAZFGPY4WJBREOHGUL"
> password="yrfihfYS7ddHIh4HgOCCDXf9wQbyLAK413v6EBhH"/>
>
>
>
> Results:
>
>
>
>
>
> Case 2:
>
>
>
> <mailhost name="email-smtp.eu-west-1.amazonaws.com" port="587" order="2"
> protocol="smtp" security="STARTTLS" user="AKIAZFGPY4WJBREOHGUL"
> password="yrfihfYS7ddHIh4HgOCCDXf9wQbyLAK413v6EBhH"/>
>
>
>
> Results:
>
>
>
>
> Damn!
>
>
>
>
>
> *De:* opencms-dev <opencms-dev-bounces at opencms.org> *En nombre de *
> Filip.Kratochvil at ibacz.eu
> *Enviado el:* martes, 11 de mayo de 2021 14:29
> *Para:* The OpenCms mailing list <opencms-dev at opencms.org>
> *Asunto:* Re: [opencms-dev] Setup Amazon SES to mail configuration
> opencms-system.xml
>
>
>
> I'm chenking github and it looks that support was added:
>
>
>
>
> https://github.com/alkacon/opencms-core/blob/a8d245c05c8fd1cca776ed22210e2dea10a1308b/src/org/opencms/mail/CmsMailUtil.java
>
>
> https://github.com/alkacon/opencms-core/blob/a8d245c05c8fd1cca776ed22210e2dea10a1308b/src/org/opencms/mail/CmsMailSettings.java
>
>
>
> Try to set mail config attribute "security" to value "ssl" or "tls"
> (probably "tls").
>
>
>
> I'm curious btw. :)
>
>
> S pozdravem / Kind regards
>
> Filip Kratochvil
> Web & Portal Consultant
>
> IBA CZ, s.r.o.
>
>
>
> -----"opencms-dev" <opencms-dev-bounces at opencms.org> wrote: -----
>
> To: "The OpenCms mailing list" <opencms-dev at opencms.org>
> From: "Ramon Gavira Sáenz"
> Sent by: "opencms-dev"
> Date: 05/11/2021 01:50PM
> Subject: Re: [opencms-dev] Setup Amazon SES to mail configuration
> opencms-system.xml
>
>    1. Thanks!! Amazon SES gives access to this ports:
>
> *SMTP Port*—25, 587, or 2587 (to connect using STARTTLS), or 465 or 2465
> (to connect using TLS Wrapper).
>
>
>
> Can anyone from Alkacon confirm that it’s not possible sending e-mails
> over TLS??
>
>
>
> Thanks!!
>
>
>
>
>
> *De:* opencms-dev <opencms-dev-bounces at opencms.org> *En nombre de *
> Filip.Kratochvil at ibacz.eu
> *Enviado el:* martes, 11 de mayo de 2021 13:45
> *Para:* The OpenCms mailing list <opencms-dev at opencms.org>
> *Asunto:* Re: [opencms-dev] Setup Amazon SES to mail configuration
> opencms-system.xml
>
>
>
> Hello Ramon,
>
>
>
> i'm not 100% sure if that still applies, but as i know OpenCms doesn't
> support sending e-mails over TLS. So you can try connect to Amazon's SMTP
> using different unsecured port (if is it supported).
>
>
>
> Otherwise, OpenCms modification is required.
>
>
> S pozdravem / Kind regards
>
> Filip Kratochvil
> Web & Portal Consultant
>
> IBA CZ, s.r.o.
>
>
>
> -----"opencms-dev" <opencms-dev-bounces at opencms.org> wrote: -----
>
> To: "opencms-dev at opencms.org" <opencms-dev at opencms.org>
> From: "Ramon Gavira Sáenz"
> Sent by: "opencms-dev"
> Date: 05/11/2021 10:48AM
> Subject: [opencms-dev] Setup Amazon SES to mail configuration
> opencms-system.xml
>
> Hello, Does anybody use Amazon SES to send mail in OpenCms?
>
>
>
> How do you configure de mail server in opencms-system.xml config file?
>
>
>
>         <mail>
>
>             <mailfrom>ramon.gavira at outlook.es</mailfrom>
>
>             <mailhost name="email-smtp.eu-west-1.amazonaws.com"
> port="587" order="1" protocol="smtp"  user="*****" password="*****"/>
>
>         </mail>
>
>
>
> I have tried the above, but always got error:
>
>
>
> *Sending the email to the following server failed :
> email-smtp.eu-west-1.amazonaws.com:587
> <http://email-smtp.eu-west-1.amazonaws.com:587>*
>
>
>
> * 220 Ready to start TLS Could not convert socket to TLS No appropriate
> protocol (protocol is disabled or cipher suites are inappropriate)*
>
>
>
> Am I missing something y mailhost configuration?
>
>
>
>
>
> May be *security* element*? *Different* port?*
>
>
>
> Thanks!
>
>
>
>
>
>
>
> *Ramón Gavira Sáenz*
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> ------------------------------
>
> Disclaimer:
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it.
> It may contain confidential or legally privileged information.
> If you are not the intended recipient you are hereby notified that any
> disclosure, copying, distribution or taking any action in reliance on the
> contents of this information is strictly prohibited and may be unlawful.
> If you have received this communication in error, please notify us
> immediately by forwarding this email to ict at ibacz.eu and then delete it
> from your system.
> IBA Group is neither liable for the proper and complete transmission of
> the information contained in this communication nor for any delay in its
> receipt.
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
> ------------------------------
>
> Disclaimer:
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it.
> It may contain confidential or legally privileged information.
> If you are not the intended recipient you are hereby notified that any
> disclosure, copying, distribution or taking any action in reliance on the
> contents of this information is strictly prohibited and may be unlawful.
> If you have received this communication in error, please notify us
> immediately by forwarding this email to ict at ibacz.eu and then delete it
> from your system.
> IBA Group is neither liable for the proper and complete transmission of
> the information contained in this communication nor for any delay in its
> receipt.
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
>

-- 
John Valentine
614-774-9937
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210511/0d719cfe/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 14808 bytes
Desc: not available
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210511/0d719cfe/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 11573 bytes
Desc: not available
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210511/0d719cfe/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9899 bytes
Desc: not available
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210511/0d719cfe/attachment-0005.png>


More information about the opencms-dev mailing list