remove useless port checking from mail server

This commit is contained in:
Guilherme Rugai Freire 2024-02-20 01:08:39 -03:00
parent 5767f9d594
commit 43a8d7addf
No known key found for this signature in database
GPG Key ID: AC1D9B6E48E16AC1

View File

@ -114,10 +114,6 @@ func main() {
port = 1025
}
if port == 0 {
port = 1025
}
server.Addr = fmt.Sprintf("%s:%d", domain, port)
server.Domain = domain
server.WriteTimeout = 60 * time.Second