Re: [WebDNA] Emailer with TLS & Authentication
This WebDNA talk-list message is from 2020
It keeps the original formatting.
numero = 115200
interpreted = N
texte = 2829Thanks ChrisThat is some great information.=20I will keep working with it.=20RegardsStuart TremainPharoah Lane SoftwareSuite 16, 20 Burlington StreetCrows Nest NSW 2065AUSTRALIA+612 8971 4431> On 22 Sep 2020, at 5:21 pm, talk@webdna.us wrote:>=20> =EF=BB=BFHi Stuart,>=20> WebDNA has its own SMTP server: the built in mailer agent is a thread insi=de of WebDNA, which executes the Sweeper function. It is all custom for WebD=NA, it is not based off of any external software like sendmail/postfix. Whil=e WebDNA's TCPConnect context understands SSL and links in openssl, the Emai=l context does not. It just uses plain raw tcp connections.>=20> So, in order to make WebDNA understands SSL, an alternative code path had t=o be written to check for TLS support in the EHLO response, and if it is pre=sent, then send a STARTTLS and do all of the fancy SSL stuff to activate TLS= on the connection.>=20> To use TLS, you need to edit WebDNA Prefs and add this line:> MailSMTPTLS 1>=20> Then restart WebCatalog. Otherwise TLS defaults to off. It will only do it= if the server supports it. No authentication of the certificates is done, s=o self-signed certs will work.>=20> Otherwise, you could use localhost and getting the localhost to relay via T=LS>=20> kind regards,>=20> - chris>=20>=20>=20>=20>> On Sep 22, 2020, at 09:02, talk@webdna.us wrote:>>=20>> The email server is SendGrid so no issue there.>>=20>> We can TELNET successfully but can not send using WebDNA.>>=20>>=20>> Kind regards>>=20>> Stuart Tremain>> Pharoah Lane Software>> AUSTRALIA>> webdna@plsoftware.com.au>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
2829Thanks ChrisThat is some great information.=20I will keep working with it.=20RegardsStuart TremainPharoah Lane SoftwareSuite 16, 20 Burlington StreetCrows Nest NSW 2065AUSTRALIA+612 8971 4431> On 22 Sep 2020, at 5:21 pm, talk@webdna.us wrote:>=20> =EF=BB=BFHi Stuart,>=20> WebDNA has its own SMTP server: the built in mailer agent is a thread insi=de of WebDNA, which executes the Sweeper function. It is all custom for WebD=NA, it is not based off of any external software like sendmail/postfix. Whil=e WebDNA's TCPConnect context understands SSL and links in openssl, the Emai=l context does not. It just uses plain raw tcp connections.>=20> So, in order to make WebDNA understands SSL, an alternative code path had t=o be written to check for TLS support in the EHLO response, and if it is pre=sent, then send a STARTTLS and do all of the fancy SSL stuff to activate TLS= on the connection.>=20> To use TLS, you need to edit WebDNA Prefs and add this line:> MailSMTPTLS 1>=20> Then restart WebCatalog. Otherwise TLS defaults to off. It will only do it= if the server supports it. No authentication of the certificates is done, s=o self-signed certs will work.>=20> Otherwise, you could use localhost and getting the localhost to relay via T=LS>=20> kind regards,>=20> - chris>=20>=20>=20>=20>> On Sep 22, 2020, at 09:02, talk@webdna.us wrote:>>=20>> The email server is SendGrid so no issue there.>>=20>> We can TELNET successfully but can not send using WebDNA.>>=20>>=20>> Kind regards>>=20>> Stuart Tremain>> Pharoah Lane Software>> AUSTRALIA>> webdna@plsoftware.com.au>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Stuart Tremain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Linux WebCatalog on Apache w/ Raven SSL (2000)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
random prob (2003)
Include a big block of text (1997)
Help on how to store calculated value (2002)
Variable Sizes, Widths and Colors (2000)
Grep to convert characters to html entities (2006)
Separate SSL Server (1997)
Text data with spaces in them... (1997)
Apache 2.x .tpl mime types config? (2005)
[protect] on NT? (1997)
Search design (1997)
Calculating multiple shipping... (1997)
First postarg not taking in $Commands (1997)
Credit card processing - UK (1997)
Sendmail Excel attachment (2003)
[WebDNA] WebDNA trivia quiz (2013)
[showif] / [hideif] (1997)
New NT betas available (1997)