1

Topic: unsupported dictionary type

1.7.4 MARIADB edition.
Downloaded installer
Rocky Linux 10
MySQL
Nginx
No

Good day, just installed on RL 10 fresh IRedMail and got such warning

Jun 20 07:55:25 mx postfix/postscreen[2527]: warning: btree:/var/lib/postfix/postscreen_cache is unavailable. unsupported dictionary type: btree
Jun 20 07:55:25 mx postfix/postscreen[2527]: warning: btree:/var/lib/postfix/postscreen_cache: cache lookup for '209.85.208.53' failed due to error

Is it normal?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: unsupported dictionary type

Postfix package offered by CentOS/Rocky/Alma 10 drop hash support, replaced by lmdb.

How to fix it

Replace all `hash:` by `lmdb:` in /etc/postfix/main.cf, then run "postmap lmdb:<path-to-file>" to generate database files required by Postfix.

3

Re: unsupported dictionary type

Wait a second, "btree"?
hmm, give me few minutes to test this issue.

4

Re: unsupported dictionary type

Please append this line to /etc/postfix/main.cf, then restart Postfix service:

postscreen_cache_map = lmdb:$data_directory/postscreen_cache

Notes:

- iRedMail-1.7.4 doesn't set this postscreen_cache_map parameter in main.cf, but Postfix has default value "btree:$data_directory/postscreen_cache", this is why it uses btree.

- Postfix will generate file postscreen_cache.db automatically.

Please report whether it works for you or not.