automx for outlook not working

Christian Rößner c at roessner-network-solutions.com
Wed Oct 7 09:36:03 CEST 2015


> Am 24.09.2015 um 12:35 schrieb Peter Buettner <pb at alstercom.de>:
> 
> Hello,
> 
> i am a newbe with automx-0.10.2.
> 
> With standard config automx-test works fine.
> 
> automx-test pb at hosting-vergleich.com
> 
> 
> 
> Thunderbird autoconfig works fine too.
> 
> Outlook autodiscover fails.
> 
> The automx-test delivers:
> 
> Testing Autodiscover (Microsoft Outlook(tm)) ...
> Connecting to
> https://autodiscover.alstercom.de/autodiscover/autodiscover.xml ...
> 
>  HTTP/1.1 200 OK
>  Date: Thu, 24 Sep 2015 09:34:06 GMT
>  Server: Apache/2.2.15 (CentOS)
>  Content-Length: 1416
>  Connection: close
>  Content-Type: text/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>mandantory</Action>
>      <Protocol>
>        <Type>SMTP</Type>
>        <Server>nge.alstercom.de</Server>
>        <Port>587</Port>
>        <DomainRequired>off</DomainRequired>
>        <LoginName>pb at hosting-vergleich.com</LoginName>
>        <SPA>off</SPA>
>        <Encryption>TLS</Encryption>
>        <AuthRequired>on</AuthRequired>
>        <TTL>6</TTL>
>      </Protocol>
>      <Protocol>
>        <Type>POP3</Type>
>        <Server>nge.alstercom.de</Server>
>        <Port>995</Port>
>        <DomainRequired>off</DomainRequired>
>        <LoginName>pb at hosting-vergleich.com</LoginName>
>        <SPA>off</SPA>
>        <Encryption>SSL</Encryption>
>        <AuthRequired>on</AuthRequired>
>        <TTL>6</TTL>
>      </Protocol>
>      <Protocol>
>        <Type>IMAP</Type>
>        <Server>nge.alstercom.de</Server>
>        <Port>993</Port>
>        <DomainRequired>off</DomainRequired>
>        <LoginName>pb at hosting-vergleich.com</LoginName>
>        <SPA>off</SPA>
>        <Encryption>SSL</Encryption>
>        <AuthRequired>on</AuthRequired>
>        <TTL>6</TTL>
>      </Protocol>
>    </Account>
>  </Response>
> </Autodiscover>
> 
> 
> A Test with a working static XML-File from posteo.de delivers:
> 
> Testing Autodiscover (Microsoft Outlook(tm)) ...
> Connecting to
> https://autodiscover.posteo.de/autodiscover/autodiscover.xml ...
> 
>  HTTP/1.1 200 OK
>  Date: Thu, 24 Sep 2015 10:28:23 GMT
>  Server: Apache
>  X-Powered-By: PHP/5.4.35-0+deb7u2
>  Strict-Transport-Security: max-age=31536000; preload
>  Vary: Accept-Encoding
>  Connection: close
>  Content-Type: text/xml
> <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>posteo.de</Server>
>        <Port>993</Port>
>        <LoginName>postmaster at posteo.de</LoginName>
>        <DomainRequired>off</DomainRequired>
>        <SPA>off</SPA>
>        <SSL>on</SSL>
>        <AuthRequired>on</AuthRequired>
>      </Protocol>
>      <Protocol>
>        <Type>SMTP</Type>
>        <Server>posteo.de</Server>
>        <Port>465</Port>
>        <LoginName>postmaster at posteo.de</LoginName>
>        <DomainRequired>off</DomainRequired>
>        <SPA>off</SPA>
>        <SSL>on</SSL>
>        <AuthRequired>on</AuthRequired>
>        <UsePOPAuth>off</UsePOPAuth>
>        <SMTPLast>off</SMTPLast>
>      </Protocol>
>      <Protocol>
>        <Type>POP3</Type>
>        <Server>posteo.de</Server>
>        <Port>995</Port>
>        <LoginName>postmaster at posteo.de</LoginName>
>        <DomainRequired>off</DomainRequired>
>        <SPA>off</SPA>
>        <SSL>on</SSL>
>        <AuthRequired>on</AuthRequired>
>      </Protocol>
>    </Account>
>  </Response>
> </Autodiscover>
> 
> I consider two solutions:
> 
> a) How can i implement <SSL>on</SSL> in autoconfig?

Did you configure smtp_encryption? Try setting it to ssl.

I also see a difference in the two examples, you showed us. In the automx-version you use Submission, Port 587 with TLS. In the second you use the Microsoft idea of SSL over Port 465 aka smtps.

What happens, if you configure automx to also use port 465 and smtp_encryption=ssl? Did you mix settings?

> b) How can i deliver a static XML-File like poster.de?

For this, you can define a section like this:

[example.com]
backend = file

autodiscover = /var/www/autodiscover/foo.xml


- Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2449 bytes
Desc: not available
URL: <https://mail.sys4.de/pipermail/automx-users/attachments/20151007/b7233e97/attachment-0001.p7s>


More information about the automx-users mailing list