1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-03 14:52:36 +02:00

Maybe fix fetchmail when used with pop3

This commit is contained in:
Florent Daigniere 2023-08-30 13:17:50 +02:00
parent 585549ce92
commit 5402d00be0
2 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def run(debug):
username=escape_rc_string(fetch["username"]),
password=escape_rc_string(fetch["password"]),
options=options,
folders=folders,
folders='' if fetch['protocol'].lower().startswith('pop') else folders,
lmtp='' if fetch['scan'] else 'lmtp',
)
if debug:

View File

@ -0,0 +1 @@
fix fetchmail when used with POP3: disregard "folders"