Commit graph

5 commits

Author SHA1 Message Date
f7e9b84d95 refactor: move log messages to after the sync
Summary:
When interacting with external programs there is not a lot you can do if the
log messages is before the sync. By having the message after the sync this will
allow you to update mail indexes when new messages come in.

This is used right now with the emacs mu4e plugin. Its used to watch messages
then update mu when new messages arrive in a mailbox.

Test Plan:
This has been used locally for some time now. Its not a functional change
anyway.

Reviewers: AdeAttwood

Reviewed By: AdeAttwood

Differential Revision: https://ph.baln.co.uk/D4
2024-07-23 22:04:33 +01:00
716c605bee docs: add the readme 2024-06-22 11:05:00 +01:00
30d34ce171 feat: move over to using the "mbwatch" group for watchers
Now mbwatch will look for a group called "mbwatch" to find what channels and
mailboxes to watch. This allows the user to be move specific in what they are
watching. You don't always need to watch the "INBOX" nor do you have to watch
all of the channels you have setup in with mbsync.

The config will need to be defined in the `Channels` prop on the group. It
needs to be a comma separated of channels and mailboxes. This is an example of
the config.

```
Group mbwatch
Channels work:INBOX, work:Archive, personal:INBOX
```
2024-06-22 07:58:35 +01:00
7549d36192 feat: support port config and cert file
Summary:

This will now support a port config in the IMAPStore of the config. This is
still optional and will fall back to 993 if you don't have it.

It will also ignore tls verification if we have a CertificateFile config
option. This will take a bit of refactoring to implement our own tls context
so, for now we will disable it. As we have put in the comment, if the user
really wants this then they can configure this in there root store.


Test Plan:

N / A this tool is not tested yet
2024-06-21 19:00:08 +01:00
5126594966 chore: initial commit 2024-06-21 11:19:36 +01:00