Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c91067ca authored by Sylvain Manceau's avatar Sylvain Manceau
Browse files

Add autoconfig from MR96, #2

parent 8eb0634c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    <Response>
        <Error Time="{{ time }}" Id="{{ id }}">
            <ErrorCode>601</ErrorCode>
            <Message>Provider is not available</Message>
            <DebugData />
        </Error>
    </Response>
</Autodiscover>
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8" ?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006">
    <Culture>en:en</Culture>
    <User>
      <DisplayName>{{ display_name }}</DisplayName>
      <EMailAddress>{{ email_address }}</EMailAddress>
    </User>
    <Action>
      <Settings>
        <Server>
        <Type>MobileSync</Type>
        <Url>https://example.org/TODOmobilesyncURL</Url>
        <Name>TODO: Mobile sync name</Name>
        </Server>
      </Settings>
    </Action>
  </Response>
</Autodiscover>
+32 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8" ?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
        <Account>
            <AccountType>email</AccountType>
            <Action>settings</Action>

            <Protocol>
                <Type>IMAP</Type>
                <Server>{{ imap_hostname }}</Server>
                <Port>993</Port>
                <DomainRequired>on</DomainRequired>
                <DomainName>{{ domain }}</DomainName>
                <SPA>off</SPA>
                <SSL>on</SSL>
                <AuthRequired>on</AuthRequired>
            </Protocol>

            <Protocol>
                <Type>SMTP</Type>
                <Server>{{ smtp_hostname }}</Server>
                <Port>587</Port>
                <DomainRequired>on</DomainRequired>
                <DomainName>{{ domain }}</DomainName>
                <SPA>off</SPA>
                <SSL>on</SSL>
                <AuthRequired>on</AuthRequired>
            </Protocol>

        </Account>
    </Response>
</Autodiscover>
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>

<clientConfig version="1.1">
    <emailProvider id="{{ domain }}">
        <domain>{{ domain }}</domain>
        <displayName>{{ display_name }}</displayName>
        <displayShortName>%EMAILLOCALPART%</displayShortName>

        <incomingServer type="imap">
            <hostname>{{ imap_hostname }}</hostname>
            <port>993</port>
            <socketType>SSL</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </incomingServer>
        <incomingServer type="imap">
            <hostname>{{ imap_hostname }}</hostname>
            <port>143</port>
            <socketType>STARTTLS</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </incomingServer>

        <outgoingServer type="smtp">
            <hostname>{{ smtp_hostname }}</hostname>
            <port>587</port>
            <socketType>STARTTLS</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </outgoingServer>

    </emailProvider>
</clientConfig>
+77 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>PayloadContent</key>
	<array>
		<dict>
			<key>EmailAccountDescription</key>
			<string>{{ display_name }}</string>
			<key>EmailAccountName</key>
			<string>{{ display_name }}</string>
			<key>EmailAccountType</key>
			<string>EmailTypeIMAP</string>
			<key>EmailAddress</key>
			<string>{{ email_address }}</string>
			<key>IncomingMailServerAuthentication</key>
			<string>EmailAuthPassword</string>
			<key>IncomingMailServerHostName</key>
			<string>{{ imap_hostname }}</string>
			<key>IncomingMailServerPortNumber</key>
			<integer>993</integer>
			<key>IncomingMailServerUseSSL</key>
			<true/>
			<key>IncomingMailServerUsername</key>
			<string>{{ username }}</string>
			<key>OutgoingMailServerAuthentication</key>
			<string>EmailAuthPassword</string>
			<key>OutgoingMailServerHostName</key>
			<string>{{ smtp_hostname }}</string>
			<key>OutgoingMailServerPortNumber</key>
			<integer>587</integer>
			<key>OutgoingMailServerUseSSL</key>
			<true/>
			<key>OutgoingMailServerUsername</key>
			<string>{{ username }}</string>
			<key>OutgoingPasswordSameAsIncomingPassword</key>
			<true/>
			<key>PayloadDescription</key>
			<string>Email account configuration for {{ email_address }}</string>
			<key>PayloadDisplayName</key>
			<string>{{ display_name }}</string>
			<key>PayloadIdentifier</key>
			<string>{{ domain }}.autoconfig.{{ profile_uuid }}</string>
			<key>PayloadType</key>
			<string>com.apple.mail.managed</string>
			<key>PayloadUUID</key>
			<string>{{ profile_uuid }}</string>
			<key>PayloadVersion</key>
			<real>1</real>
			<key>SMIMEEnablePerMessageSwitch</key>
			<false/>
			<key>SMIMEEnabled</key>
			<false/>
			<key>SMIMESigningEnabled</key>
			<false/>
			<key>disableMailRecentsSyncing</key>
			<false/>
		</dict>
	</array>
	<key>PayloadDescription</key>
	<string>Email account configuration for {{ email_address }}</string>
	<key>PayloadDisplayName</key>
	<string>{{ display_name }}</string>
	<key>PayloadIdentifier</key>
	<string>{{ domain }}.autoconfig.{{ mail_uuid }}</string>
	<key>PayloadOrganization</key>
	<string>{{ domain }}</string>
	<key>PayloadRemovalDisallowed</key>
	<false/>
	<key>PayloadType</key>
	<string>Configuration</string>
	<key>PayloadUUID</key>
	<string>{{ mail_uuid }}</string>
	<key>PayloadVersion</key>
	<integer>1</integer>
</dict>
</plist>
Loading