Commit Graph

76 Commits

Author SHA1 Message Date
link2xt 3d00ca1672 doveauth: add support for Dovecot 2.3.16 2023-12-18 19:44:11 +00:00
holger krekel 359c195419 count ci accounts correctly 2023-12-16 17:06:13 +01:00
link2xt 92ca3283fd Add metrics 2023-12-14 22:22:10 +00:00
missytake 39550d3096 small fixes 2023-12-14 19:11:43 +01:00
missytake 070003b983 dovecot: deleting mails with find instead of doveadm expunge 2023-12-14 19:11:43 +01:00
missytake 049ed79e59 dovecot: unconditionally delete all mails after 40 days 2023-12-14 19:11:43 +01:00
Floris Bruynooghe 8a338f1320 Use more characters for passwords (#124)
This expands the character set used for passwords generated for new
accounts.  The set it taken from the set used by the pass tool.  The
special characters is the full GNU grep [:punct:] set.
2023-12-14 11:51:22 +01:00
missytake 9c7dfdf2ff echobot: add echo bot for trying out sending 2023-12-13 22:04:30 +01:00
missytake 4551f36b85 chatmail.ini: switch username length defaults back to 9 2023-12-12 20:12:25 +01:00
missytake f2d32324e3 tests: use something.testrun.org instead of chat.example.org for 1 test 2023-12-12 20:12:25 +01:00
missytake 98fd4b61c9 tests: replace make_config with example_config, add default config params 2023-12-12 20:12:25 +01:00
missytake 74f9e7536b doveauth: fix logging statement 2023-12-12 20:12:25 +01:00
missytake 849b9d430c chatmail.ini: changed docstring must -> can
Co-authored-by: holger krekel  <holger@merlinux.eu>
2023-12-12 20:12:25 +01:00
missytake 0d0cc908c2 chatmaild: move username/password length and passthrough_senders to chatmail.ini 2023-12-12 20:12:25 +01:00
missytake 156434b952 cmdeploy: move max_mailbox_size + delete_mails_after to chatmail.ini 2023-12-12 20:12:25 +01:00
holger krekel fd10652f48 fix event waiting in a test 2023-12-11 17:07:07 +01:00
holger krekel 02918de6c1 rename mailname to mail_domain everywhere 2023-12-11 17:07:07 +01:00
holger krekel a5e4562505 move tests/chatmaild to chatmaild package, streamline tests and fixtures accordingly 2023-12-11 15:52:12 +01:00
holger krekel ffade66d97 always show which ssh-commands execute 2023-12-11 15:52:12 +01:00
holger krekel bb1b11df15 make tests depend on chatmail.ini, not env var 2023-12-11 15:52:12 +01:00
holger krekel b3fdebf8df tweak for making CI happy 2023-12-11 15:52:12 +01:00
holger krekel cb19ac34e3 add manifest so that ini files get included 2023-12-11 15:52:12 +01:00
holger krekel 5fb7833677 add status command and delete last script 2023-12-11 15:52:12 +01:00
holger krekel f388e86287 make cmdeploy test work 2023-12-11 15:52:12 +01:00
holger krekel d3ca037ebf snap 2023-12-11 15:52:12 +01:00
holger krekel 6bffb5470d add webdev sub command 2023-12-11 15:52:12 +01:00
holger krekel 81c4a6170f making it work 2023-12-11 15:52:12 +01:00
holger krekel bc27eb58bf get passthrough_recipients list from config 2023-12-11 15:52:12 +01:00
holger krekel 1b1f9365c9 various fixes 2023-12-11 15:52:12 +01:00
holger krekel d8c8040f07 introduce basic config file 2023-12-11 15:52:12 +01:00
holger krekel 652b9688d3 deploy chatmaild in a virtualenv to make it easier to add dependencies 2023-12-08 21:55:18 +01:00
missytake 32360061b4 filtermail: address hpk's comments 2023-12-08 12:23:10 +01:00
missytake 2055e9f5b8 filtermail: always allow privacy@testrun.org 2023-12-08 12:23:10 +01:00
holger krekel 8cb77d3b98 be fine with 9 chars for password already 2023-12-07 17:34:19 +01:00
holger krekel 5c9d9a98b3 works 2023-12-05 14:22:42 +01:00
holger krekel 4478270fc9 properly call logging.exception 2023-11-20 22:54:15 +01:00
holger krekel a9d43c42f4 - tune down logging for filtermail
- allow higher smtp connection limit
2023-11-20 22:54:15 +01:00
holger krekel bbf2f0dd36 with help/side-comments from alex i fixed the concurrent account creation problem 2023-11-20 22:54:15 +01:00
missytake af90d0a7de rename doveauth-dictproxy to doveauth 2023-11-15 15:00:27 +01: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
holger krekel 7d0797c510 streamline account creation and add tests
also incorporates nine.testrun.org user policies
2023-11-01 21:57:43 +01:00
link2xt f75eb0658c Require that passwords are at least 10 characters long 2023-10-28 13:38:15 +00: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 3058ddc542 fix init.sh and test.sh
use tox for chatmaild non-online tests
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
link2xt 31c45f951d dictproxy: use crypt instead of doveadm pw 2023-10-20 14:05:25 +02: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