Enforce certificate checks with fetchmail, fixes #24

This commit is contained in:
Pierre Jaury
2016-06-26 12:50:57 +02:00
parent 1673631e69
commit fc8da9104b

View File

@@ -19,7 +19,7 @@ def fetchmail(fetchmailrc):
with tempfile.NamedTemporaryFile() as handler:
handler.write(fetchmailrc.encode("utf8"))
handler.flush()
os.system("fetchmail -N -f '{}'".format(handler.name))
os.system("fetchmail --sslcertck -N -f '{}'".format(handler.name))
def run(cursor):