Just to clarify, these rules are written based off Dovecot 2.1.8 (from http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1/). 2.1.7 is currently in backports. They should still work with 1.2.15 as found in stable.