Advertisement
relma2

davmail

Feb 27th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. # DavMail settings, see http://davmail.sourceforge.net/ for documentation
  2.  
  3. #############################################################
  4. # Basic settings
  5.  
  6. # Server or workstation mode
  7. davmail.server=true
  8. # Exchange/Office 365 connection mode:
  9. # - O365Modern Office 365 modern authentication (Oauth2)
  10. # - O365Interactive Office 365 with interactive browser window, not available in headless mode (OpenJFX required)
  11. # - O365Manual Office 365 with interactive dialog, not available in headless mode
  12. # - O365 Office 365 EWS mode
  13. # - EWS Exchange 2007 and later
  14. # - WebDav Exchange 2007 and earliear WebDav mode
  15. # - Auto WebDav mode with EWS failover
  16. davmail.mode=EWS
  17. # base Exchange OWA or EWS url
  18. davmail.url=https://outlook.office365.com/EWS/Exchange.asmx
  19.  
  20. # optional: non-standard tenants
  21. #davmail.tld=us
  22. # login url, default https://login.microsoftonline.com, China https://login.chinacloudapi.cn
  23. #davmail.loginUrl=https://login.microsoftonline.com
  24. # Outlook O365 url, default https://outlook.office365.com, China https://partner.outlook.cn
  25. #davmail.outlookUrl=https://outlook.office365.com
  26.  
  27. # Listener ports
  28. davmail.caldavPort=1080
  29. davmail.imapPort=1143
  30. davmail.ldapPort=1389
  31. davmail.popPort=1110
  32. davmail.smtpPort=1025
  33.  
  34. # Optional: separate file to store Oauth tokens
  35. #davmail.oauth.tokenFilePath=
  36. # update stored refresh token after each authentication
  37. #davmail.oauth.persistToken=
  38.  
  39. #############################################################
  40. # Network settings
  41.  
  42. # Network proxy settings
  43. davmail.enableProxy=false
  44. davmail.useSystemProxies=false
  45. davmail.proxyHost=
  46. davmail.proxyPort=
  47. davmail.proxyUser=
  48. davmail.proxyPassword=
  49.  
  50. # proxy exclude list
  51. davmail.noProxyFor=
  52.  
  53. # allow remote connection to DavMail
  54. davmail.allowRemote=true
  55. # bind server sockets to a specific address
  56. davmail.bindAddress=
  57. # client connection timeout in seconds - default 300, 0 to disable
  58. davmail.clientSoTimeout=
  59.  
  60. # DavMail listeners SSL configuration
  61. davmail.ssl.keystoreType=
  62. davmail.ssl.keystoreFile=
  63. davmail.ssl.keystorePass=
  64. davmail.ssl.keyPass=
  65.  
  66. # Accept specified certificate even if invalid according to trust store
  67. davmail.server.certificate.hash=
  68.  
  69. # disable SSL for specified listeners
  70. davmail.ssl.nosecurecaldav=false
  71. davmail.ssl.nosecureimap=false
  72. davmail.ssl.nosecureldap=false
  73. davmail.ssl.nosecurepop=false
  74. davmail.ssl.nosecuresmtp=false
  75.  
  76. # disable update check
  77. davmail.disableUpdateCheck=true
  78.  
  79. # Send keepalive character during large folder and messages download
  80. davmail.enableKeepAlive=true
  81. # Message count limit on folder retrieval
  82. davmail.folderSizeLimit=0
  83. # Default windows domain for NTLM and basic authentication
  84. davmail.defaultDomain=
  85.  
  86. #############################################################
  87. # Caldav settings
  88.  
  89. # override default alarm sound
  90. davmail.caldavAlarmSound=
  91. # retrieve calendar events not older than 90 days
  92. davmail.caldavPastDelay=90
  93. # EWS only: enable server managed meeting notifications
  94. davmail.caldavAutoSchedule=true
  95. # WebDav only: force event update to trigger ActiveSync clients update
  96. davmail.forceActiveSyncUpdate=false
  97.  
  98. #############################################################
  99. # IMAP settings
  100.  
  101. # Delete messages immediately on IMAP STORE \Deleted flag
  102. davmail.imapAutoExpunge=true
  103. # To enable IDLE support, set a maximum client polling delay in minutes
  104. # Clients using IDLE should poll more frequently than this delay
  105. davmail.imapIdleDelay=
  106. # Always reply to IMAP RFC822.SIZE requests with Exchange approximate message size for performance reasons
  107. davmail.imapAlwaysApproxMsgSize=
  108.  
  109. #############################################################
  110. # POP settings
  111.  
  112. # Delete messages on server after 30 days
  113. davmail.keepDelay=30
  114. # Delete messages in server sent folder after 90 days
  115. davmail.sentKeepDelay=90
  116. # Mark retrieved messages read on server
  117. davmail.popMarkReadOnRetr=false
  118.  
  119. #############################################################
  120. # SMTP settings
  121.  
  122. # let Exchange save a copy of sent messages in Sent folder
  123. davmail.smtpSaveInSent=true
  124.  
  125. #############################################################
  126. # Loggings settings
  127.  
  128. # log file path, leave empty for default path
  129. davmail.logFilePath=/var/log/davmail.log
  130. # maximum log file size, use Log4J syntax, set to 0 to use an external rotation mechanism, e.g. logrotate
  131. davmail.logFileSize=1MB
  132. # log levels
  133. log4j.logger.davmail=WARN
  134. log4j.logger.httpclient.wire=WARN
  135. log4j.logger.httpclient=WARN
  136. log4j.rootLogger=WARN
  137.  
  138. #############################################################
  139. # Workstation only settings
  140.  
  141. # smartcard access settings
  142. davmail.ssl.pkcs11Config=
  143. davmail.ssl.pkcs11Library=
  144.  
  145. # SSL settings for mutual authentication
  146. davmail.ssl.clientKeystoreType=
  147. davmail.ssl.clientKeystoreFile=
  148. davmail.ssl.clientKeystorePass=
  149.  
  150. # disable all balloon notifications
  151. davmail.disableGuiNotifications=false
  152. # disable tray icon color switch on activity
  153. davmail.disableTrayActivitySwitch=false
  154. # disable startup balloon notifications
  155. davmail.showStartupBanner=true
  156.  
  157. # enable transparent client Kerberos authentication
  158. davmail.enableKerberos=false
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement