Outlook 2013, Autodiscover, AutoMX, Fail2ban, and Dovecot: Login probes trigger fail2ban and prevent auto configuration using Outlook 2013

Christian Rößner c at roessner-network-solutions.com
Thu Mar 17 12:26:30 CET 2016


> Am 15.03.2016 um 21:11 schrieb Bastian <volleyball at nurfuerspam.de>:
> 
> AutoMX seems to work (Outlook accesses https://autodiscover.domain.com/autodiscover/autodiscover.xml), it can be accessed via HTTP POST and produces the following result:
> <?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>SMTP</Type>
>        <Server>srv1.domain.com</Server>
>        <Port>587</Port>
>        <DomainRequired>off</DomainRequired>
>        <LoginName>mail at domain.com</LoginName>
>        <SPA>off</SPA>
>        <Encryption>TLS</Encryption>
>        <AuthRequired>on</AuthRequired>
>        <TTL>6</TTL>
>      </Protocol>
>      <Protocol>
>        <Type>IMAP</Type>
>        <Server>srv1.domain.com</Server>
>        <Port>993</Port>
>        <DomainRequired>off</DomainRequired>
>        <LoginName>mail at domain.com</LoginName>
>        <SPA>off</SPA>
>        <Encryption>SSL</Encryption>
>        <AuthRequired>on</AuthRequired>
>      </Protocol>
>      <Protocol>
>        <Type>POP3</Type>
>        <Server>srv1.domain.com</Server>
>        <Port>995</Port>
>        <DomainRequired>off</DomainRequired>
>        <LoginName>mail at domain.com</LoginName>
>        <SPA>off</SPA>
>        <Encryption>SSL</Encryption>
>        <AuthRequired>on</AuthRequired>
>      </Protocol>
>    </Account>
>  </Response>
> </Autodiscover>

Should look like this:

<?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">
    <User>
      <DisplayName>RNS</DisplayName>
    </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
...

Yours misses User.

That means you have not configured all required options in automx.conf:

Something like this:

[DEFAULT]
action = settings

account_type = email
account_name = R.N.S.
account_name_short = R.N.S.


Can you verify this?

Best wishes

Christian

P.S.: Wegen Liste in Englisch... ;-)
—
Christian Rößner B.Sc.
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com

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


More information about the automx-users mailing list