Re: [WebDNA] Emailer with TLS & Authentication

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 115200
interpreted = N
texte = 2829 Thanks Chris That is some great information.=20 I will keep working with it.=20 Regards Stuart Tremain Pharoah Lane Software Suite 16, 20 Burlington Street Crows Nest NSW 2065 AUSTRALIA +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 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 . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Emailer with TLS & Authentication (Stuart Tremain 2020)
  2. Re: [WebDNA] Emailer with TLS & Authentication (christophe.billiottet@webdna.us 2020)
  3. Re: [WebDNA] Emailer with TLS & Authentication (Stuart Tremain 2020)
  4. RE: [WebDNA] Emailer with TLS & Authentication ("Terry Nair" 2020)
  5. [WebDNA] Emailer with TLS & Authentication (Stuart Tremain 2020)
2829 Thanks Chris That is some great information.=20 I will keep working with it.=20 Regards Stuart Tremain Pharoah Lane Software Suite 16, 20 Burlington Street Crows Nest NSW 2065 AUSTRALIA +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 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 . 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:

Test --> Ignore (2005) Mac Vs WindowsNT (1997) About Include (2001) Ok here is a question? (1997) RE: [WebDNA] Circumnavigate Browser Timeout On Lengthy WebDNA Operations (2014) Opinion: [input] should be called [output] ... (1997) WebCat2.0 [format thousands .0f] no go (1997) multiple databases (1997) ITS FRIDAY (2004) why won't this TCPConnect/Send work? (2004) [WebDNA] SEARCH question (2011) Still online from NY (2003) Secure Web Server (1999) RE: spawn (1998) [Sum] function? (1997) Adding Header Values with [SetHeader] (1998) test (2004) WebCat2 - [format thousands] (1997) Include remote? (1998) HomePage Caution (1997)