Hello,

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#

Any help appreciated! Thank you.

John

More info here:

Postfix packages installed:
root@elephant:/etc/postfix# dpkg -l | grep postfix
ii  postfix                       3.1.12-0+deb9u1 amd64        High-performance mail transport agent ii  postfix-pcre                  3.1.12-0+deb9u1 amd64        PCRE map support for Postfix ii  postfix-policyd-spf-python    2.0.1-1 all          Postfix policy server for SPF checking ii  postfix-sqlite                3.1.12-0+deb9u1 amd64        SQLite map support for Postfix

root@elephant:/etc/postfix# cat dynamicmaps.cf
sqlite    postfix-sqlite.so    dict_sqlite_open
pcre    postfix-pcre.so    dict_pcre_open
root@elephant:/etc/postfix#

root@elephant:/etc/postfix# postconf -n
alias_maps = hash:/etc/aliases
compatibility_level = 2
disable_vrfy_command = yes
html_directory = no
inet_protocols = ipv4, ipv6
mail_owner = postfix
message_size_limit = 26214400
meta_directory = /etc/postfix
milter_default_action = accept
milter_protocol = 6
mydestination = $myhostname, localhost
myhostname = mx.oustrencats.com
mynetworks_style = host
myorigin = $myhostname
non_smtpd_milters = inet:localhost:8001
notify_classes = resource, software
policyd-spf_time_limit = 3600
readme_directory = no
sample_directory = /etc/postfix
setgid_group = postdrop
shlib_directory = no
smtp_tls_loglevel = 1
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_cache
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_milters = inet:localhost:8001
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_invalid_helo_hostname reject_non_fqdn_helo_hostname reject_unauth_destination reject_unauth_pipelining reject_non_fqdn_sender reject_non_fqdn_recipient reject_non_fqdn_hostname reject_unknown_sender_domain reject_unknown_recipient_domain check_policy_service unix:private/policyd-spf check_sender_access hash:/etc/postfix/sender_checks reject_rbl_client zen.spamhaus.org reject_rbl_client bl.spamcop.net reject_rbl_client cbl.abuseat.org reject_rbl_client b.barracudacentral.org reject_rbl_client ee.uribl.com permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/mx.oustrencats.com.cert.pem
smtpd_tls_key_file = /etc/postfix/mx.oustrencats.com.key.pem
smtpd_tls_loglevel = 1
smtpd_tls_mandatory_ciphers = high
smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/aliases
virtual_gid_maps = hash:/etc/postfix/gid
virtual_mailbox_base = /
virtual_mailbox_domains = <snip> jfoo.org <snip>
virtual_mailbox_maps = hash:/etc/postfix/mailboxes
virtual_minimum_uid = 1000
virtual_uid_maps = hash:/etc/postfix/uid
root@elephant:/etc/postfix#

Reply via email to