mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
03c3f56a59
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. |
||
---|---|---|
.. | ||
admin.go | ||
cid.go | ||
config.go | ||
dir.go | ||
doc.go | ||
ip.go | ||
lastknown.go | ||
lifecycle.go | ||
lifecycle_test.go | ||
limitauth.go | ||
lookup.go | ||
msgid.go | ||
rand.go | ||
recvid.go | ||
sleep.go | ||
tlsinfo.go |