Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

SMTP Submission + STARTTLS + self-signed cert

  • fjenou
  • fjenou's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #148415 by fjenou
Greetings,

Limesurvey version 2.62.2+170303.

I am using my own Qmail server, which is configured with SMTP Submission + STARTTLS with self-signed certificate.

Sending invitation without TLS works fine, but when I turn on TLS nothing gets sent.

Please advise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #148418 by DenisChenu
Replied by DenisChenu on topic SMTP Submission + STARTTLS + self-signed cert
Currently : there are no solution , thinking it was fixed in LS official ...
Try with maildebug : you surely receive a SSL error alert (CA is not here)

Report the bug

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 1 month ago #148420 by jelo

fjenou wrote: Limesurvey version 2.62.2+170303.
Sending invitation without TLS works fine, but when I turn on TLS nothing gets sent.

Your build 170303 seems to be in the future. Please check what version/build is used.

Can be a bug in the settings of the phpmailer.
Sometimes around SMTPAutoTLS.

I would try to not use StartTLS, but use directly TLS with the SMTP-server.
Try to use TLS with port 465 instead of using StartTLS which first connects unencrypted via 25 or 587 to check if encryption is possible. If there is a bug around AutoTLS the phpmailer library will directly force encryption which won't work with Port 25 or 576. This is just an educated guess.
Port 465 is no longer standard for SMTPS, but still often used.
en.wikipedia.org/wiki/Opportunistic_TLS#SSL_ports

If it still doesn't work, you should open a bug report. It sometimes need some remarks to get the phpmailer integration with LS back on track.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #148432 by DenisChenu
Replied by DenisChenu on topic SMTP Submission + STARTTLS + self-signed cert
@Jelo : non no : since PHP5.6 or 5.4 : all tls connexion need a valid CA (by default)

I fix it in my 2.6.2 version : github.com/SondagesPro/LimeSurvey-Sondag...e04af89a4bca062R4066

I think it was fixed in core near the same way , but : a bug not reported is a bug not fixed.

Looking at code : TLS with valmid CA or no TLS

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose