diff --git a/optional/fetchmail/fetchmail.py b/optional/fetchmail/fetchmail.py index 8fad8926..a298cf53 100755 --- a/optional/fetchmail/fetchmail.py +++ b/optional/fetchmail/fetchmail.py @@ -64,7 +64,7 @@ def run(debug): username=escape_rc_string(fetch["username"]), password=escape_rc_string(fetch["password"]), options=options, - folders='' if fetch['protocol'].lower().startswith('pop') else folders, + folders='' if fetch['protocol'] == 'pop3' else folders, lmtp='' if fetch['scan'] else 'lmtp', ) if debug: