first commit

This commit is contained in:
Timofey.Kovalev
2025-10-14 10:35:42 +03:00
commit 9972005cb5
9 changed files with 386 additions and 0 deletions

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
all: build/qmail
DEPENDS := go.sum \
cmd/main.go \
internal/config/*.go \
internal/mail/*.go
go.sum:
go mod tidy
build/qmail: $(DEPENDS)
CGO_ENABLED=0 go build -o build/qmail cmd/main.go
install: build/qmail
install -Dm755 build/qmail /usr/local/bin