On 04/21/2018 07:59 PM, David Mehler wrote:
Hello Viktor,

Bingo! That did it. In the .xml file I changed ssl to encryption tls
and it well got further than it did. I had some issues with smtpd*
restrictions specifically helo restrictions, I commented them out. So
outlook autodiscover is working, thunderbird autoconfig still is not.

Going to start another thread about my smtpd* restrictions, but any
other suggestions on thunderbird appreciated.

Thanks for helping with outlook.
Dave.


On 4/21/18, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:

On Apr 21, 2018, at 2:06 PM, David Mehler <dave.meh...@gmail.com> wrote:

Thanks. I'm sorry I should probably have more completely clarified
that. Different client entirely, the previous message I was attempting
autoconfig with Thunderbird and getting those errors.

This time I'm trying outlook 2010 with autodiscover and getting the
errors in my last message. I thought to keep it under the same thread.

For completeness and because I probably confused everyone, here's an
outlook 2010 attempted connection and my current main.cf and master.cf
files.

Apr 21 13:52:54 hostname postfix/submission/smtpd[74637]: connect from
Connecting-Host-And-IP
Apr 21 13:52:54 hostname postfix/submission/smtpd[74637]: lost
connection after UNKNOWN from Connecting-Host-And-IP
Apr 21 13:52:54 hostname postfix/submission/smtpd[74637]: disconnect
from Connecting-Host-And-IP unknown=0/1 commands=0/1
You've probably configured Outlook to do (implicit) SSL on port 587,
rather than STARTTLS.  You should either direct its connections to
port 465 with "wrapper mode TLS", or configure it to do STARTTLS on
587.

--
        Viktor.


look into

https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration

and

https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat

note, using MX records in DNS supersedes the config file, so choose your poison wisely.

in your web server docroot, create a dir called mail, in mail, edit config-v1.1.xml. mine is cited below for convenience:

<?xml version="1.0" encoding="UTF-8"?>

<clientConfig version="1.1">
  <emailProvider id="bpk2.com">
    <domain>bpk2.com</domain>
    <displayName>bpk2.com</displayName>
    <displayShortName>bpk2</displayShortName>
    <incomingServer type="imap">
      <hostname>imap.bpk2.com</hostname>
      <port>143</port>
      <socketType>STARTTLS</socketType>
      <authentication>GSSAPI</authentication>
      <username>%EMAILLOCALPART%</username>
    </incomingServer>
    <outgoingServer type="smtp">
      <hostname>submission.bpk2.com</hostname>
      <port>587</port>
      <!-- SOCKETTYPE SHOULD BE CHANGED TO STARTTLS -->
      <socketType>plain</socketType>
      <authentication>GSSAPI</authentication>
      <username>%EMAILLOCALPART%</username>
    </outgoingServer>
    <documentation url="http://www.bpk2.com/imap.html";>
      <descr lang="en">IMAP General Settings</descr>
    </documentation>
    <documentation url="http://www.bpk2.com/smtp.html";>
      <descr lang="en">SMTP General Settings</descr>
    </documentation>
  </emailProvider>
  <webmail>
    <loginPage url="https://www.bpk2.com/roundcube/"; />
    <loginPageInfo url="https://www.bpk2.com/roundcube/";>
      <username>%EMAILLOCALPART%</username>
    </loginPageInfo>
  </webmail>
</clientConfig>

Reply via email to