mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-03 03:28:10 +00:00
Enforce certificate checks with fetchmail, fixes #24
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user