On 6/21/19 3:47 PM, Matus UHLAR - fantomas wrote:
On 6/21/19 4:32 PM, John Gateley wrote:
This is Debian 9, with a fresh install of postfix,
postfix-policyd-spf-python and postfix-pcre packages.
I am getting the following error:

root@elephant:/etc/postfix# postmap -q foo
pcre:/etc/postfix/header_checks.pcre
postmap: warning: unsupported dictionary type: pcre (no/postfix-pcre.so:
No such file or directory)
postmap: fatal: unsupported dictionary type: pcre
root@elephant:/etc/postfix#

strange, no postfix installation by hand, but was the package configures?
try running:

dpkg --configure -a
dpkg-reconfigure postfix-pcre

if that helps

No luck (and the pcre package is installed):

root@elephant:~# dpkg -l | grep pcre
ii  libpcre3:amd64                2:8.39-3 amd64        Old Perl 5 Compatible Regular Expression Library - runtime files ii  postfix-pcre                  3.1.12-0+deb9u1 amd64        PCRE map support for Postfix
root@elephant:~# dpkg --configure -a
root@elephant:~# dpkg-reconfigure postfix-pcre
Removing pcre map entry from /etc/postfix/dynamicmaps.cf
Adding pcre map entry to /etc/postfix/dynamicmaps.cf
root@elephant:~# postmap -q foo pcre:/etc/postfix/header_checks.pcre
postmap: warning: unsupported dictionary type: pcre (no/postfix-pcre.so: No such file or directory)
postmap: fatal: unsupported dictionary type: pcre
root@elephant:~#

Thank you

John

Reply via email to