Changes to accomodate ServerCore Updates.
This commit is contained in:
parent
385821a37e
commit
37b5a5bf4e
@ -5,7 +5,7 @@ namespace mail {
|
||||
|
||||
int __SMTP_QUIT::processCommand(coreutils::PString request, SMTPSession &session, SMTPServer &server, std::stringstream &data) {
|
||||
data << "221 " << server.hostName << CRLF;
|
||||
session.shutdown("quit request");
|
||||
session.terminate();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
2
main.cpp
2
main.cpp
@ -29,7 +29,7 @@ int main(int argc, char **argv) {
|
||||
mail::IMAPServer imapServer(ePoll, hostName, mailFileSystem, core::IPAddress(ipAddress, 143));
|
||||
core::ConsoleServer consoleServer(ePoll, core::IPAddress(ipAddress, 1027));
|
||||
consoleServer.commands.add(consoleServer.commands, "help");
|
||||
ePoll.start(4, 1000);
|
||||
ePoll.start(8, 1000);
|
||||
|
||||
while(true)
|
||||
sleep(300);
|
||||
|
Loading…
x
Reference in New Issue
Block a user