mirror of
https://github.com/outbackdingo/Mailu.git
synced 2026-01-27 10:19:35 +00:00
Update fetchmail.py
This commit is contained in:
@@ -66,7 +66,7 @@ def run(debug):
|
||||
for fetch in fetches:
|
||||
fetchmailrc = ""
|
||||
options = "options antispam 501, 504, 550, 553, 554"
|
||||
if "OPTIONS" in os.environ: options += f' {os.environ["OPTIONS"]}'
|
||||
if "FETCHMAIL_OPTIONS" in os.environ: options += f' {os.environ["FETCHMAIL_OPTIONS"]}'
|
||||
options += " ssl" if fetch["tls"] else ""
|
||||
options += " keep" if fetch["keep"] else " fetchall"
|
||||
options += " invisible" if fetch["invisible"] else ""
|
||||
|
||||
Reference in New Issue
Block a user