Announcing cyrus-user-map, a local recipient map generator for Postfix

Stefan Schmidt listreader at
Tue Mar 10 04:59:21 EDT 2009

Hi Farzad,

On Tuesday 10 March 2009 00:25:42 Farzad FARID wrote:
> Having just deployed a Cyrus Imap server with Postfix, with only
> virtual users and no Unix or LDAP based imap accounts, I needed a way
> to generate a local recipient map for Postfix. This map is used by
> Postfix to identify existing email accounts and correctly reject
> incoming mail received for unknown recipients (as in
> So I wrote a little tool that generates and update this map
> automatically, with the help of cron. You can download the script and
> documentation from my website
>map-generate-cyrus-user-map-postfix or from GitHub:

Nice thing, but just out of curiosity, why don't you use postfix' 
recipient verification mechanism?
In smtp_recipient_restrictions add reject_unverified_recipient at a 
reasonable position in these restrictions. Everything else 
automagically happens.


Stefan Schmidt		listreader at

More information about the Info-cyrus mailing list