iRedMail icon indicating copy to clipboard operation
iRedMail copied to clipboard

Autoconfiguration for email clients

Open interduo opened this issue 2 years ago • 5 comments

Always after iredmail installing I do the "autoconfiguration" for email clients. Is there a purpose why this is not configured by default as a vhost.main_email_domain.pl?

interduo avatar Mar 17 '22 17:03 interduo

This is very simple and useful and work's like a charm. https://wiki.mozilla.org/Thunderbird:Autoconfiguration

interduo avatar Mar 17 '22 17:03 interduo

Would you like to try automx2? https://rseichter.github.io/automx2/

iredmail avatar Mar 18 '22 00:03 iredmail

I will be bad tester because for us autoconfig in xml is all we need :)

interduo avatar Mar 18 '22 07:03 interduo

All of us need needs to automatic create of vhost (autoconfig.domain.pl) and file in it (/mail/config-v1.1.xml).

and puting there a example file with:

<?xml version="1.0" encoding="UTF-8"?>

<clientConfig version="1.1">
  <emailProvider id="domain.pl">
    <domain>domain.pl</domain>
    <displayName>Poczta DOMAIN</displayName>
    <displayShortName>DOMAIN</displayShortName>
    <incomingServer type="imap">
      <hostname>poczta.domain.pl</hostname>
      <port>993</port>
      <socketType>SSL</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </incomingServer>
    <outgoingServer type="smtp">
      <hostname>poczta.domain.pl</hostname>
      <port>587</port>
      <socketType>STARTTLS</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </outgoingServer>
    <outgoingServer type="smtp">
      <hostname>poczta.domain.pl</hostname>
      <port>587</port>
      <socketType>STARTTLS</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </outgoingServer>
    <documentation url="https://poczta.domain.pl/support.html">
      <descr lang="en">Support Page</descr>
    </documentation>
  </emailProvider>
</clientConfig>

This is KISS (keep it simple stupid) & enough :)

interduo avatar Mar 23 '22 07:03 interduo

There is also: https://github.com/Monogramm/autodiscover-email-settings

interduo avatar Mar 27 '22 09:03 interduo

Would you like to try automx2? https://rseichter.github.io/automx2/

Tried that and it's also OK

interduo avatar Jul 26 '23 07:07 interduo

How is auto config works in iredmail? (You closed this issue as completed)

I found a manual: https://docs.iredmail.org/iredmail-easy.autoconfig.autodiscover.html

And on clean install of newest iredadmin:

$ curl -k https://autoconfig.interduo.pl/.well-known/autoconfig/mail/[email protected]
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

@iredmail how to enable autoconfig feature (no info in manual, no info in installer)?

interduo avatar Jul 26 '23 17:07 interduo