<p>Are there any free (non-GPL) libraries for .NET that provide IMAP4 server side functionality?</p>

<p>E.g. handles the socket level and message handshaking so that an IMAP4 client (such as outlook) can retrieve, read, edit and/or delete messages.  </p>

<p>I am not trying to connect to an IMAP4 server, I'd like the assistance to implement one.</p>

[{'answer_id': 66839, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>I\'m not sure if you have tried Indy (previously a set of Delphi components) - although I am not sure if they do IMAP4 as their web page is a bit blank, as is their CodePlex hub. Go to <a href="http://indy-project.org" rel="nofollow noreferrer">their website</a>. Other than that I\'m not sure - even <a href="http://google.co.uk/search?q=c#+imap4+server" rel="nofollow noreferrer">Google</a> only shows clients.</p>\n'}, {'answer_id': 67130, 'author': 'Ray Hayes', 'author_id': 7093, 'author_profile': 'https://Stackoverflow.com/users/7093', 'pm_score': 3, 'selected': True, 'text': '<p>I know I\'m answering my own question, but after yet more searching I think I may have found something matching my needs:</p>\n\n<p><a href="http://nmailserver.sourceforge.net/index.php/Main_Page" rel="nofollow noreferrer">NMail</a></p>\n\n<p>Features</p>\n\n<ul>\n<li>NMail is a 100% .net application.</li>\n<li>A Windows installer and setup wizard.</li>\n<li>ASP.net Webmail.</li>\n<li>An ASP.net administration site.</li>\n</ul>\n\n<p>IMAP Server Features</p>\n\n<ul>\n<li>Support for ACLs.</li>\n<li>NTLM authentication (Secure Password Authentication (SPA) under Outlook and Outlook Express).</li>\n<li>Support for SSL/TLS encryption.</li>\n<li>SASL plain authentication support (when using an encrypted session).</li>\n</ul>\n\n<p>SMTP Server Features</p>\n\n<ul>\n<li>Support for SSL/TLS encryption.</li>\n<li>Flexible API for filtering and altering messages. E.g. To remove spam or to rewrite addresses, etc.</li>\n</ul>\n'}, {'answer_id': 299845, 'author': 'Martin Vobr', 'author_id': 16132, 'author_profile': 'https://Stackoverflow.com/users/16132', 'pm_score': 0, 'selected': False, 'text': '<p>You can check <a href="http://www.lumisoft.ee/lswww/ENG/Products/Mail_Server/mail_index_eng.aspx?type=info" rel="nofollow noreferrer">Lumisoft Mail Server</a>. The license is FREEWARE.</p>\n\n<p>General:</p>\n\n<pre><code>* SMTP/POP3/IMAP4/WebMail\n* IP access filtering\n* User mailbox size limit\n* Supports XML or MSSQL databases\n* Nice GUI for administation\n* Well commented source code included\n</code></pre>\n\n<p>SMTP:</p>\n\n<pre><code>* All basic smtp features\n*  Supports multiple domains\n*  Supports multiple e-address for one mailbox\n*  Supports aliases(Mailing lists). Supports public and private \n   (needs authentication) lists.\n*  Supports email routing. eg *ivar* pattern routes all addresses containing \n   ivar to specified mailbox or remote address\n*  SMTP AUTH (LOGIN CRAM-MD5) (supported authentication types)\n*  SMTP SIZE, PIPELINING, 8BITMIME, CHUNCKING support\n*  SMTP custom message filters\n*  Relay can be controlled by IP access or authentication\n</code></pre>\n\n<p>POP3:</p>\n\n<pre><code>* All basic pop3 features\n* APOP command for secure authentication\n* POP3 AUTH (LOGIN CRAM-MD5) (supported authentication types)\n* POP3 remote accounts\n</code></pre>\n\n<p>WebMail (ASP.NET):</p>\n\n<pre><code>* Standalone webmail, can be used any with IMAP based mailserver\n* Supports XML or MSSQL databases\n* Multiple UI languages\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/66743', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7093/']