1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-09-16 09:06:32 +02:00
3897: fix: update ssloptions for fetchmail r=mergify[bot] a=WebSpider

## What type of PR?

bug-fix

## What does this PR do?

Fetchmail has updated SSL behaviour in v6.4.0, causing some unencrypted fetchmail jobs to fail. This repairs the functionality by adding a fallback.

### Related issue(s)
- Closes #3670 

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [X] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Nils Vogels <n.vogels@aves-it.nl>
This commit is contained in:
bors-mailu[bot]
2025-08-27 17:32:21 +00:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ def run(debug):
for fetch in fetches:
fetchmailrc = ""
options = "options antispam 501, 504, 550, 553, 554"
options += " ssl" if fetch["tls"] else ""
options += " ssl" if fetch["tls"] else " sslproto \'\'"
options += " keep" if fetch["keep"] else " fetchall"
folders = f"folders {",".join(f'"{imaputf7encode(item).replace('"',r"\34")}"' for item in fetch["folders"]) or '"INBOX"'}"
fetchmailrc += RC_LINE.format(

View File

@@ -0,0 +1 @@
Fix fallback for non-ssl fetchmail connections