Re: [WebDNA] Emailer with TLS & Authentication
This WebDNA talk-list message is from 2020
It keeps the original formatting.
numero = 115199
interpreted = N
texte = 2828Hi Stuart,WebDNA has its own SMTP server: the built in mailer agent is a thread =inside of WebDNA, which executes the Sweeper function. It is all custom =for WebDNA, it is not based off of any external software like =sendmail/postfix. While WebDNA's TCPConnect context understands SSL and =links in openssl, the Email context does not. It just uses plain raw tcp =connections.So, in order to make WebDNA understands SSL, an alternative code path =had to be written to check for TLS support in the EHLO response, and if =it is present, then send a STARTTLS and do all of the fancy SSL stuff to =activate TLS on the connection.To use TLS, you need to edit WebDNA Prefs and add this line:MailSMTPTLS 1Then restart WebCatalog. Otherwise TLS defaults to off. It will only do =it if the server supports it. No authentication of the certificates is =done, so self-signed certs will work.Otherwise, you could use localhost and getting the localhost to relay =via TLSkind regards,- chris> 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---------------------------------------------------------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:
2828Hi Stuart,WebDNA has its own SMTP server: the built in mailer agent is a thread =inside of WebDNA, which executes the Sweeper function. It is all custom =for WebDNA, it is not based off of any external software like =sendmail/postfix. While WebDNA's TCPConnect context understands SSL and =links in openssl, the Email context does not. It just uses plain raw tcp =connections.So, in order to make WebDNA understands SSL, an alternative code path =had to be written to check for TLS support in the EHLO response, and if =it is present, then send a STARTTLS and do all of the fancy SSL stuff to =activate TLS on the connection.To use TLS, you need to edit WebDNA Prefs and add this line:MailSMTPTLS 1Then restart WebCatalog. Otherwise TLS defaults to off. It will only do =it if the server supports it. No authentication of the certificates is =done, so self-signed certs will work.Otherwise, you could use localhost and getting the localhost to relay =via TLSkind regards,- chris> 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---------------------------------------------------------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.
christophe.billiottet@webdna.us
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:
Reversed words (1997)
Shopping cart not being assigned (1999)
WebCat2 several catalogs? (1997)
Bug or syntax error on my part? (1997)
WebDNA on Windows questions (2007)
[WebDNA] Small Parsing Problem (2009)
[WebDNA] [raw] tag with [interpret] question (2010)
Re:listfiles-looking for slick solution (1997)
PCS Emailer's role ? (1997)
[OT] Might be of interest... (2006)
Using [Include] Context (1999)
default error on NT? (1997)
searchable list archive (1997)
Width & Height (1998)
Upgrading old WebCat Database Files (1997)
New Weird Behavior (bug report) (2000)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
WebDelivery downloads alias, not original ? (1997)
Multiple Pulldowns (1997)
taxrate - off by 1 cent (1997)