mox/mox-
Mechiel Lukkien 03c3f56a59
add basic tests for the ctl subcommands, and fix two small bugs
this doesn't really test the output of the ctl commands, just that they succeed
without error. better than nothing...

testing found two small bugs, that are not an issue in practice:

1. we were ack'ing streamed data from the other side of the ctl connection
before having read it. when there is no buffer space on the connection (always
the case for net.Pipe) that would cause a deadlock. only actually happened
during the new tests.

2. the generated dkim keys are relatively to the directory of the dynamic
config file. mox looked it up relative to the directory of the _static_ config
file at startup. this directory is typicaly the same. users would have noticed
if they had triggered this.
2023-07-02 14:18:50 +02:00
..
admin.go add basic tests for the ctl subcommands, and fix two small bugs 2023-07-02 14:18:50 +02:00
cid.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00
config.go tweak to error message when loading configuration file 2023-06-24 10:12:25 +02:00
dir.go mox! 2023-01-30 14:27:06 +01:00
doc.go mox! 2023-01-30 14:27:06 +01:00
ip.go mox! 2023-01-30 14:27:06 +01:00
lastknown.go mox! 2023-01-30 14:27:06 +01:00
lifecycle.go open tls keys/certificate as root, pass fd's to the unprivileged child process 2023-05-31 14:09:53 +02:00
lifecycle_test.go add funtionality to import zip/tgz with maildirs/mboxes to account page 2023-02-16 09:57:27 +01:00
limitauth.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
lookup.go in smtpserver, accept delivery to postmaster@<hostname>, and also postmaster@ addresses for domains that don't have a postmaster address configured. 2023-04-24 12:04:46 +02:00
msgid.go mox! 2023-01-30 14:27:06 +01:00
rand.go support cram-md5 authentication for imap and smtp 2023-02-05 16:29:03 +01:00
recvid.go mox! 2023-01-30 14:27:06 +01:00
sleep.go mox! 2023-01-30 14:27:06 +01:00
tlsinfo.go mox! 2023-01-30 14:27:06 +01:00