diff --git a/mayordomo/__init__.py b/mayordomo/__init__.py index 92b0b12..0e135aa 100644 --- a/mayordomo/__init__.py +++ b/mayordomo/__init__.py @@ -49,7 +49,7 @@ async def enviarCorreosDominio(dominioid): try: smtp = aiosmtplib.SMTP(hostname=str(dbdireccion.ipaddr), source_address=banner_hostname, port=25, start_tls=True, use_tls=False, validate_certs=False, client_cert=certfile, client_key=keyfile, cert_bundle=cacerts, timeout=10) await smtp.connect() - await smtp.starttls() +# await smtp.starttls() conectado = True await log.debug('Conectado a START_TLS: 25 {}'.format(dbdireccion.ipaddr)) except Exception as e: @@ -62,7 +62,7 @@ async def enviarCorreosDominio(dominioid): await smtp.connect() await smtp.starttls() conectado = True - await log.debug('Conectado a START_TLS 456: {}'.format(dbdireccion.ipaddr)) + await log.debug('Conectado a USE_TLS 456: {}'.format(dbdireccion.ipaddr)) except Exception as e: conectado = False await log.debug('Error al conectar al servidor start_tls 465: {}'.format(e))