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

Stefan Schmidt listreader at jsj.dyndns.org
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
> http://www.postfix.org/LOCAL_RECIPIENT_README.html).
>
> 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
> http://www.pragmatic-source.com/en/opensource/source-code/cyrus-user-
>map-generate-cyrus-user-map-postfix or from GitHub:
> http://github.com/Farzy/cyrus-user-map

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.

Greetings,

Stefan
-- 
Stefan Schmidt		listreader at jsj.dyndns.org


More information about the Info-cyrus mailing list