Per COPYING: Everything is LGPLv2.1 (see COPYING.LGPL) unless otherwise mentioned at the beginning of the file. Almost everything in src/lib/ is with MIT license.
fixed in dovecot-0.99.10.4. License field in spec file changed from GPL to LGPL. Was just built into dist-fc3-HEAD.