mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-03 14:52:36 +02:00
Merge #3722
3722: Ensure we always use Mailu for sending emails in thunderbird r=mergify[bot] a=nextgens ## What type of PR? bug-fix ## What does this PR do? Set useGlobalPreferredServer=false in autoconfig to ensure we always use Mailu's SMTP if there is more than one account configured. The previous behaviour made no sense; it was set that way because the template at https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat makes it the default. ### Related issue(s) - close #3721 ## 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. - [ ] 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: Florent Daigniere <nextgens@freenetproject.org>
This commit is contained in:
commit
b43c378907
@ -31,7 +31,7 @@ def autoconfig_mozilla():
|
||||
<username>%EMAILADDRESS%</username>
|
||||
<authentication>password-cleartext</authentication>
|
||||
<addThisServer>true</addThisServer>
|
||||
<useGlobalPreferredServer>true</useGlobalPreferredServer>
|
||||
<useGlobalPreferredServer>false</useGlobalPreferredServer>
|
||||
</outgoingServer>
|
||||
|
||||
<documentation url="https://{hostname}/admin/client">
|
||||
|
@ -119,7 +119,7 @@ def test_managesieve(server, username, password):
|
||||
except managesieve.MANAGESIEVE.abort:
|
||||
pass
|
||||
|
||||
m=managesieve.MANAGESIEVE(server, use_tls=True)
|
||||
m=managesieve.MANAGESIEVE(server, use_tls=True, tls_verify=False)
|
||||
if m.login('', username, 'wrongpass') != 'NO':
|
||||
print(f'Authenticating to sieve://{username}:{password}@{server}:4190/ with wrong creds has worked!')
|
||||
sys.exit(108)
|
||||
|
@ -1,4 +1,4 @@
|
||||
docker==7.0.0
|
||||
colorama==0.4.6
|
||||
managesieve==0.7.1
|
||||
managesieve==0.8
|
||||
requests==2.31.0
|
||||
|
1
towncrier/newsfragments/3721.bugfix
Normal file
1
towncrier/newsfragments/3721.bugfix
Normal file
@ -0,0 +1 @@
|
||||
autoconfig shouldn't set useGlobalPreferredServer
|
Loading…
x
Reference in New Issue
Block a user