dovecot: fix iteration in ERB for ruby 1.9