initial cc support

This commit is contained in:
Aine
2022-11-19 16:41:53 +02:00
parent ad83eab930
commit 9e532a6007
5 changed files with 84 additions and 48 deletions

View File

@@ -60,6 +60,7 @@ func (m *mailServer) Login(state *smtp.ConnectionState, username, password strin
from: username,
log: m.log,
domains: m.domains,
tos: []string{},
}, nil
}
@@ -80,6 +81,7 @@ func (m *mailServer) AnonymousLogin(state *smtp.ConnectionState) (smtp.Session,
log: m.log,
domains: m.domains,
addr: state.RemoteAddr,
tos: []string{},
}, nil
}