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