Postfix unable to do regex database maps

Using alpine-1.9.0_alpha16 090706. Trying to do a regex transport map like this one:
line in /etc/postfix/main.cf
transport_maps = regex:/etc/postfix/transport

Hash maps work ok. Haven’t tried dbm.

Have installed both postfix and postfix-pcre packages.
Was working on alpha13. Now that I have upgraded it is broken.

Errors below.

Jul 16 20:22:36 localhost mail.crit postfix/trivial-rewrite[3736]: fatal: dict_open: unsupported dictionary type: regex: Is the postfix-regex package installed?
Jul 16 20:22:37 localhost mail.warn postfix/master[3653]: warning: process /usr/lib/postfix/trivial-rewrite pid 3736 exit status 1
Jul 16 20:22:37 localhost mail.warn postfix/master[3653]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup — throttling

(from redmine: issue id 66, created on 2009-07-16, closed on 2009-08-19)

  • Changesets:
    • Revision 3ac865d7 on 2009-07-17T11:05:46Z:
extra/postfix: pcre handles regexp as well

Fixes #66
  • Revision e3749017 on 2009-07-20T12:33:28Z:
extra/postfix: fix for regex dynamic map

fixes #66