diff --git a/develop.txt b/develop.txt index d004c45..a43bfcc 100644 --- a/develop.txt +++ b/develop.txt @@ -170,6 +170,7 @@ testing purposes. - Test upgrades. - Run fuzzing tests for a while. - Deploy to test environment. Test the update instructions. +- Test localserve. - Generate a config with quickstart, check if it results in a working setup. - Send and receive email through the major webmail providers, check headers. - Send and receive email with imap4/smtp clients. diff --git a/localserve.go b/localserve.go index 23892d1..4bffe5b 100644 --- a/localserve.go +++ b/localserve.go @@ -74,6 +74,8 @@ during those commands instead of during "data". log := mlog.New("localserve") + mox.FilesImmediate = true + // Load config, creating a new one if needed. if _, err := os.Stat(dir); err != nil && os.IsNotExist(err) { err := writeLocalConfig(log, dir) @@ -115,7 +117,6 @@ during those commands instead of during "data". // Tell queue it shouldn't be queuing/delivering. queue.Localserve = true - mox.FilesImmediate = true const mtastsdbRefresher = false const skipForkExec = true if err := start(mtastsdbRefresher, skipForkExec); err != nil {