Visual Studio 2005 SP1とMicrosoft Platform SDKがインストール済みのWindows 2000マシンにて。
1.ダウンロードしたソース(今ならimap-2006e.tar.Z)を展開。
2.スタートメニューから
 Microsoft Platform SDK for Windows Server 2003 SP1
  →Open Build Environment Window
   →Windows 2000 Build Environment(この辺はXP,Server 2003等々色々あるので選択)
    →Set Windows 2000 Build Environment (Retail)
     を選択してDOS窓開く
3.ソースを展開したディレクトリで
>nmake -f makefile.w2k
4.完成

     The resulting binaries will be:
	imap-2006\mtest\mtest.exe	(testbed client)
	imap-2006\ipopd\ipop2d.exe	POP2 server
	imap-2006\ipopd\ipop3d.exe	POP3 server
	imap-2006\imapd\imapd.exe	IMAP4rev1 server

 が出来る。imapd.exeだけでOK。
 Unix発のソフトにしては珍しく何のトラブルも無く一発でビルドに成功。Makefileも編集要らず。
ちなみに
docs\BUILD

     To build under Windows Me/2000/XP, connect to the imap-2006 directory and do:
	nmake -f makefile.w2k
The resulting binaries will support SSL and Microsoft Kerberos, using the
official, documented, Microsoft interfaces.  Note, however, that these
binaries will not run under Windows 95, Windows 98, or Windows NT4.

VC++ 2005でコンパイルしてるので、他所のPCに持っていくには
http://www.vector.co.jp/soft/win95/util/se390159.html
が必要かも。とりあえずMSVCR80.DLLは必須。
5.改造時
 後述の通り、おそらく必ず\src\osdep\nt\env_nt.c を改造することになる。
 ・env_nt.cを書き換えただけではnmakeに捕捉されない(src\c-clinet\にコピーされた方を見てしまっている)ので、nmake -f makefile.w2k cleanでクリーンしてから再ビルドすること。
 ・printfの出力がそのままクライアントに返るらしいので、DEBUG用に適当に挿入すると困った事になるので注意。