make the container reboot
parent
50727c5e32
commit
90beddd823
|
@ -208,6 +208,7 @@ async def cleanupSent():
|
||||||
|
|
||||||
except:
|
except:
|
||||||
await log.error('Traceback {}'.format(traceback.format_exc()))
|
await log.error('Traceback {}'.format(traceback.format_exc()))
|
||||||
|
raise('Error al leer correos pendientes. Reiniciando servicio.')
|
||||||
return returnvalue
|
return returnvalue
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,11 +29,8 @@ class ilabHandler:
|
||||||
|
|
||||||
async def handle_RCPT(self, server, session, envelope, address, rcpt_options):
|
async def handle_RCPT(self, server, session, envelope, address, rcpt_options):
|
||||||
await log.info(u"RCPT '{}'".format(address))
|
await log.info(u"RCPT '{}'".format(address))
|
||||||
valid = False
|
|
||||||
try:
|
|
||||||
valid = await validate_direccion(address)
|
valid = await validate_direccion(address)
|
||||||
except BaseException as e:
|
|
||||||
await log.error('Traceback {}'.format(traceback.format_exc()))
|
|
||||||
|
|
||||||
if valid is None:
|
if valid is None:
|
||||||
await log.error(u"RCPT ERROR '{}' inválido".format(address))
|
await log.error(u"RCPT ERROR '{}' inválido".format(address))
|
||||||
|
|
Loading…
Reference in New Issue