Commit graph

434 commits

Author SHA1 Message Date
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
mdecimus 20a74e787f Allow only one journald tracer (closes #375) 2024-04-23 19:55:19 +02:00
mdecimus 0bd908c8c1 authenticated_as variable not usable for must-match-sender (closes #372) 2024-04-23 18:58:56 +02:00
mdecimus 5838b61c80 Fixed BOGUS_ENCRYPTED_AND_TEXT spam filter rule 2024-04-23 18:44:07 +02:00
Teal 5885eaf3f8
Update stalwart-mail.service (#373)
systemd deprecated `syslog` output and automatically converts it to `journal`. Making the change in the unit file will silence the warning notice on service (re)start.
2024-04-22 17:41:32 +02:00
mdecimus 4f375a4883 Use 16kb page size on Linux aarch64 (closes #289) 2024-04-18 17:15:15 +02:00
mdecimus 7663d96d28 Use 16kb page size on Linux aarch64 (closes #289) 2024-04-18 17:05:38 +02:00
mdecimus 4c873d8407 Stress testing scripts 2024-04-18 16:13:21 +02:00
mdecimus 7c71fc6818 Merge branch 'main' of github.com:stalwartlabs/mail-server 2024-04-18 11:13:32 +02:00
mdecimus 03c0a6e328 Fix parsing of IPv6 DNS server addresses 2024-04-18 11:13:20 +02:00
Jean-Yves 1b95773379
Update lookup.rs (#359)
Add "groupOfUniqueNames"
2024-04-17 22:37:20 +02:00
mdecimus 3cc3b726ea v0.7.2 2024-04-17 16:00:50 +02:00
mdecimus 929d84468f Support for DNS-01 and HTTP-01 ACME challenges (closes #226) 2024-04-17 09:55:19 +02:00
mdecimus 0267f28156 Configurable external resources (closes #355) 2024-04-15 13:50:47 +02:00
mdecimus 35fcfb8c81 Fix: Fails to start when Elasticsearch is down/starting up (closes #334) 2024-04-14 19:44:28 +02:00
mdecimus f5faa87916 CI: Generate a separate artifact for FDB 2024-04-12 20:00:54 +02:00
mdecimus 7832601bc4 CI: Generate a separate artifact for FDB 2024-04-12 19:53:56 +02:00
mdecimus d876033c1a Use cross-compilation for CI, build the Docker image from source (#85) 2024-04-12 16:35:00 +02:00