Thank you very much indeed. That makes it work - well, sort of…
In my trytond.conf now is:
[email]
uri = smtp+tls://my-email-username:my-email-password@my-smtp-server:25
from = "my-company" <my-email-address>
My working smtp config in my email client is:
"STARTTLS after connect"
authentification: plain text
port 25
Using the command trytond-admin -c trytond.conf -d my-database --test-email target-name@domain.de creates the error message:
File "/home/wd/tryton-60-prod2/bin/trytond-admin", line 23, in <module>
admin.run(options)
File "/home/wd/tryton-60-prod2/lib/python3.8/site-packages/trytond/admin.py", line 119, in run
send_test_email(options.test_email)
File "/home/wd/tryton-60-prod2/lib/python3.8/site-packages/trytond/sendmail.py", line 57, in send_test_email
sendmail(
File "/home/wd/tryton-60-prod2/lib/python3.8/site-packages/trytond/sendmail.py", line 30, in sendmail
server = get_smtp_server(strict=strict)
File "/home/wd/tryton-60-prod2/lib/python3.8/site-packages/trytond/sendmail.py", line 64, in get_smtp_server
uri = parse_uri(uri)
File "/home/wd/tryton-60-prod2/lib/python3.8/site-packages/trytond/config.py", line 45, in parse_uri
return urllib.parse.urlparse(uri)
File "/usr/lib/python3.8/urllib/parse.py", line 373, in urlparse
splitresult = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python3.8/urllib/parse.py", line 464, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL
I used https://meyerweb.com/eric/tools/dencoder/ to encode the password, that did the trick. (Off records: Of course you NEVER EVER put your crucial mail password into a online converter. NEVER EVER.)
Great man, thank you so much!
To get the compendium of errors completed… I tried another email account without special characters in the password and ran into:
File "/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)