<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
  <emailProvider id="seguromail.com.br">
    <!-- O <domain> aqui e para matching . * = qualquer dominio que chegou neste autoconfig -->
    <domain>*</domain>
        <displayName>SeguroMail</displayName>
    <displayShortName>SeguroMail</displayShortName>

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

    <!-- IMAP com STARTTLS (alternativa) -->
    <incomingServer type="imap">
      <hostname>imap.seguromail.com.br</hostname>
      <port>143</port>
      <socketType>STARTTLS</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </incomingServer>

    <!-- POP3 SSL -->
    <incomingServer type="pop3">
      <hostname>pop3.seguromail.com.br</hostname>
      <port>995</port>
      <socketType>SSL</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </incomingServer>

    <!-- SMTP SSL (porta 465) -->
    <outgoingServer type="smtp">
      <hostname>smtp.seguromail.com.br</hostname>
      <port>465</port>
      <socketType>SSL</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </outgoingServer>

    <!-- SMTP STARTTLS (porta 587, fallback) -->
    <outgoingServer type="smtp">
      <hostname>smtp.seguromail.com.br</hostname>
      <port>587</port>
      <socketType>STARTTLS</socketType>
      <authentication>password-cleartext</authentication>
      <username>%EMAILADDRESS%</username>
    </outgoingServer>

  </emailProvider>
</clientConfig>
