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

Ramon Gavira rgaviras at gmail.com
Mon Jun 7 16:43:52 CEST 2021


I did it, thanks anyway!

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

El mié, 12 may 2021 a las 0:36, John James Valentine (<jjvalent at gmail.com>)
escribió:

> 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
> _______________________________________________
> 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
>
>
>
>
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210607/bbeb1e78/attachment.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/20210607/bbeb1e78/attachment.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/20210607/bbeb1e78/attachment-0001.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/20210607/bbeb1e78/attachment-0002.png>


More information about the opencms-dev mailing list