Enforce certificate checks with fetchmail, fixes #24

master
Pierre Jaury 9 years ago
parent 1673631e69
commit fc8da9104b

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

Loading…
Cancel
Save