mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-24 11:56:28 +03:00
Maximum message size 32MB
This commit is contained in:
@@ -175,7 +175,7 @@ func main() {
|
||||
localServer := smtp.NewServer(localBackend)
|
||||
localServer.Addr = *smtpaddr
|
||||
localServer.Domain = hex.EncodeToString(pk)
|
||||
localServer.MaxMessageBytes = 1024 * 1024
|
||||
localServer.MaxMessageBytes = 1024 * 1024 * 32
|
||||
localServer.MaxRecipients = 50
|
||||
localServer.AllowInsecureAuth = true
|
||||
localServer.EnableAuth(sasl.Login, func(conn *smtp.Conn) sasl.Server {
|
||||
@@ -203,7 +203,7 @@ func main() {
|
||||
|
||||
overlayServer := smtp.NewServer(overlayBackend)
|
||||
overlayServer.Domain = hex.EncodeToString(pk)
|
||||
overlayServer.MaxMessageBytes = 1024 * 1024
|
||||
overlayServer.MaxMessageBytes = 1024 * 1024 * 32
|
||||
overlayServer.MaxRecipients = 50
|
||||
overlayServer.AuthDisabled = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user