On 2018-01-18, Grant Edwards <grant.b.edwa...@gmail.com> wrote: [regarding secure-smtpd -- a module based on smtpd and asyncore]
> That makes the SSL support pretty much useless. > > I'm trying to fix that, but I can't find any information or > documentation about using asyncore with SSL. Asyncore seems to be based on fundamental assumptions that aren't true for non-blocking ssl sockets. After looking into it for a couple hours, the way you use ssl with asyncore is like this: pid = subprocess.Pipe(["stunnel","stunnel.conf"]).pid # insert asyncore app here os.kill(pid,signal.SIGTERM) -- Grant -- https://mail.python.org/mailman/listinfo/python-list