Mail client auto-configuration files for virtualmin

Mail client auto-configuration files for virtualmin


The following auto-configure files works for virtual hosts with SSL enable for IMAP and TLS for SMTP

Thunderbird auto-configuration XML


<?xml version="1.0" encoding="UTF-8"?>
 
<clientConfig version="1.1">
  <emailProvider id="$SMTP_DOMAIN">
    <domain>$SMTP_DOMAIN</domain>
    <displayName>$OWNER Email</displayName>
    <displayShortName>$OWNER</displayShortName>
    <incomingServer type="imap">
      <hostname>$IMAP_HOST</hostname>
      <port>$IMAP_PORT</port>
      <socketType>$IMAP_TYPE</socketType>
      <authentication>$IMAP_ENC</authentication>
      <username>$SMTP_LOGIN</username>
    </incomingServer>
    <outgoingServer type="smtp">
      <hostname>$SMTP_HOST</hostname>
      <port>$SMTP_PORT</port>
      <socketType>STARTTLS</socketType>
      <authentication>$SMTP_ENC</authentication>
      <username>$SMTP_LOGIN</username>
    </outgoingServer>
  </emailProvider>
</clientConfig>

Outlook auto-configuration 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>
        <TTL>24</TTL>
 <Server>$IMAP_HOST</Server>
        <Port>$IMAP_PORT</Port>
 <LoginName>$SMTP_LOGIN</LoginName>
        <DomainRequired>off</DomainRequired>
        <SSL>$IMAP_SSL</SSL>
 <AuthRequired>on</AuthRequired>
      </Protocol>
      <Protocol>
 <Type>SMTP</Type>
        <TTL>24</TTL>
 <Server>$SMTP_HOST</Server>
        <Port>$SMTP_PORT</Port>
 <LoginName>$SMTP_LOGIN</LoginName>
        <DomainRequired>off</DomainRequired>
        <SSL>no</SSL>
<Encryption>TLS</Encryption>
 <AuthRequired>on</AuthRequired>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>

Enviar um comentário

Mensagens populares deste blogue

Kloxo, secundary domain name server solution

List all recepients in all Distribution Lists in Office365 / Exchange in powershell