The UW IMAP4 server is more complicated, and will take a bit more work. The UW IMAP4 server also provides a POP2 and POP3 emulators, the qpopper code could thus be removed with no loss of functionality.
The changes required to this program would take two days.