holger krekel
a7101be284
introduce imap_rawlog option for debugging
2024-07-31 02:01:06 +02:00
holger krekel
3ee0b7e288
fix #385
2024-07-30 17:37:33 +02:00
holger krekel
fae0863633
make disable_ipv6 optional (and default to false) to not break existing chatmail.ini's unneccessarily
2024-07-28 20:38:53 +02:00
holger krekel
ac1f2dadad
introduce max_message_size config option
2024-07-28 19:51:05 +02:00
holger krekel
4858a67be1
run filtermail as dedicated user
2024-07-28 19:02:22 +02:00
holger krekel
1238ed95da
remove mailboxes_dir as default option
2024-07-28 18:17:10 +02:00
holger krekel
b32a57105d
remove "passdb_path" as default option
2024-07-28 18:17:10 +02:00
holger krekel
87d6d2d5cb
shift code around a bit and add changelog
2024-07-28 17:13:32 +02:00
holger krekel
1f96334f8e
add changelog
2024-07-28 16:30:34 +02:00
holger krekel
89c65d30d3
remove debug log
2024-07-28 11:19:03 +02:00
holger krekel
c4499d6c85
remove neccessity for FileLock on set_password
2024-07-28 11:12:00 +02:00
holger krekel
29888c2f03
create mailboxes parent directories if needed
2024-07-28 11:12:00 +02:00
holger krekel
eaff92cebc
don't use filelocks for writing password because there only is a single doveauth process anyway
2024-07-28 11:12:00 +02:00
holger krekel
4f4fd6a90c
log error when a transaction id is not there
2024-07-28 11:12:00 +02:00
holger krekel
da3eb89b67
try debug a CI failure
2024-07-28 11:12:00 +02:00
holger krekel
765f081f6f
refactor password/login-timestamp handling into a User object
2024-07-28 11:12:00 +02:00
holger krekel
5c87d69d46
simplify get_user_maildir
2024-07-28 11:12:00 +02:00
holger krekel
686f32d6b3
implement and test migration from sqlite to storing password in userdir
2024-07-28 11:12:00 +02:00
holger krekel
68a62537e1
merge lastlogin and doveauth logic to use the "password" file for both states
2024-07-28 11:12:00 +02:00
holger krekel
e3ff82544a
shift lookup methods to class for consistency
2024-07-28 11:12:00 +02:00
holger krekel
eddfadaf7f
move passwords to file in user maildir
2024-07-28 11:12:00 +02:00
holger krekel
1b3e2b32f2
only write last-login files for e-mail address directories
2024-07-28 11:12:00 +02:00
holger krekel
353d3bfb3f
introduce last-login proxy
2024-07-28 11:12:00 +02:00
holger krekel and link2xt
4a8fc84c82
Update chatmaild/src/chatmaild/delete_inactive_users.py
...
Co-authored-by: link2xt <link2xt@testrun.org >
2024-07-28 11:12:00 +02:00
holger krekel
641a6f8d2e
streamline: make Config determine uid/gid/maildir of a user
2024-07-28 11:12:00 +02:00
holger krekel
7f3996ef58
make read/write user data atomic
2024-07-28 11:12:00 +02:00
holger krekel
dd770f7e10
small streamlining
2024-07-28 11:12:00 +02:00
holger krekel
4dbb19db46
delete users from mailboxes_dir
2024-07-28 11:12:00 +02:00
holger krekel
ad151c2cc1
remove last_login
2024-07-28 11:12:00 +02:00
holger krekel
28f357b598
write last login differently
2024-07-28 11:12:00 +02:00
holger krekel
bf0f6e2303
address review comments: renamed test and using socketserver ThreadingUnixStreamServer
2024-07-22 13:51:32 +02:00
holger krekel
35a0f07887
remove startup/socket setup from metadata
2024-07-22 13:51:32 +02:00
holger krekel
52aa7cad06
make doveauth also use generic dictproxy
2024-07-22 13:51:32 +02:00
holger krekel
22d77f4680
splitout base class for dictproxy
2024-07-22 13:51:32 +02:00
holger krekel
46c34bfbea
use class for dispatching lookups
2024-07-22 13:51:32 +02:00
holger krekel
d3c29b2f6e
rename chatmail_domain to mail_domain like is used everywhere else
2024-07-16 10:34:08 +02:00
holger krekel
ef7f4965d4
add changelog entry
2024-07-16 10:34:08 +02:00
holger krekel
c593906c26
fix dns zone file comment syntax
2024-07-16 10:34:08 +02:00
holger krekel
27eea671dc
fix pyinfra run to account for new pyinfra release
2024-07-16 10:34:08 +02:00
holger krekel
79a9d2345b
more tests and refinements
2024-07-16 10:34:08 +02:00
holger krekel
c3caddcec9
separate between required and recommended entries
2024-07-16 10:34:08 +02:00
holger krekel
6d90182d2e
add DNS tests, make remote ssh-exec errors show locally, cleanup ssh-bootstrap
2024-07-16 10:34:08 +02:00
holger krekel
ea503a6075
restructure DNS checks
2024-07-16 10:34:08 +02:00
holger krekel
ffe313528e
simplify remote zone-file checking and insist for "dns" subcommand that all records are present
2024-07-16 10:34:08 +02:00
holger krekel
9b5b4c3787
- better debugging for DNS queries
...
- don't try to guess IP addresses but insist on A and AAAA records
- try to allow ipv4 or ipv6 only zones
- move chatmail.zone generation to jinja so we can have conditionals
2024-07-16 10:34:08 +02:00
holger krekel
c5bf3188a4
report back on ip determination -- deal with failure to obtain ip address
2024-07-16 10:34:08 +02:00
holger krekel
c4f46dc499
fix maildata handling after prematurely merging #369
2024-07-13 19:20:06 +02:00
holger krekel
254fe95394
postfix was hitting the "100 clients" smtp-submission connected limit (DC apps) and switched to stress mode which brings more randomness/relay to smtp-connections. We now allow 5K because it should be fine for the machine.
2024-07-13 17:19:15 +02:00
holger krekel
ac61ac082e
Revert "postfix: fix timeout to 300s on submission ports"
...
This reverts commit 39584c7b7d .
2024-07-13 16:13:54 +02:00
holger krekel
180cfb3951
get rid of xfailing test
2024-07-11 12:08:33 +02:00
holger krekel
610637da80
don't report on xfail, it's useless
2024-07-11 02:16:08 +02:00
holger krekel
73e6f5e6da
apply last review suggestions
2024-07-10 19:20:51 +02:00
holger krekel
b7e6926880
changing newline-naming as suggested
2024-07-10 19:20:51 +02:00
holger krekel
a7ef6ee35b
don't use kwargs for overrides parameter
2024-07-10 19:20:51 +02:00
holger krekel
920e062293
let config.get_user_maildir return a Path
2024-07-10 19:20:51 +02:00
holger krekel
794a0608a1
Path-ify config.mailboxes_dir
2024-07-10 19:20:51 +02:00
holger krekel
fc09653de3
remove all occurences of hardcoded /home/vmail for database and mailbox dirs
2024-07-10 19:20:51 +02:00
holger krekel
c8661fd135
introduce "mailboxes_dir" config ini option to avoid hardcoding /home/vmail/mail/....
...
in source code and to improve testability.
2024-07-10 19:20:51 +02:00
holger krekel
4b0600a453
be a bit more lenient on keeping old users
2024-07-10 00:02:34 +02:00
holger krekel
f1c10cac2b
chunked deletion
2024-07-10 00:02:34 +02:00
holger krekel
af83ca0235
ensuring int-ness of last_login
2024-07-09 19:12:55 +02:00
holger krekel
8f6870ebb7
fix and streamline deletion test
2024-07-09 19:12:55 +02:00
holger krekel
0e8bdbd3e3
streamline address deletion test
2024-07-09 19:12:55 +02:00
holger krekel
0d593c22d1
apply code review and also catch "." as username
2024-07-09 19:12:55 +02:00
holger krekel and link2xt
a1f0a3e23b
Apply suggestions from code review
...
Co-authored-by: link2xt <link2xt@testrun.org >
2024-07-09 19:12:55 +02:00
holger krekel
9b15d8de24
more precise test, streamline wording (accounts -> address)
2024-07-09 19:12:55 +02:00
holger krekel
aaa51cf234
add changelog PR link
2024-07-09 19:12:55 +02:00
holger krekel
66c7115cfc
run removal of inactive users daily
2024-07-09 19:12:55 +02:00
holger krekel
823386d824
delete inactive users works
2024-07-09 19:12:55 +02:00
holger krekel
433cb71211
basic remove-users functionality and tests
2024-07-09 19:12:55 +02:00
holger krekel
698d328620
don't do PTR reverse checking
2024-07-08 21:48:27 +02:00
holger krekel and GitHub
85bb301255
feat: faster and simpler DNS checks, better ip-address determination ( #346 )
...
* drastically reduce round-trips for dns checks, and do it during 'run' and 'dns' sub commands
* provide progress-dots for dns checks and "--verbose" for seeing what is executed remotely
* introduce ssh-mediated remote python function execution mechanism
2024-07-08 20:10:52 +02:00
holger krekel
15f79e0826
remove fix-file-owner which takes forever on servers with many mail directories
...
(it's unclear why this is still needed and should be fixed differently in any case)
2024-07-06 10:31:41 +02:00
holger krekel and GitHub
3d96f0fdfa
Support iterating over all users with doveadm commands ( #344 )
2024-07-06 01:19:57 +00:00
holger krekel
67be981176
make a more complete test
2024-06-27 15:36:39 +02:00
holger krekel
229ad15a28
fix link
2024-06-04 16:58:25 +02:00
holger krekel and missytake
b651a9046b
Apply suggestions from code review
...
Co-authored-by: missytake <missytake@systemli.org >
2024-05-30 19:03:09 +02:00
holger krekel and missytake
6b84eaf8af
Update www/src/info.md
...
Co-authored-by: missytake <missytake@systemli.org >
2024-05-30 19:03:09 +02:00
holger krekel
1b076bcd22
more refinement
2024-05-30 19:03:09 +02:00
holger krekel
30437f6c46
refine
2024-05-30 19:03:09 +02:00
holger krekel
3171e40a26
reword further
2024-05-30 19:03:09 +02:00
holger krekel
61c915995b
reworking the privacy policy entry point
2024-05-30 19:03:09 +02:00
holger krekel and missytake
6e1477666e
add precise links for dovecot unstable
2024-05-23 14:33:45 +02:00
holger krekel and missytake
468bb04149
track discussion from chat
2024-05-23 14:33:45 +02:00
holger krekel and missytake
30a23dad17
add a doc about dovecot building based on internal sysadmin docs
2024-05-23 14:33:45 +02:00
holger krekel
c1163228f6
add a test for imap capabilities offered from chatmail
2024-05-06 19:57:31 +02:00
holger krekel
8af825d7ea
add chatmail entry
2024-05-06 19:57:31 +02:00
holger krekel
0a968aae93
add XCHATMAIL marker
2024-05-06 19:57:31 +02:00
holger krekel
ecb5ef8a10
start new untagged section post 1.2.0
2024-04-04 18:30:11 +02:00
holger krekel
824c3dc1d7
prepare tagging 1.2.0
2024-04-04 18:28:35 +02:00
holger krekel
9b76d46558
refinements and fixes
2024-04-04 12:57:49 +02:00
holger krekel
cc4920ddc7
a bit of renaming
2024-04-04 12:57:49 +02:00
holger krekel
2af10175fa
ignore and remove .tmp files in notification_dir
2024-04-04 12:57:49 +02:00
holger krekel
ae455fa9e1
avoid float with time, and be safe against crashes during file writing
2024-04-04 12:57:49 +02:00
holger krekel
60d7e516dd
implemented suggestion fopr using an absolute deadline instead of retrying but choose 5 hours for now because if our own notification server is down/buggy we have at least a bit of time to fix it
2024-04-04 12:57:49 +02:00
holger krekel
bf18905e02
address typo-level review comments
2024-04-04 12:57:49 +02:00
holger krekel
4d6f520f18
finally use persistent queue items with random file names, simplifying the flows
2024-04-04 12:57:49 +02:00
holger krekel
9da626dfc8
proper doc string for Notifier
2024-04-04 12:57:49 +02:00
holger krekel
1cca9aa441
fix failing CI (uncovering real bug)
2024-04-04 12:57:49 +02:00
holger krekel
3d054847a0
split metadata and notifier into separate files
2024-04-04 12:57:49 +02:00