Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

var_www_autoconfig_mail_config-v1.1.j2 1.3KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <clientConfig version="1.1">
  3. {% for vd in virtual_domains %}
  4. <emailProvider id="{{ vd.name }}">
  5. <domain>{{ vd.name }}</domain>
  6. <displayName>{{ vd.name }}</displayName>
  7. <displayShortName>{{ vd.name }}</displayShortName>
  8. <incomingServer type="imap">
  9. <hostname>{{ mail_server_subdomain }}.{{ vd.name }}</hostname>
  10. <port>993</port>
  11. <socketType>SSL</socketType>
  12. <authentication>password-cleartext</authentication>
  13. <username>%EMAILADDRESS%</username>
  14. </incomingServer>
  15. <incomingServer type="pop3">
  16. <hostname>{{ mail_server_subdomain }}.{{ vd.name }}</hostname>
  17. <port>995</port>
  18. <socketType>SSL</socketType>
  19. <authentication>password-cleartext</authentication>
  20. <username>%EMAILADDRESS%</username>
  21. </incomingServer>
  22. <outgoingServer type="smtp">
  23. <hostname>{{ mail_server_subdomain }}.{{ vd.name }}</hostname>
  24. <port>587</port>
  25. <socketType>STARTTLS</socketType>
  26. <authentication>password-cleartext</authentication>
  27. <username>%EMAILADDRESS%</username>
  28. </outgoingServer>
  29. </emailProvider>
  30. {% endfor %}
  31. </clientConfig>