diff --git a/localserve.go b/localserve.go index cfcc082..d2fd61d 100644 --- a/localserve.go +++ b/localserve.go @@ -16,6 +16,7 @@ import ( "os" "os/signal" "path/filepath" + "runtime" "syscall" "time" @@ -144,7 +145,7 @@ during those commands instead of during "data". if err := start(mtastsdbRefresher, sendDMARCReports, sendTLSReports, skipForkExec); err != nil { log.Fatalx("starting mox", err) } - golog.Printf("mox, version %s", moxvar.Version) + golog.Printf("mox, version %s, %s %s/%s", moxvar.Version, runtime.Version(), runtime.GOOS, runtime.GOARCH) golog.Print("") golog.Printf("the default user is mox@localhost, with password moxmoxmox") golog.Printf("the default admin password is moxadmin") diff --git a/main.go b/main.go index 8e99144..9d51a8e 100644 --- a/main.go +++ b/main.go @@ -2863,6 +2863,7 @@ func cmdVersion(c *cmd) { c.Usage() } fmt.Println(moxvar.Version) + fmt.Printf("%s %s/%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH) } // todo: should make it possible to run this command against a running mox. it should disconnect existing clients for accounts with a bumped uidvalidity, so they will reconnect and refetch the data.