Discussion:
scan_dir_push
(too old to reply)
Cecil Westerhof
2017-05-23 02:45:28 UTC
Permalink
When running:
postfix check
I get:
postsuper: fatal: scan_dir_push: open directory defer: Permission denied

What could be the problem?

I already tried:
postfix -c /etc/postfix set-permissions

But that did not solve the problem.
Cecil Westerhof
2017-05-23 09:10:13 UTC
Permalink
Post by Cecil Westerhof
postfix check
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
What could be the problem?
postfix -c /etc/postfix set-permissions
But that did not solve the problem.
Some extra information.

I went from an openSUSE system to a Debian 9 system.

I tried to copy and adapt my old config for the new system.

I tried:
postfix -vvvv start

That gives:
postfix: dict_lookup: html_directory = (notfound)
postfix: mac_parse: /usr/share/doc/postfix/html
postfix: dict_eval: const /usr/share/doc/postfix/html
postfix: dict_update: html_directory = /usr/share/doc/postfix/html
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script: fatal: Postfix integrity check failed!

I saw that /usr/share/doc/postfix/html did not exist, so I created it:
drwxr-xr-x 2 postfix root 4.0K May 23 10:48 html

But I still get the same error. What could be happening here?
Cecil Westerhof
2017-05-23 17:50:23 UTC
Permalink
Post by Cecil Westerhof
I went from an openSUSE system to a Debian 9 system.
I tried to copy and adapt my old config for the new system.
That was actually the problem. I installed postfix fresh and adapted the new config to the old one and that solved my problem.
Loading...