Commit Graph

1111 Commits

Author SHA1 Message Date
holger krekel 5d5e2b199c remove timeout support, it's not needed 2024-03-28 16:11:00 +01:00
holger krekel 989ce70f97 refine logging 2024-03-28 16:11:00 +01:00
holger krekel f5dc4cb71e more resilience 2024-03-28 16:11:00 +01:00
holger krekel 76512dfa2d move persistentdict into own file, rename 2024-03-28 16:11:00 +01:00
holger krekel 850112502f extend imap online test to cover multi-device 2024-03-28 16:11:00 +01:00
holger krekel 888fa88aa3 back to using marshal, and a filelock 2024-03-28 16:11:00 +01:00
holger krekel 15e7458666 add a persistent dict impl 2024-03-28 16:11:00 +01:00
holger krekel 0a93c76e66 add multi-token support 2024-03-28 16:11:00 +01:00
holger krekel 312f86223c fix target dir 2024-03-28 16:11:00 +01:00
holger krekel 27a60418ad use "devicetoken" consistently and take it from a var 2024-03-28 16:11:00 +01:00
holger krekel 46d31a91da properly startup metadata service and add online test for metadata 2024-03-28 16:11:00 +01:00
holger krekel a8765d8847 store metadata in a per-mbox dir 2024-03-28 16:11:00 +01:00
holger krekel 8ee6ca1b80 store tokens on a per-maildir basis 2024-03-28 16:11:00 +01:00
holger krekel 1a2b73a862 store tokens in guid-directories 2024-03-28 16:11:00 +01:00
link2xt c44f4efced Store raw tokens instead of dictionaries in metadata 2024-03-28 16:11:00 +01:00
holger krekel 9fdf4fd2af add to changelog 2024-03-26 23:37:48 +01:00
holger krekel 33353ccaf6 don't warn on hello 2024-03-26 23:37:01 +01:00
holger krekel 5fe3a269be add changelog entries 2024-03-25 17:51:15 +01:00
holger krekel 0b4770018d add a first changelog for the last week of changes 2024-03-25 17:51:15 +01:00
link2xt 75fcbd03ce echobot: ignore info messages 2024-03-25 14:38:41 +00:00
link2xt 377121bdee Fix echobot logging
Do not put log messages into format string
and enable INFO level when bot is started
via main() as it happens with systemd.
2024-03-25 14:38:41 +00:00
missytake e5e58f4e38 tests: fix quota test after log line changed 2024-03-25 13:55:53 +01:00
missytake 04517f284c acmetool: reload postfix+dovecot after cert renew.
fix #234
2024-03-25 11:36:29 +01:00
holger krekel e32fb37b5d fix some test and formatting/ruff issues 2024-03-21 16:19:54 +01:00
holger krekel 8d9019b1c5 fix runtime dovecot/sieve-compile error on every incoming message 2024-03-20 19:10:54 +01:00
holger krekel 63d3e05674 remove superflous check in tests 2024-03-20 19:10:44 +01:00
holger krekel e466a03055 fixes 2024-03-20 19:10:44 +01:00
holger krekel 1819a276cb implement persistence via marshal 2024-03-20 19:10:44 +01:00
holger krekel 9ec6430b71 make notifier take a directory 2024-03-20 19:10:44 +01:00
missytake 2097233fd6 expunge: reset maildirsize after expunging old mails 2024-03-18 07:03:06 +01:00
link2xt 4bca7891a2 Switch SPF from fail to softfail (~all instead of -all)
This is recommended to prevent SPF failure
from rejecting the message early in case messages
are remailed without breaking DKIM.
2024-03-09 20:02:29 +00:00
link2xt 2e23e743fd dovecot: increase default_client_limit 2024-03-09 14:01:00 +01:00
link2xt edc593586b Implement "iterate" command in metadata server
Otherwise Dovecot times out when trying to iterate over metadata
of the folder. Apparently it happens when attempting to delete
folder from the server over IMAP.
2024-03-08 05:39:59 +01:00
holger krekel 1e229ad2de Add tests to metadata/token handling and post notifications in background thread (#224) 2024-03-08 01:56:33 +00:00
missytake 8baee557ee make sure rsync is installed, later commands depend on it 2024-03-07 19:14:48 +01:00
link2xt 42e50b089f Push notification extension
This change adds XDELTAPUSH capability.

Delta Chat clients detecting this capability
can set /private/devicetoken IMAP metadata
on the inbox to subscribe for Apple (APNS)
notifications.

Notifications are implemented in a new
`chatmail-metadata` service
which handles requests to set /private/devicetoken
IMAP metadata from Delta Chat clients
and /private/messagenew requests from
push_notification_lua script.

To avoid sending notifications for
MDNs, webxdc updates and Delta Chat sync messages,
messages with Auto-Submitted header are ignored
by setting $Auto keyword (flag) on them in Sieve script
and skipping such messages in push_notification_lua script.
Outgoing messages are also ignored.
2024-03-06 19:00:04 +00:00
missytake e6a3fab6aa config: only block words if they are in privacy* config keys 2024-03-05 00:38:23 +01:00
holger krekel ccd6e3e99c fix bailout if there is no TXT entry 2024-03-04 20:04:11 +01:00
missytake 21778fa4f3 tests: add test that we don't leak email addresses via VRFY 2024-03-03 22:49:03 +01:00
link2xt 14342383cf Generate our own single-line DKIM entry 2024-02-17 09:34:25 +00:00
missytake 926de76010 tests: make maildata work with python3.9 2024-02-17 09:27:02 +00:00
link2xt ee25d35db1 Fix Python 3.9 support
I installed pyenv and then installed Python 3.9:
$ pyenv install 3.9
$ eval "$(pyenv init -)"
$ pyenv shell 3.9

In a clean repository I ran
$ scripts/cmdeploy init
$ scripts/cmdeploy run
$ scripts/cmdeploy dns
$ scripts/cmdeploy fmt

With the changes made all these commands work.

scripts/cmdeploy test fails some tests
using maildata fixture at
  importlib.resources.files(__package__).joinpath("mail-data")
line but this is not critical.
2024-02-17 09:27:02 +00:00
link2xt ee2115584b Run scripts/cmdeploy fmt 2024-02-15 14:07:10 +00:00
missytake 1c9c088657 tests: add test that currently no outdated mails are stored on the server 2024-02-14 12:19:12 +01:00
missytake b5afac2f1a expunge: run cronjob with vmail instead of dovecot. fix #210 2024-02-14 12:19:12 +01:00
link2xt c8d9f20a48 fix: avoid "Argument list too long" in expunge.cron
Make `find` look for accounts.
2024-02-13 07:37:23 +00:00
missytake 6a30db7ce0 tests: test that echobot replies to msg. closes #199 2024-01-31 16:45:26 +01:00
link2xt 9e9ab80422 Do not subscribe to TLS reports 2024-01-31 14:35:54 +01:00
link2xt 5b9debfbdf Test dict protocol handler as a separate function 2024-01-30 23:49:17 +00:00
link2xt 788309b85a Merge Postfix TLS hardening
https://github.com/deltachat/chatmail/pull/97
2024-01-30 18:45:34 +00:00