I never expected to get a positive answer for my request... I received a patch... incredible!
Let me emphasize again that I am not promising to support this or to ensure it works with new releases.
I'm new to this list... did you submit your patch to the maintainer of UW-IMAP in the past? It could be part of the default release but only activated by some configuration option.
No. I did not.
I don't even know if the UW-IMAP devleopment team is interested in input of this sort from the user community. I only joined this mailing list recently myself.