From c4c32efb04a030c37104dd7052b7eefbe4de1054 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Fri, 9 Dec 2016 15:41:35 +0100 Subject: [PATCH] Folder structure reconstruction --- MailServer/MailServer.sln => MailServer.sln | 0 MailServer/{MailServer => }/Configuration.cs | 2 +- MailServer/{MailServer => }/DNS/DnsErrorCode.cs | 0 MailServer/{MailServer => }/DNS/DnsHeaderFlag.cs | 0 MailServer/{MailServer => }/DNS/DnsMessageHandler.cs | 0 MailServer/{MailServer => }/DNS/DnsName.cs | 0 MailServer/{MailServer => }/DNS/DnsOpCode.cs | 0 MailServer/{MailServer => }/DNS/DnsQueryResponse.cs | 0 MailServer/{MailServer => }/DNS/DnsQuestion.cs | 0 MailServer/{MailServer => }/DNS/DnsRequestHeader.cs | 0 MailServer/{MailServer => }/DNS/DnsResponseCode.cs | 0 MailServer/{MailServer => }/DNS/DnsResponseHeader.cs | 0 MailServer/{MailServer => }/DNS/DnsUdpMessageHandler.cs | 0 MailServer/{MailServer => }/DNS/LookupClient.cs | 0 MailServer/{MailServer => }/DNS/NameServer.cs | 0 MailServer/{MailServer => }/DNS/Protocol/DnsDatagramReader.cs | 0 MailServer/{MailServer => }/DNS/Protocol/DnsDatagramWriter.cs | 0 MailServer/{MailServer => }/DNS/Protocol/DnsRecordFactory.cs | 0 MailServer/{MailServer => }/DNS/Protocol/DnsRequestMessage.cs | 0 MailServer/{MailServer => }/DNS/Protocol/DnsResourceRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/DnsResponseMessage.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/ARecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/AaaaRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/CaaRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/EmptyRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/MXRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/NsRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/PtrRecord.cs | 0 .../DNS/Protocol/Record/ResourceRecordCollectionExtensions.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/SoaRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/SrvRecord.cs | 0 MailServer/{MailServer => }/DNS/Protocol/Record/TxtRecord.cs | 0 MailServer/{MailServer => }/DNS/QueryClass.cs | 0 MailServer/{MailServer => }/DNS/QueryType.cs | 0 MailServer/{MailServer => }/DNS/ResourceRecordType.cs | 0 MailServer/{MailServer => }/DNS/ResponseCache.cs | 0 MailServer/{MailServer => }/DNS/TaskExtensions.cs | 0 MailServer/{MailServer => }/DNS/project.json | 0 MailServer/{MailServer => }/DNSClient/DnsHelpers.cs | 0 MailServer/{MailServer => }/DNSClient/Enums/NsClass.cs | 0 MailServer/{MailServer => }/DNSClient/Enums/NsFlags.cs | 0 MailServer/{MailServer => }/DNSClient/Enums/NsType.cs | 0 MailServer/{MailServer => }/DNSClient/Enums/TcpServices.cs | 0 MailServer/{MailServer => }/DNSClient/Enums/UdpServices.cs | 0 MailServer/{MailServer => }/DNSClient/Query/DnsQueryBase.cs | 0 MailServer/{MailServer => }/DNSClient/Query/DnsQueryRequest.cs | 0 .../{MailServer => }/DNSClient/Query/DnsQueryResponse.cs | 0 MailServer/{MailServer => }/DNSClient/Records/ARecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/AaaaRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/AfsdbRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/AtmaRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/BaseDnsRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/CNameRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/HInfoRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/IDnsRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/IsdnRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/LocRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/MInfoRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/MbRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/MgRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/MrRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/MxRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/NsRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/PtrRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/RecordFactory.cs | 0 MailServer/{MailServer => }/DNSClient/Records/RecordHeader.cs | 0 MailServer/{MailServer => }/DNSClient/Records/RpRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/RtRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/SoaRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/SrvRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/TSigRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/TxtRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/UnknownRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/WksRecord.cs | 0 MailServer/{MailServer => }/DNSClient/Records/X25Record.cs | 0 .../DNSClient/Security/IMessageSecurityProvider.cs | 0 .../DNSClient/Security/TsigMessageSecurityProvider.cs | 0 MailServer/{MailServer => }/DNSClient/Tools.cs | 0 MailServer/{MailServer => }/Database.cs | 0 MailServer/{MailServer => }/DatabaseHelper.cs | 0 .../{MailServer => }/Exceptions/NoMailsInQueueException.cs | 0 MailServer/{MailServer => }/Exceptions/NotFoundException.cs | 0 MailServer/{MailServer => }/Exceptions/PortUsedException.cs | 0 MailServer/{MailServer => }/GetDNSEntries.cs | 0 MailServer/{MailServer => }/Logging/Logging.cs | 0 MailServer/{MailServer => }/Mail.cs | 0 MailServer/{MailServer => }/MailQueue.cs | 0 MailServer/{MailServer => }/MailServer.csproj | 0 MailServer/{MailServer => }/MailTransferAgent.cs | 0 MailServer/{MailServer => }/PortListener.cs | 0 MailServer/{MailServer => }/Program.cs | 3 ++- MailServer/{MailServer => }/Properties/launchSettings.json | 0 MailServer/{MailServer => }/SMTPServer/MTACommands.cs | 0 MailServer/{MailServer => }/SMTPServer/SmtpCommand.cs | 0 MailServer/{MailServer => }/SMTPServer/SmtpPortListener.cs | 0 MailServer/{MailServer => }/SMTPServer/SmtpServerSession.cs | 2 ++ MailServer/{MailServer => }/SMTPServer/SmtpSession.cs | 0 MailServer/{MailServer => }/StartTcpConnection.cs | 0 98 files changed, 5 insertions(+), 2 deletions(-) rename MailServer/MailServer.sln => MailServer.sln (100%) rename MailServer/{MailServer => }/Configuration.cs (82%) rename MailServer/{MailServer => }/DNS/DnsErrorCode.cs (100%) rename MailServer/{MailServer => }/DNS/DnsHeaderFlag.cs (100%) rename MailServer/{MailServer => }/DNS/DnsMessageHandler.cs (100%) rename MailServer/{MailServer => }/DNS/DnsName.cs (100%) rename MailServer/{MailServer => }/DNS/DnsOpCode.cs (100%) rename MailServer/{MailServer => }/DNS/DnsQueryResponse.cs (100%) rename MailServer/{MailServer => }/DNS/DnsQuestion.cs (100%) rename MailServer/{MailServer => }/DNS/DnsRequestHeader.cs (100%) rename MailServer/{MailServer => }/DNS/DnsResponseCode.cs (100%) rename MailServer/{MailServer => }/DNS/DnsResponseHeader.cs (100%) rename MailServer/{MailServer => }/DNS/DnsUdpMessageHandler.cs (100%) rename MailServer/{MailServer => }/DNS/LookupClient.cs (100%) rename MailServer/{MailServer => }/DNS/NameServer.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/DnsDatagramReader.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/DnsDatagramWriter.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/DnsRecordFactory.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/DnsRequestMessage.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/DnsResourceRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/DnsResponseMessage.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/ARecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/AaaaRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/CaaRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/EmptyRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/MXRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/NsRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/PtrRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/ResourceRecordCollectionExtensions.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/SoaRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/SrvRecord.cs (100%) rename MailServer/{MailServer => }/DNS/Protocol/Record/TxtRecord.cs (100%) rename MailServer/{MailServer => }/DNS/QueryClass.cs (100%) rename MailServer/{MailServer => }/DNS/QueryType.cs (100%) rename MailServer/{MailServer => }/DNS/ResourceRecordType.cs (100%) rename MailServer/{MailServer => }/DNS/ResponseCache.cs (100%) rename MailServer/{MailServer => }/DNS/TaskExtensions.cs (100%) rename MailServer/{MailServer => }/DNS/project.json (100%) rename MailServer/{MailServer => }/DNSClient/DnsHelpers.cs (100%) rename MailServer/{MailServer => }/DNSClient/Enums/NsClass.cs (100%) rename MailServer/{MailServer => }/DNSClient/Enums/NsFlags.cs (100%) rename MailServer/{MailServer => }/DNSClient/Enums/NsType.cs (100%) rename MailServer/{MailServer => }/DNSClient/Enums/TcpServices.cs (100%) rename MailServer/{MailServer => }/DNSClient/Enums/UdpServices.cs (100%) rename MailServer/{MailServer => }/DNSClient/Query/DnsQueryBase.cs (100%) rename MailServer/{MailServer => }/DNSClient/Query/DnsQueryRequest.cs (100%) rename MailServer/{MailServer => }/DNSClient/Query/DnsQueryResponse.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/ARecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/AaaaRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/AfsdbRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/AtmaRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/BaseDnsRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/CNameRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/HInfoRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/IDnsRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/IsdnRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/LocRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/MInfoRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/MbRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/MgRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/MrRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/MxRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/NsRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/PtrRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/RecordFactory.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/RecordHeader.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/RpRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/RtRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/SoaRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/SrvRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/TSigRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/TxtRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/UnknownRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/WksRecord.cs (100%) rename MailServer/{MailServer => }/DNSClient/Records/X25Record.cs (100%) rename MailServer/{MailServer => }/DNSClient/Security/IMessageSecurityProvider.cs (100%) rename MailServer/{MailServer => }/DNSClient/Security/TsigMessageSecurityProvider.cs (100%) rename MailServer/{MailServer => }/DNSClient/Tools.cs (100%) rename MailServer/{MailServer => }/Database.cs (100%) rename MailServer/{MailServer => }/DatabaseHelper.cs (100%) rename MailServer/{MailServer => }/Exceptions/NoMailsInQueueException.cs (100%) rename MailServer/{MailServer => }/Exceptions/NotFoundException.cs (100%) rename MailServer/{MailServer => }/Exceptions/PortUsedException.cs (100%) rename MailServer/{MailServer => }/GetDNSEntries.cs (100%) rename MailServer/{MailServer => }/Logging/Logging.cs (100%) rename MailServer/{MailServer => }/Mail.cs (100%) rename MailServer/{MailServer => }/MailQueue.cs (100%) rename MailServer/{MailServer => }/MailServer.csproj (100%) rename MailServer/{MailServer => }/MailTransferAgent.cs (100%) rename MailServer/{MailServer => }/PortListener.cs (100%) rename MailServer/{MailServer => }/Program.cs (98%) rename MailServer/{MailServer => }/Properties/launchSettings.json (100%) rename MailServer/{MailServer => }/SMTPServer/MTACommands.cs (100%) rename MailServer/{MailServer => }/SMTPServer/SmtpCommand.cs (100%) rename MailServer/{MailServer => }/SMTPServer/SmtpPortListener.cs (100%) rename MailServer/{MailServer => }/SMTPServer/SmtpServerSession.cs (98%) rename MailServer/{MailServer => }/SMTPServer/SmtpSession.cs (100%) rename MailServer/{MailServer => }/StartTcpConnection.cs (100%) diff --git a/MailServer/MailServer.sln b/MailServer.sln similarity index 100% rename from MailServer/MailServer.sln rename to MailServer.sln diff --git a/MailServer/MailServer/Configuration.cs b/MailServer/Configuration.cs similarity index 82% rename from MailServer/MailServer/Configuration.cs rename to MailServer/Configuration.cs index fb90f2d..a7bc0c6 100644 --- a/MailServer/MailServer/Configuration.cs +++ b/MailServer/Configuration.cs @@ -7,7 +7,7 @@ namespace MailServer public class Configuration { public const string Hostname = "localhost"; - public const bool STARTTLS_Active = true; + public const bool STARTTLS_Active = false; public const int MaxMessageSizeInKb = 500000; } } diff --git a/MailServer/MailServer/DNS/DnsErrorCode.cs b/MailServer/DNS/DnsErrorCode.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsErrorCode.cs rename to MailServer/DNS/DnsErrorCode.cs diff --git a/MailServer/MailServer/DNS/DnsHeaderFlag.cs b/MailServer/DNS/DnsHeaderFlag.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsHeaderFlag.cs rename to MailServer/DNS/DnsHeaderFlag.cs diff --git a/MailServer/MailServer/DNS/DnsMessageHandler.cs b/MailServer/DNS/DnsMessageHandler.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsMessageHandler.cs rename to MailServer/DNS/DnsMessageHandler.cs diff --git a/MailServer/MailServer/DNS/DnsName.cs b/MailServer/DNS/DnsName.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsName.cs rename to MailServer/DNS/DnsName.cs diff --git a/MailServer/MailServer/DNS/DnsOpCode.cs b/MailServer/DNS/DnsOpCode.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsOpCode.cs rename to MailServer/DNS/DnsOpCode.cs diff --git a/MailServer/MailServer/DNS/DnsQueryResponse.cs b/MailServer/DNS/DnsQueryResponse.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsQueryResponse.cs rename to MailServer/DNS/DnsQueryResponse.cs diff --git a/MailServer/MailServer/DNS/DnsQuestion.cs b/MailServer/DNS/DnsQuestion.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsQuestion.cs rename to MailServer/DNS/DnsQuestion.cs diff --git a/MailServer/MailServer/DNS/DnsRequestHeader.cs b/MailServer/DNS/DnsRequestHeader.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsRequestHeader.cs rename to MailServer/DNS/DnsRequestHeader.cs diff --git a/MailServer/MailServer/DNS/DnsResponseCode.cs b/MailServer/DNS/DnsResponseCode.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsResponseCode.cs rename to MailServer/DNS/DnsResponseCode.cs diff --git a/MailServer/MailServer/DNS/DnsResponseHeader.cs b/MailServer/DNS/DnsResponseHeader.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsResponseHeader.cs rename to MailServer/DNS/DnsResponseHeader.cs diff --git a/MailServer/MailServer/DNS/DnsUdpMessageHandler.cs b/MailServer/DNS/DnsUdpMessageHandler.cs similarity index 100% rename from MailServer/MailServer/DNS/DnsUdpMessageHandler.cs rename to MailServer/DNS/DnsUdpMessageHandler.cs diff --git a/MailServer/MailServer/DNS/LookupClient.cs b/MailServer/DNS/LookupClient.cs similarity index 100% rename from MailServer/MailServer/DNS/LookupClient.cs rename to MailServer/DNS/LookupClient.cs diff --git a/MailServer/MailServer/DNS/NameServer.cs b/MailServer/DNS/NameServer.cs similarity index 100% rename from MailServer/MailServer/DNS/NameServer.cs rename to MailServer/DNS/NameServer.cs diff --git a/MailServer/MailServer/DNS/Protocol/DnsDatagramReader.cs b/MailServer/DNS/Protocol/DnsDatagramReader.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/DnsDatagramReader.cs rename to MailServer/DNS/Protocol/DnsDatagramReader.cs diff --git a/MailServer/MailServer/DNS/Protocol/DnsDatagramWriter.cs b/MailServer/DNS/Protocol/DnsDatagramWriter.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/DnsDatagramWriter.cs rename to MailServer/DNS/Protocol/DnsDatagramWriter.cs diff --git a/MailServer/MailServer/DNS/Protocol/DnsRecordFactory.cs b/MailServer/DNS/Protocol/DnsRecordFactory.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/DnsRecordFactory.cs rename to MailServer/DNS/Protocol/DnsRecordFactory.cs diff --git a/MailServer/MailServer/DNS/Protocol/DnsRequestMessage.cs b/MailServer/DNS/Protocol/DnsRequestMessage.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/DnsRequestMessage.cs rename to MailServer/DNS/Protocol/DnsRequestMessage.cs diff --git a/MailServer/MailServer/DNS/Protocol/DnsResourceRecord.cs b/MailServer/DNS/Protocol/DnsResourceRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/DnsResourceRecord.cs rename to MailServer/DNS/Protocol/DnsResourceRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/DnsResponseMessage.cs b/MailServer/DNS/Protocol/DnsResponseMessage.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/DnsResponseMessage.cs rename to MailServer/DNS/Protocol/DnsResponseMessage.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/ARecord.cs b/MailServer/DNS/Protocol/Record/ARecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/ARecord.cs rename to MailServer/DNS/Protocol/Record/ARecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/AaaaRecord.cs b/MailServer/DNS/Protocol/Record/AaaaRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/AaaaRecord.cs rename to MailServer/DNS/Protocol/Record/AaaaRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/CaaRecord.cs b/MailServer/DNS/Protocol/Record/CaaRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/CaaRecord.cs rename to MailServer/DNS/Protocol/Record/CaaRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/EmptyRecord.cs b/MailServer/DNS/Protocol/Record/EmptyRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/EmptyRecord.cs rename to MailServer/DNS/Protocol/Record/EmptyRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/MXRecord.cs b/MailServer/DNS/Protocol/Record/MXRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/MXRecord.cs rename to MailServer/DNS/Protocol/Record/MXRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/NsRecord.cs b/MailServer/DNS/Protocol/Record/NsRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/NsRecord.cs rename to MailServer/DNS/Protocol/Record/NsRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/PtrRecord.cs b/MailServer/DNS/Protocol/Record/PtrRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/PtrRecord.cs rename to MailServer/DNS/Protocol/Record/PtrRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/ResourceRecordCollectionExtensions.cs b/MailServer/DNS/Protocol/Record/ResourceRecordCollectionExtensions.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/ResourceRecordCollectionExtensions.cs rename to MailServer/DNS/Protocol/Record/ResourceRecordCollectionExtensions.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/SoaRecord.cs b/MailServer/DNS/Protocol/Record/SoaRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/SoaRecord.cs rename to MailServer/DNS/Protocol/Record/SoaRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/SrvRecord.cs b/MailServer/DNS/Protocol/Record/SrvRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/SrvRecord.cs rename to MailServer/DNS/Protocol/Record/SrvRecord.cs diff --git a/MailServer/MailServer/DNS/Protocol/Record/TxtRecord.cs b/MailServer/DNS/Protocol/Record/TxtRecord.cs similarity index 100% rename from MailServer/MailServer/DNS/Protocol/Record/TxtRecord.cs rename to MailServer/DNS/Protocol/Record/TxtRecord.cs diff --git a/MailServer/MailServer/DNS/QueryClass.cs b/MailServer/DNS/QueryClass.cs similarity index 100% rename from MailServer/MailServer/DNS/QueryClass.cs rename to MailServer/DNS/QueryClass.cs diff --git a/MailServer/MailServer/DNS/QueryType.cs b/MailServer/DNS/QueryType.cs similarity index 100% rename from MailServer/MailServer/DNS/QueryType.cs rename to MailServer/DNS/QueryType.cs diff --git a/MailServer/MailServer/DNS/ResourceRecordType.cs b/MailServer/DNS/ResourceRecordType.cs similarity index 100% rename from MailServer/MailServer/DNS/ResourceRecordType.cs rename to MailServer/DNS/ResourceRecordType.cs diff --git a/MailServer/MailServer/DNS/ResponseCache.cs b/MailServer/DNS/ResponseCache.cs similarity index 100% rename from MailServer/MailServer/DNS/ResponseCache.cs rename to MailServer/DNS/ResponseCache.cs diff --git a/MailServer/MailServer/DNS/TaskExtensions.cs b/MailServer/DNS/TaskExtensions.cs similarity index 100% rename from MailServer/MailServer/DNS/TaskExtensions.cs rename to MailServer/DNS/TaskExtensions.cs diff --git a/MailServer/MailServer/DNS/project.json b/MailServer/DNS/project.json similarity index 100% rename from MailServer/MailServer/DNS/project.json rename to MailServer/DNS/project.json diff --git a/MailServer/MailServer/DNSClient/DnsHelpers.cs b/MailServer/DNSClient/DnsHelpers.cs similarity index 100% rename from MailServer/MailServer/DNSClient/DnsHelpers.cs rename to MailServer/DNSClient/DnsHelpers.cs diff --git a/MailServer/MailServer/DNSClient/Enums/NsClass.cs b/MailServer/DNSClient/Enums/NsClass.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Enums/NsClass.cs rename to MailServer/DNSClient/Enums/NsClass.cs diff --git a/MailServer/MailServer/DNSClient/Enums/NsFlags.cs b/MailServer/DNSClient/Enums/NsFlags.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Enums/NsFlags.cs rename to MailServer/DNSClient/Enums/NsFlags.cs diff --git a/MailServer/MailServer/DNSClient/Enums/NsType.cs b/MailServer/DNSClient/Enums/NsType.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Enums/NsType.cs rename to MailServer/DNSClient/Enums/NsType.cs diff --git a/MailServer/MailServer/DNSClient/Enums/TcpServices.cs b/MailServer/DNSClient/Enums/TcpServices.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Enums/TcpServices.cs rename to MailServer/DNSClient/Enums/TcpServices.cs diff --git a/MailServer/MailServer/DNSClient/Enums/UdpServices.cs b/MailServer/DNSClient/Enums/UdpServices.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Enums/UdpServices.cs rename to MailServer/DNSClient/Enums/UdpServices.cs diff --git a/MailServer/MailServer/DNSClient/Query/DnsQueryBase.cs b/MailServer/DNSClient/Query/DnsQueryBase.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Query/DnsQueryBase.cs rename to MailServer/DNSClient/Query/DnsQueryBase.cs diff --git a/MailServer/MailServer/DNSClient/Query/DnsQueryRequest.cs b/MailServer/DNSClient/Query/DnsQueryRequest.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Query/DnsQueryRequest.cs rename to MailServer/DNSClient/Query/DnsQueryRequest.cs diff --git a/MailServer/MailServer/DNSClient/Query/DnsQueryResponse.cs b/MailServer/DNSClient/Query/DnsQueryResponse.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Query/DnsQueryResponse.cs rename to MailServer/DNSClient/Query/DnsQueryResponse.cs diff --git a/MailServer/MailServer/DNSClient/Records/ARecord.cs b/MailServer/DNSClient/Records/ARecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/ARecord.cs rename to MailServer/DNSClient/Records/ARecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/AaaaRecord.cs b/MailServer/DNSClient/Records/AaaaRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/AaaaRecord.cs rename to MailServer/DNSClient/Records/AaaaRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/AfsdbRecord.cs b/MailServer/DNSClient/Records/AfsdbRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/AfsdbRecord.cs rename to MailServer/DNSClient/Records/AfsdbRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/AtmaRecord.cs b/MailServer/DNSClient/Records/AtmaRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/AtmaRecord.cs rename to MailServer/DNSClient/Records/AtmaRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/BaseDnsRecord.cs b/MailServer/DNSClient/Records/BaseDnsRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/BaseDnsRecord.cs rename to MailServer/DNSClient/Records/BaseDnsRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/CNameRecord.cs b/MailServer/DNSClient/Records/CNameRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/CNameRecord.cs rename to MailServer/DNSClient/Records/CNameRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/HInfoRecord.cs b/MailServer/DNSClient/Records/HInfoRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/HInfoRecord.cs rename to MailServer/DNSClient/Records/HInfoRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/IDnsRecord.cs b/MailServer/DNSClient/Records/IDnsRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/IDnsRecord.cs rename to MailServer/DNSClient/Records/IDnsRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/IsdnRecord.cs b/MailServer/DNSClient/Records/IsdnRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/IsdnRecord.cs rename to MailServer/DNSClient/Records/IsdnRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/LocRecord.cs b/MailServer/DNSClient/Records/LocRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/LocRecord.cs rename to MailServer/DNSClient/Records/LocRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/MInfoRecord.cs b/MailServer/DNSClient/Records/MInfoRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/MInfoRecord.cs rename to MailServer/DNSClient/Records/MInfoRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/MbRecord.cs b/MailServer/DNSClient/Records/MbRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/MbRecord.cs rename to MailServer/DNSClient/Records/MbRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/MgRecord.cs b/MailServer/DNSClient/Records/MgRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/MgRecord.cs rename to MailServer/DNSClient/Records/MgRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/MrRecord.cs b/MailServer/DNSClient/Records/MrRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/MrRecord.cs rename to MailServer/DNSClient/Records/MrRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/MxRecord.cs b/MailServer/DNSClient/Records/MxRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/MxRecord.cs rename to MailServer/DNSClient/Records/MxRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/NsRecord.cs b/MailServer/DNSClient/Records/NsRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/NsRecord.cs rename to MailServer/DNSClient/Records/NsRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/PtrRecord.cs b/MailServer/DNSClient/Records/PtrRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/PtrRecord.cs rename to MailServer/DNSClient/Records/PtrRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/RecordFactory.cs b/MailServer/DNSClient/Records/RecordFactory.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/RecordFactory.cs rename to MailServer/DNSClient/Records/RecordFactory.cs diff --git a/MailServer/MailServer/DNSClient/Records/RecordHeader.cs b/MailServer/DNSClient/Records/RecordHeader.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/RecordHeader.cs rename to MailServer/DNSClient/Records/RecordHeader.cs diff --git a/MailServer/MailServer/DNSClient/Records/RpRecord.cs b/MailServer/DNSClient/Records/RpRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/RpRecord.cs rename to MailServer/DNSClient/Records/RpRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/RtRecord.cs b/MailServer/DNSClient/Records/RtRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/RtRecord.cs rename to MailServer/DNSClient/Records/RtRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/SoaRecord.cs b/MailServer/DNSClient/Records/SoaRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/SoaRecord.cs rename to MailServer/DNSClient/Records/SoaRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/SrvRecord.cs b/MailServer/DNSClient/Records/SrvRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/SrvRecord.cs rename to MailServer/DNSClient/Records/SrvRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/TSigRecord.cs b/MailServer/DNSClient/Records/TSigRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/TSigRecord.cs rename to MailServer/DNSClient/Records/TSigRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/TxtRecord.cs b/MailServer/DNSClient/Records/TxtRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/TxtRecord.cs rename to MailServer/DNSClient/Records/TxtRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/UnknownRecord.cs b/MailServer/DNSClient/Records/UnknownRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/UnknownRecord.cs rename to MailServer/DNSClient/Records/UnknownRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/WksRecord.cs b/MailServer/DNSClient/Records/WksRecord.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/WksRecord.cs rename to MailServer/DNSClient/Records/WksRecord.cs diff --git a/MailServer/MailServer/DNSClient/Records/X25Record.cs b/MailServer/DNSClient/Records/X25Record.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Records/X25Record.cs rename to MailServer/DNSClient/Records/X25Record.cs diff --git a/MailServer/MailServer/DNSClient/Security/IMessageSecurityProvider.cs b/MailServer/DNSClient/Security/IMessageSecurityProvider.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Security/IMessageSecurityProvider.cs rename to MailServer/DNSClient/Security/IMessageSecurityProvider.cs diff --git a/MailServer/MailServer/DNSClient/Security/TsigMessageSecurityProvider.cs b/MailServer/DNSClient/Security/TsigMessageSecurityProvider.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Security/TsigMessageSecurityProvider.cs rename to MailServer/DNSClient/Security/TsigMessageSecurityProvider.cs diff --git a/MailServer/MailServer/DNSClient/Tools.cs b/MailServer/DNSClient/Tools.cs similarity index 100% rename from MailServer/MailServer/DNSClient/Tools.cs rename to MailServer/DNSClient/Tools.cs diff --git a/MailServer/MailServer/Database.cs b/MailServer/Database.cs similarity index 100% rename from MailServer/MailServer/Database.cs rename to MailServer/Database.cs diff --git a/MailServer/MailServer/DatabaseHelper.cs b/MailServer/DatabaseHelper.cs similarity index 100% rename from MailServer/MailServer/DatabaseHelper.cs rename to MailServer/DatabaseHelper.cs diff --git a/MailServer/MailServer/Exceptions/NoMailsInQueueException.cs b/MailServer/Exceptions/NoMailsInQueueException.cs similarity index 100% rename from MailServer/MailServer/Exceptions/NoMailsInQueueException.cs rename to MailServer/Exceptions/NoMailsInQueueException.cs diff --git a/MailServer/MailServer/Exceptions/NotFoundException.cs b/MailServer/Exceptions/NotFoundException.cs similarity index 100% rename from MailServer/MailServer/Exceptions/NotFoundException.cs rename to MailServer/Exceptions/NotFoundException.cs diff --git a/MailServer/MailServer/Exceptions/PortUsedException.cs b/MailServer/Exceptions/PortUsedException.cs similarity index 100% rename from MailServer/MailServer/Exceptions/PortUsedException.cs rename to MailServer/Exceptions/PortUsedException.cs diff --git a/MailServer/MailServer/GetDNSEntries.cs b/MailServer/GetDNSEntries.cs similarity index 100% rename from MailServer/MailServer/GetDNSEntries.cs rename to MailServer/GetDNSEntries.cs diff --git a/MailServer/MailServer/Logging/Logging.cs b/MailServer/Logging/Logging.cs similarity index 100% rename from MailServer/MailServer/Logging/Logging.cs rename to MailServer/Logging/Logging.cs diff --git a/MailServer/MailServer/Mail.cs b/MailServer/Mail.cs similarity index 100% rename from MailServer/MailServer/Mail.cs rename to MailServer/Mail.cs diff --git a/MailServer/MailServer/MailQueue.cs b/MailServer/MailQueue.cs similarity index 100% rename from MailServer/MailServer/MailQueue.cs rename to MailServer/MailQueue.cs diff --git a/MailServer/MailServer/MailServer.csproj b/MailServer/MailServer.csproj similarity index 100% rename from MailServer/MailServer/MailServer.csproj rename to MailServer/MailServer.csproj diff --git a/MailServer/MailServer/MailTransferAgent.cs b/MailServer/MailTransferAgent.cs similarity index 100% rename from MailServer/MailServer/MailTransferAgent.cs rename to MailServer/MailTransferAgent.cs diff --git a/MailServer/MailServer/PortListener.cs b/MailServer/PortListener.cs similarity index 100% rename from MailServer/MailServer/PortListener.cs rename to MailServer/PortListener.cs diff --git a/MailServer/MailServer/Program.cs b/MailServer/Program.cs similarity index 98% rename from MailServer/MailServer/Program.cs rename to MailServer/Program.cs index eefd59f..b391e87 100644 --- a/MailServer/MailServer/Program.cs +++ b/MailServer/Program.cs @@ -1,5 +1,6 @@ using DnsClient; using System; +using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; @@ -14,7 +15,7 @@ namespace SMTPServer var response = request.ResolveAsync("fabianstamm.de", DnDns.Enums.NsType.MX, DnDns.Enums.NsClass.ANY, System.Net.Sockets.ProtocolType.Tcp); OutputResults(response);*/ - + TcpClient s = new TcpClient(); var l = new MailServer.SMTPServer.SmtpPortListener(25); diff --git a/MailServer/MailServer/Properties/launchSettings.json b/MailServer/Properties/launchSettings.json similarity index 100% rename from MailServer/MailServer/Properties/launchSettings.json rename to MailServer/Properties/launchSettings.json diff --git a/MailServer/MailServer/SMTPServer/MTACommands.cs b/MailServer/SMTPServer/MTACommands.cs similarity index 100% rename from MailServer/MailServer/SMTPServer/MTACommands.cs rename to MailServer/SMTPServer/MTACommands.cs diff --git a/MailServer/MailServer/SMTPServer/SmtpCommand.cs b/MailServer/SMTPServer/SmtpCommand.cs similarity index 100% rename from MailServer/MailServer/SMTPServer/SmtpCommand.cs rename to MailServer/SMTPServer/SmtpCommand.cs diff --git a/MailServer/MailServer/SMTPServer/SmtpPortListener.cs b/MailServer/SMTPServer/SmtpPortListener.cs similarity index 100% rename from MailServer/MailServer/SMTPServer/SmtpPortListener.cs rename to MailServer/SMTPServer/SmtpPortListener.cs diff --git a/MailServer/MailServer/SMTPServer/SmtpServerSession.cs b/MailServer/SMTPServer/SmtpServerSession.cs similarity index 98% rename from MailServer/MailServer/SMTPServer/SmtpServerSession.cs rename to MailServer/SMTPServer/SmtpServerSession.cs index b05004e..53d6507 100644 --- a/MailServer/MailServer/SMTPServer/SmtpServerSession.cs +++ b/MailServer/SMTPServer/SmtpServerSession.cs @@ -156,7 +156,9 @@ namespace MailServer.SMTPServer if (Configuration.STARTTLS_Active) { +#pragma warning disable CS0162 // Unerreichbarer Code wurde entdeckt. SendExtensionResponse(Extensions.STARTTLS); +#pragma warning restore CS0162 // Unerreichbarer Code wurde entdeckt. } SendResponse(ResponseCodes.C250, "SIZE " + (Configuration.MaxMessageSizeInKb * 1000).ToString()); diff --git a/MailServer/MailServer/SMTPServer/SmtpSession.cs b/MailServer/SMTPServer/SmtpSession.cs similarity index 100% rename from MailServer/MailServer/SMTPServer/SmtpSession.cs rename to MailServer/SMTPServer/SmtpSession.cs diff --git a/MailServer/MailServer/StartTcpConnection.cs b/MailServer/StartTcpConnection.cs similarity index 100% rename from MailServer/MailServer/StartTcpConnection.cs rename to MailServer/StartTcpConnection.cs