From fc8da9104ba7133d7886c22b1424eb321baf1888 Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Sun, 26 Jun 2016 12:50:57 +0200 Subject: [PATCH] Enforce certificate checks with fetchmail, fixes #24 --- fetchmail/fetchmail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetchmail/fetchmail.py b/fetchmail/fetchmail.py index cd2b9c3f..9109ce33 100755 --- a/fetchmail/fetchmail.py +++ b/fetchmail/fetchmail.py @@ -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):