mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-27 03:07:04 +00:00
d510c8ae2a
Port 465 with "implicit" (i.e. always-on) TLS is a more secure approach than port 587 with explicit (i.e. optional and only on with STARTTLS). Although we reject credentials on port 587 without STARTTLS, by that point credentials have already been sent.
45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
<clientConfig version="1.1">
|
|
<emailProvider id="PRIMARY_HOSTNAME">
|
|
<domain>PRIMARY_HOSTNAME</domain>
|
|
|
|
<displayName>PRIMARY_HOSTNAME (Mail-in-a-Box)</displayName>
|
|
<displayShortName>PRIMARY_HOSTNAME</displayShortName>
|
|
|
|
<incomingServer type="imap">
|
|
<hostname>PRIMARY_HOSTNAME</hostname>
|
|
<port>993</port>
|
|
<socketType>SSL</socketType>
|
|
<username>%EMAILADDRESS%</username>
|
|
<authentication>password-cleartext</authentication>
|
|
</incomingServer>
|
|
|
|
<outgoingServer type="smtp">
|
|
<hostname>PRIMARY_HOSTNAME</hostname>
|
|
<port>465</port>
|
|
<socketType>SSL</socketType>
|
|
<username>%EMAILADDRESS%</username>
|
|
<authentication>password-cleartext</authentication>
|
|
<addThisServer>true</addThisServer>
|
|
<useGlobalPreferredServer>false</useGlobalPreferredServer>
|
|
</outgoingServer>
|
|
|
|
<documentation url="https://PRIMARY_HOSTNAME/">
|
|
<descr lang="en">PRIMARY_HOSTNAME website.</descr>
|
|
</documentation>
|
|
</emailProvider>
|
|
|
|
<webMail>
|
|
<loginPage url="https://PRIMARY_HOSTNAME/mail/" />
|
|
<loginPageInfo url="https://PRIMARY_HOSTNAME/mail/" >
|
|
<username>%EMAILADDRESS%</username>
|
|
<usernameField id="rcmloginuser" name="_user" />
|
|
<passwordField id="rcmloginpwd" name="_pass" />
|
|
<loginButton id="rcmloginsubmit" />
|
|
</loginPageInfo>
|
|
</webMail>
|
|
|
|
<clientConfigUpdate url="https://PRIMARY_HOSTNAME/.well-known/autoconfig/mail/config-v1.1.xml" />
|
|
|
|
</clientConfig>
|