You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are not using docker compose do not file any new issue here.
Kubernetes related issues belong to https://github.com/Mailu/helm-charts/issues
If you are not using docker compose or kubernetes, create a new thread on user support in disussions.
Non-bug reports (or bug reports that do not follow the template) are moved to disussions.
Description
in the autoconfig file https://autoconfig.mydomain.com/mail/config-v1.1.xml the placeholders are not being replaced by the actual values like the hostname variable
Replication Steps
Do a fresh install of mailu
Configure your DNS & Certificates so that mailu admin is accessible
go straight to the link https://autoconfig.mydomain.com/mail/config-v1.1.xml (don't forget to replace "mydomain" by your actual domain name)
Observed behaviour
XML file
<clientConfigversion="1.1">
<!-- This is a placeholder that should be replaced by the actual value -->
<emailProviderid="%EMAILDOMAIN%">
<!-- This is a placeholder that should be replaced by the actual value -->
<domain>%EMAILDOMAIN%</domain>
<displayName>Email</displayName>
<displayShortName>Email</displayShortName>
<incomingServertype="imap">
<hostname>mail.mydomain.com</hostname>
<port>993</port>
<socketType>SSL</socketType>
<!-- This is a placeholder that should be replaced by the actual value -->
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
</incomingServer>
<outgoingServertype="smtp">
<hostname>mail.mydomain.com</hostname>
<port>465</port>
<socketType>SSL</socketType>
<!-- This is a placeholder that should be replaced by the actual value -->
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
<addThisServer>true</addThisServer>
<useGlobalPreferredServer>true</useGlobalPreferredServer>
</outgoingServer>
<documentationurl="https://mail.mydomain.com/admin/client">
<descrlang="en">Configure your email client</descr>
</documentation>
</emailProvider>
</clientConfig>
Also, the hostname in that file shouldn't be the main hostname but the current domain if found in the added hostnames in case someone has multiple domaine and each one is configured as its own and not relaying everything through the main one...
As for connecting to the main hostname, we do it that way to ensure there is no problem with misconfigured SSL certificates. Many people insist on running Mailu behind a proxy and they seldom configure it right (with valid certs for all the hostnames).
Environment & Version
docker compose version
v2.24.1master
If you are not using docker compose do not file any new issue here.
Kubernetes related issues belong to https://github.com/Mailu/helm-charts/issues
If you are not using docker compose or kubernetes, create a new thread on user support in disussions.
Non-bug reports (or bug reports that do not follow the template) are moved to disussions.
Description
in the autoconfig file
https://autoconfig.mydomain.com/mail/config-v1.1.xml
the placeholders are not being replaced by the actual values like thehostname
variableReplication Steps
https://autoconfig.mydomain.com/mail/config-v1.1.xml
(don't forget to replace "mydomain" by your actual domain name)Observed behaviour
XML file
Expected behaviour
XML file
Logs
No Logs needed
Also, the hostname in that file shouldn't be the main hostname but the current domain if found in the added hostnames in case someone has multiple domaine and each one is configured as its own and not relaying everything through the main one...
I can create a PR to fix this issue if it's validated, i guess it was introduced by the #2276 in this file /core/admin/mailu/internal/views/autoconfig.py
Thank you
The text was updated successfully, but these errors were encountered: