Moin Alain,

On 2 Nov 2021, at 12:36, aisrael wrote:

I can’t answer your question, but I was interested in the Exchange categories you mention, as I have tried for years to sync smart mailboxes between computers. I have been able to do this just for one of them, using one of the few available IMAP keywords. Can the Exchange categories help? Are they defined client side or server side? I guess in the second case it won’t help.

At first: Tags are mapped on IMAP keywords. You have to define tuples of Tag/keyword in MailMate settings. In case of Gmail they are triplets of Tag/keyword/label.

Exchange-IMAP does not support IMAP kewords. But you can use DavMail as a local Proxy. It speaks Exchange to the Exchange server and IMAP/SMTP/CalDAV/CardDAV to the clients. The clients have to be configured to speak to 127.0.0.1. This is the raw connection. The authentication and transport encryption is still done between client and server. So there is no security issue. This way Exchange categories are mapped automatically to IMAP keywords.

The "tricky" part is merely to "sync" the used Tags/IMAP keywords/Exchange categories. Unfortunately you have to do it by hand. But if there are only few changes over time it is easy to do.

On every MailMate instance you have to define your tuples. On your Exchange you can edit your Categories for instance via Outlook and maybe OWA. The IMAP keywords will be the Categories. There are no tupels to define on this side.

You just have to make sure that you do your mapping correctly on MailMate.

It may look complicated, but it is not. :) If need more information/help, please feel free to ask.

PS: I have attached my configuration for you (you have to change the server URL). It lets DavMail run in server mode. In this mode, there is no Menu Extra. In the past it did not run stable enough in GUI mode, but in server mode it is rock solid. DavMail is a kick and forget installation. :)

PPS: I have installed DavMail via Nix (a pure functional paket manager) and it starts automatically. Maybe you have to do the autostart by yourself?

--
Best regards
Mike
# DavMail settings, see http://davmail.sourceforge.net/ for documentation

#############################################################
# Basic settings

# Server (headless) or workstation (menu extra) mode
davmail.server=true
# connection mode auto, EWS or WebDav
davmail.mode=EWS
# base Exchange OWA or EWS url
davmail.url=https://mail.example.com/EWS/Exchange.asmx

# Listener ports
davmail.imapPort=1143
davmail.smtpPort=1025
davmail.caldavPort=1080
davmail.ldapPort=1389
#davmail.popPort=1110

#############################################################
# Network settings

# Network proxy settings
davmail.enableProxy=false
davmail.useSystemProxies=false
davmail.proxyHost=
davmail.proxyPort=
davmail.proxyUser=
davmail.proxyPassword=

# proxy exclude list
davmail.noProxyFor=

# allow remote connection to DavMail
davmail.allowRemote=true
# bind server sockets to a specific address
davmail.bindAddress=
# client connection timeout in seconds - default 300, 0 to disable
davmail.clientSoTimeout=

# DavMail listeners SSL configuration
davmail.ssl.keystoreType=
davmail.ssl.keystoreFile=
davmail.ssl.keystorePass=
davmail.ssl.keyPass=

# Accept specified certificate even if invalid according to trust store
davmail.server.certificate.hash=

# disable SSL for specified listeners
davmail.ssl.nosecurecaldav=false
davmail.ssl.nosecureimap=false
davmail.ssl.nosecureldap=false
davmail.ssl.nosecurepop=false
davmail.ssl.nosecuresmtp=false

# disable update check
davmail.disableUpdateCheck=true

# Send keepalive character during large folder and messages download
davmail.enableKeepalive=true
# Message count limit on folder retrieval
davmail.folderSizeLimit=0
# Default windows domain for NTLM and basic authentication
davmail.defaultDomain=

#############################################################
# Caldav settings

# override default alarm sound
davmail.caldavAlarmSound=
# retrieve calendar events not older than n days
davmail.caldavPastDelay=90
# EWS only: enable server managed meeting notifications
davmail.caldavAutoSchedule=true
# WebDav only: force event update to trigger ActiveSync clients update
davmail.forceActiveSyncUpdate=false

#############################################################
# IMAP settings

# Delete messages immediately on IMAP STORE \Deleted flag
davmail.imapAutoExpunge=true
# Enable IDLE support, set polling delay in minutes
davmail.imapIdleDelay=1
# Always reply to IMAP RFC822.SIZE requests with Exchange approximate message 
size for performance reasons
davmail.imapAlwaysApproxMsgSize=true

#############################################################
# POP settings

# Delete messages on server after 30 days
davmail.keepDelay=30
# Delete messages in server sent folder after 90 days
davmail.sentKeepDelay=90
# Mark retrieved messages read on server
davmail.popMarkReadOnRetr=false

#############################################################
# SMTP settings

# let Exchange save a copy of sent messages in Sent folder
davmail.smtpSaveInSent=false

#############################################################
# Loggings settings

# log file path, leave empty for default path
davmail.logFilePath=/var/log/davmail.log
# maximum log file size, use Log4J syntax, set to 0 to use an external rotation 
mechanism, e.g. logrotate
davmail.logFileSize=1MB
# log levels
log4j.logger.davmail=OFF
log4j.logger.httpclient.wire=OFF
log4j.logger.org.apache.commons.httpclient=OFF
log4j.rootLogger=OFF

#############################################################
# Workstation only settings

# smartcard access settings
davmail.ssl.pkcs11Config=
davmail.ssl.pkcs11Library=

# SSL settings for mutual authentication
davmail.ssl.clientKeystoreType=
davmail.ssl.clientKeystoreFile=
davmail.ssl.clientKeystorePass=

# disable all balloon notifications
davmail.disableGuiNotifications=true
# disable tray icon color switch on activity
davmail.disableTrayActivitySwitch=true
# disable startup balloon notifications
davmail.showStartupBanner=true

# enable transparent client Kerberos authentication
davmail.enableKerberos=false
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

Reply via email to