automx xml configuration files

David Mehler dave.mehler at gmail.com
Sat Apr 7 03:43:05 CEST 2018


Hello,

I'm trying to get automx going on FreeBSD 11.1. I'm using apache 2.4
and the email server is postfix/dovecot/MySQL.

I've got .xml files for autoconfig, autodiscover (outlook and
activesync), and mobileconfig. An automx-test user at domain.com returns
all three files.

The issue is thunderbird and outlook express classic both hang then
offer me manual configuration.

I'm wondering if one or more of these xml files have a syntax errors?
Can someone check them out and let me know?

Thanks.
Dave.

config-v1.1.xml
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="domain.com">
<domain>domain.com</domain>
<displayName>domain.com</displayName>
<displayShortName>domain.com</displayShortName>

<incomingServer type="imap">
<hostname>imap.domain.com</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>

<outgoingServer type="smtp">
<hostname>smtp.domain.net</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>

<documentation url="http://www.domain.com/">
<descr lang="en">e-mail settings</descr>
</documentation>
</emailProvider>
</clientConfig>

cat autodiscover.xml
<?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.domain.com</Server>
<Port>993</Port>
<DomainRequired>off</DomainRequired>
<LoginName></LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired> <!-- Optional: Is Authentication required? -->
</Protocol>
<Protocol>
<Type>SMTP</Type>
<Server>smtp.domain.com</Server> <!--IP Addr or DNS name of server-->
<Port>587</Port>
<DomainRequired>off</DomainRequired>
<LoginName></LoginName>
<SPA>off</SPA>
<Encryption>TLS</Encryption>
<AuthRequired>on</AuthRequired> <!-- Optional: Is Authentication required? -->
<UsePOPAuth>off</UsePOPAuth>
<SMTPLast>off</SMTPLast>
</Protocol>
</Account>
</Response>
</Autodiscover>

cat mobileconfig
<?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>domain.com E-Mail Service</string>
<key>EmailAccountName</key>
<string></string>
<key>EmailAccountType</key>
<string>EmailTypeIMAP</string>
<key>EmailAddress</key>
<string></string>
<key>IncomingMailServerAuthentication</key>
<string>EmailAuthPassword</string>
<key>IncomingMailServerHostName</key>
<string>imap.domain.com</string>
<key>IncomingMailServerPortNumber</key>
<integer>993</integer>
<key>IncomingMailServerUseSSL</key>
<true/>
<key>IncomingMailServerUsername</key>
<string></string>
<key>IncomingPassword</key>
<string></string>
<key>OutgoingMailServerAuthentication</key>
<string>EmailAuthPassword</string>
<key>OutgoingMailServerHostName</key>
<string>smtp.domain.com</string>
<key>OutgoingMailServerPortNumber</key>
<integer>587</integer>
<key>OutgoingMailServerUseSSL</key>
<true/>
<key>OutgoingMailServerUsername</key>
<string></string>
<key>OutgoingPasswordSameAsIncomingPassword</key>
<true/>
<key>PayloadDescription</key>
<string>domain.com Email Services</string>
<key>PayloadDisplayName</key>
<string>domain.com E-Mail Service</string>
<key>PayloadIdentifier</key>
<string>domain.com.email</string>
<key>PayloadOrganization</key>
<string>Orga</string>
<key>PayloadType</key>
<string>com.apple.mail.managed</string>
<key>PayloadUUID</key>
<string>A5115AD5-3A86-4C4F-B964-576A757409AB</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PreventAppSheet</key>
<true/>
<key>PreventMove</key>
<false/>
<key>SMIMEEnabled</key>
<false/>
<key>disableMailRecentsSyncing</key>
<false/>
</dict>
</array>
<key>PayloadDescription</key>
<string>domain.com - E-Mail Account Configuration</string>
<key>PayloadDisplayName</key>
<string>E-Mail Account domain.com</string>
<key>PayloadIdentifier</key>
<string>E-Mail Account domain.com</string>
<key>PayloadOrganization</key>
<string>domain.com</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>E99CC7F7-6E38-4A1D-97DC-232143F67BC1</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>


More information about the automx-users mailing list