#18: implement SMTP Submission (587/465), SASL PLAIN/LOGIN auth and preflight diagnostics
This commit is contained in:
1 parent
7249419efc
commit
d56f29d084
70 files changed
+5163
-659
No files matched your search
@@ -0,0 +1,12 @@
|
||||
//go:build !unix
|
||||
|
||||
package main
|
||||
|
||||
import "errors"
|
||||
|
||||
// freeDiskPercent has no portable implementation outside unix. Returning an
|
||||
// error makes the preflight report the check as skipped rather than inventing
|
||||
// a number.
|
||||
func freeDiskPercent(string) (float64, error) {
|
||||
return 0, errors.New("free disk space check is only implemented on unix")
|
||||
}
|
||||
Reference in new issue
Block a user