mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 21:09:39 +00:00
remove useless port checking from mail server
This commit is contained in:
parent
5767f9d594
commit
43a8d7addf
@ -114,10 +114,6 @@ func main() {
|
|||||||
port = 1025
|
port = 1025
|
||||||
}
|
}
|
||||||
|
|
||||||
if port == 0 {
|
|
||||||
port = 1025
|
|
||||||
}
|
|
||||||
|
|
||||||
server.Addr = fmt.Sprintf("%s:%d", domain, port)
|
server.Addr = fmt.Sprintf("%s:%d", domain, port)
|
||||||
server.Domain = domain
|
server.Domain = domain
|
||||||
server.WriteTimeout = 60 * time.Second
|
server.WriteTimeout = 60 * time.Second
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user