Commit graph

501 commits

Author SHA1 Message Date
mdecimus
21137080f8 DKIM exploit fix 2024-05-18 10:39:27 +02:00
mdecimus
7535caf5da Fix: JMAP identities should not return null signatures 2024-05-16 11:57:40 +02:00
mdecimus
7328ba8dd5 Range scanning of message and report queues 2024-05-15 17:42:00 +02:00
mdecimus
7baa088a19 Fixed Docker UPGRADING instructions 2024-05-15 16:02:36 +02:00
mdecimus
5ae7a0b7d4 Fixed UPGRADING 2024-05-13 16:45:50 +02:00
mdecimus
d4327af3ad Log errors during message ingestion 2024-05-13 15:36:59 +02:00
mdecimus
398b31b40b Improved full-text indexing 2024-05-12 18:15:41 +02:00
mdecimus
f4e5a0baf5 Gossip service implementation for cluster node autodiscovery with failure detection 2024-05-10 20:34:08 +02:00
mdecimus
cf6765b70d FoundationDB fixes 2024-05-10 08:04:34 +02:00
mdecimus
1e908f7737 Changed autoconfig mime type to application/xml 2024-05-09 14:44:01 +02:00
mdecimus
7e8f5fb3e9 Autoconfig testing 2024-05-09 13:14:18 +02:00
mdecimus
7a25689288 Use permanent links for blobs in the SMTP queue 2024-05-09 09:09:12 +02:00
mdecimus
e10083651b mySQL TLS support (closes #415) 2024-05-08 18:43:44 +02:00
mdecimus
a1930fa0f4 Resolve file macros after dropping root privileges (fixed tests) 2024-05-08 18:33:08 +02:00
mdecimus
53e6c352d8 Resolve file macros after dropping root privileges 2024-05-08 18:31:02 +02:00
mdecimus
8a07a8133e Fixed tests 2024-05-08 16:08:45 +02:00
mdecimus
1473d8cdcf Autoconfig and MS Autodiscover services (closes #336) 2024-05-08 16:00:54 +02:00
mdecimus
baef85e55b MTA-STS Policy management 2024-05-07 15:20:54 +02:00
mdecimus
3e9d0ae5d2 Generate TLSA Records for DANE (closes #397) 2024-05-07 10:36:57 +02:00
mdecimus
ede21dbfe8 Added certificate.* as local key default 2024-05-06 15:09:48 +02:00
mdecimus
a30843b72d Removed run-as setting 2024-05-06 14:57:50 +02:00
Lukas Lihotzki
b5a5858ec2
Drop root privileges in systemd unit (#402) 2024-05-06 14:53:04 +02:00
Meade
8c224290aa
Updated Order And Syntax Of SPF Records (#395)
* Updated order and syntax of SPF records.

* Re-added the 'ra' field and corrected the order of the SPF records to have '-all' at the end.
2024-05-06 14:44:35 +02:00
Lukas Lihotzki
67db7348e7
Fix Dockerfile.fdb (#401) 2024-05-06 14:43:49 +02:00
mdecimus
3a34d13068 Avoid duplicate accountIds when using case insensitive external directories (closes #399) 2024-05-06 14:34:28 +02:00
mdecimus
00d74abaed authenticated_as variable not usable for must-match-sender (fixes #372) 2024-05-06 14:23:52 +02:00
mdecimus
5b236e00ae Added retry_num, notify_num, last_error, last_status variables to queue expressions 2024-05-06 12:55:31 +02:00
Moritz Poldrack
54dbd9ec5e
Add Microsoft Office Macro types to bad mime types (#391)
Since these are a rather popular infection vector, mark these files as
bad.
2024-05-05 16:01:13 +02:00
Linus
0d78f66bcf
Remove StandardOutput, StandardError in service (#390)
systemd 249 (used in Ubuntu 22.04 LTS) throws the following error:

/etc/systemd/system/stalwart-mail.service:16: Standard output type
syslog is obsolete, automatically updating to journal. Please update
your unit file, and consider removing the setting altogether.

/etc/systemd/system/stalwart-mail.service:17: Standard output type
syslog is obsolete, automatically updating to journal. Please update
your unit file, and consider removing the setting altogether.

This is caused by StandardOutput=syslog and StandardError=syslog found
in install.sh, which are as the error suggests obsolete options that
should not be used.[1] They have "correct" settings in
stalwart-mail.service, but these settings are also the implicit
default, which means they are not necessary.[1]

This was patched in systemd #15812 in May, 2020.[2]

I have tested this by simply removing the values in
/etc/systemd/system/stalwart-mail.service on my server, running
'daemon-reload' and restarting the service, then confirming that logs
are still being written to journalctl as well as /opt/stalwart-mail/logs

[1]: <https://github.com/systemd/systemd/issues/15807#issuecomment-628528787>
[2]: <https://github.com/systemd/systemd/pull/15812>
2024-05-05 15:59:13 +02:00
Ward Pieters
df68ebadf8
fix(smtp): compatibility issues with Microsoft Outlook (#400) 2024-05-05 11:23:50 +02:00
mdecimus
0779fd1593 Chunk FDB imports by transaction byte limit 2024-05-04 09:05:40 +01:00
mdecimus
b2ca1e9f2d Merge 2024-05-03 11:30:17 +01:00
mdecimus
afe63c3e9d Updated import/export to use latest schema 2024-05-03 11:16:51 +01:00
mdecimus
17d203c928 View queued message contents API 2024-05-02 10:19:06 +01:00
mdecimus
c4a12e235d Master user implementation 2024-05-02 10:19:06 +01:00
mdecimus
91f674d921 Support for concurrent index updates 2024-05-02 10:19:06 +01:00
mdecimus
fb110fb078 FoundationDB performance improvements 2024-05-02 10:19:06 +01:00
mdecimus
0514ac0f0d Individual subspaces for each value and bitmap type 2024-05-02 10:19:06 +01:00
mdecimus
c6960bfba8 documentId generation within the database transaction 2024-05-02 10:18:58 +01:00
mdecimus
c003a4c2b4 View queued message contents API 2024-05-02 10:11:25 +01:00
mdecimus
6ec5956a93 Master user implementation 2024-05-01 14:39:29 +02:00
mdecimus
03332635f8 Report import/export status 2024-05-01 10:59:05 +02:00
mdecimus
1950366629 v0.7.3 2024-04-30 19:52:05 +02:00
mdecimus
592ca3ccc5 Add --help and --version command line arguments (closes #365) 2024-04-29 15:23:28 +02:00
mdecimus
2cde6f58e7 Support for concurrent index updates 2024-04-28 19:52:02 +02:00
mdecimus
58b8c5bcdb Trim spaces in DNS-01 ACME secrets (closes #382) 2024-04-28 17:58:17 +02:00
mdecimus
a93c792a9a Allow catch-all addresses when validating must match sender 2024-04-28 17:07:39 +02:00
mdecimus
d7817b9754 FoundationDB performance improvements 2024-04-28 11:20:27 +02:00
mdecimus
9bebcd9b8c Individual subspaces for each value and bitmap type 2024-04-27 10:47:36 +02:00
mdecimus
98e13667d6 documentId generation within the database transaction 2024-04-23 20:03:30 +02:00