Commit Graph

947 Commits

Author SHA1 Message Date
holger krekel 7d9b81863f refining the entry point, more info, more directly speaking to DC users
(we don't want to get arbitrary users to report issues)
2023-11-15 20:48:30 +01:00
missytake af90d0a7de rename doveauth-dictproxy to doveauth 2023-11-15 15:00:27 +01:00
link2xt 322bc9a3aa Set critical flag on generated CAA record
This does not really matter as Let's Encrypt
supports current CAA `issue` syntax,
but may be useful if more records are added and this flag is copy-pasted.

For reference: <https://www.rfc-editor.org/rfc/rfc8659#name-critical-flag>
2023-11-13 15:12:32 +00:00
link2xt e4009854dc Add NOTIFY capability
Delta Chat does not use it now,
but should: <https://github.com/deltachat/deltachat-core-rust/issues/4983>
Having no capability will confuse whoever develops it.
2023-11-12 20:41:29 +01:00
link2xt 9e14a741c3 Autoformat tests with black 2023-11-08 20:29:44 +00:00
link2xt 01fcb9ae0e Fix None dereference in benchmarks 2023-11-08 20:29:21 +00:00
link2xt 064f6d36ad Fix path in scripts/bench.sh 2023-11-08 20:23:14 +00:00
holger krekel 6b3590e7c8 test: test concurrent user creation 2023-11-08 19:36:38 +00:00
link2xt 251aac18fb fix(dictproxy): check that user exists and create it in a transaction
Otherwise user may be already created by another connection
as checking if the user exists happens
in a different read-only transaction.
This happens when Delta Chat connects IMAP and SMTP at the same time.

Also update last_login time on login.
2023-11-08 19:34:17 +00:00
link2xt f46bf2f670 Remove authentication logs from dictproxy
They log the passwords and make it difficult to spot actual exceptions.
2023-11-07 21:04:33 +01:00
missytake 40a88c7fc6 nginx: move config to own directory 2023-11-05 01:32:21 +01:00
holger krekel 8791e7735d simplify history of nine branch 2023-11-01 23:15:25 +01:00
holger krekel 248f67dcf6 fix nocreate location 2023-11-01 22:42:38 +01:00
holger krekel a24df735d4 streamline README, port some changes/additions from nine-branch 2023-11-01 22:42:38 +01:00
holger krekel 7d0797c510 streamline account creation and add tests
also incorporates nine.testrun.org user policies
2023-11-01 21:57:43 +01:00
holger krekel 3a9db729f8 simplify sysctl call 2023-10-31 22:03:03 +01:00
holger krekel 7eb86cba34 increase inotify limits for dovecot 2023-10-31 22:03:03 +01:00
link2xt 5633c0612e dovecot: increase number of simultaneous connections handled by imap-login
Otherwise deltachat core CI running fails with "Connection queue full"
error on IMAP connections.
2023-10-29 19:09:33 +00:00
holger krekel d5912b909c fix benchmark script 2023-10-28 16:50:24 +02:00
link2xt f75eb0658c Require that passwords are at least 10 characters long 2023-10-28 13:38:15 +00:00
link2xt 7c5ec1e0df Add scripts/generate-dns-zone.sh 2023-10-24 21:23:20 +00:00
holger krekel 11ebc4623c somehow this deploy.sh adpatation was missing from main, not sure why 2023-10-24 23:19:40 +02:00
missytake cf29053389 added full path to tox 2023-10-24 23:19:27 +02:00
holger krekel 1e7d0d10f5 follow link2xt advise and don't check subject/body at all -- turns out there were no tests anyway. 2023-10-22 14:59:37 +02:00
holger krekel 3dd94cbe69 passes the test 2023-10-22 14:59:37 +02:00
holger krekel ed1b2f9da1 add a failing test for read receipts between two instances 2023-10-22 14:59:37 +02:00
link2xt 7ee84b44df Use tox -c option 2023-10-22 14:48:30 +02:00
link2xt 02205246dd Setup deltachat dependency in init.sh 2023-10-22 14:48:30 +02:00
holger krekel fcd3194eb1 run tests via scripts 2023-10-22 14:48:30 +02:00
holger krekel bdef189ce1 try to run all offline tests in CI 2023-10-22 14:48:30 +02:00
holger krekel 3058ddc542 fix init.sh and test.sh
use tox for chatmaild non-online tests
2023-10-22 14:48:30 +02:00
holger krekel bada933fef add missing file 2023-10-22 14:48:30 +02:00
holger krekel 1d74b94162 rename fixture to maildata and rename doveauth 2023-10-22 14:48:30 +02:00
holger krekel eee6d0c871 more maildata shifting 2023-10-22 14:48:30 +02:00
holger krekel ed5e37f1fa move all inlined mails to a data directory 2023-10-22 14:48:30 +02:00
holger krekel 364300274e move all tests into a root "tests" folder so they can share setup and config 2023-10-22 14:48:30 +02:00
holger krekel 848b25c790 add marker dynamically to allow "pytest" to execute nicely at repo root without warnings 2023-10-20 23:07:18 +02:00
holger krekel 107d10ace4 rename test files to be unambigously numbered 2023-10-20 23:07:18 +02:00
holger krekel 83e6a42252 slight refinement for benchmark formatting, not worth a PR 2023-10-20 18:43:06 +02:00
link2xt eb69dd58f7 Setup CI 2023-10-20 15:18:17 +02:00
link2xt 31c45f951d dictproxy: use crypt instead of doveadm pw 2023-10-20 14:05:25 +02:00
holger krekel 3012bfb79d some reformatting and striking overall 2023-10-20 11:05:58 +02:00
holger krekel 03442bc115 some improvements, adding a bnech 2023-10-20 11:05:58 +02:00
holger krekel 1ae6291d06 add ping-pong bench and formatting 2023-10-20 11:05:58 +02:00
holger krekel 1b347f97a0 better benchmarking and reporting 2023-10-20 11:05:58 +02:00
link2xt 902f98c9ba Set syslog name for reinject proxy 2023-10-19 03:22:27 +00:00
link2xt 89311063f8 Turn filtermail into a beforequeue handler and implement rate limit 2023-10-19 03:04:00 +00:00
link2xt 1cdc5d1351 Revert "open a persistent client between the BeforeQueueHandler and postfix smtpd without content filter"
This reverts commit fb2ea27477.
2023-10-19 02:22:38 +00:00
link2xt 30680cb170 filtermail: port is args[0], not args[1] 2023-10-19 02:22:30 +00:00
link2xt c514fb00a3 Import SMTP from aiosmtpd.lmtp, not aiosmtpd.smtp 2023-10-19 02:22:15 +00:00