Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Scott Kitterman
On Tuesday, May 23, 2017 11:51:53 PM Bill Cole wrote: > On 23 May 2017, at 13:43, Cecil Westerhof wrote: > > 2017-05-23 19:30 GMT+02:00 Viktor Dukhovni > > > > : > >>> On May 23, 2017, at 1:22 PM, Cecil Westerhof > >>> > >> > >> wrote: > >>>

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Bill Cole
On 23 May 2017, at 13:43, Cecil Westerhof wrote: 2017-05-23 19:30 GMT+02:00 Viktor Dukhovni : On May 23, 2017, at 1:22 PM, Cecil Westerhof wrote: There are still some things I should look after, like: warning: unable to create

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 19:59 GMT+02:00 Bastian Blank < bastian+postfix-users=postfix@waldi.eu.org>: > On Tue, May 23, 2017 at 07:43:56PM +0200, Cecil Westerhof wrote: > > drw-r--r-- 2 postfix root 4.0K May 23 17:10 dev > > Please tell me you didn't see that this directory is missing some >

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 19:57 GMT+02:00 Viktor Dukhovni : > > > On May 23, 2017, at 1:43 PM, Cecil Westerhof > wrote: > > > > ​The directory itself looks also OK to me: > > ​drwx-- 2 postfix root 4.0K May 23 19:10 active > > drwx-- 2

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Bastian Blank
On Tue, May 23, 2017 at 07:43:56PM +0200, Cecil Westerhof wrote: > drw-r--r-- 2 postfix root 4.0K May 23 17:10 dev Please tell me you didn't see that this directory is missing some permissions. Bastian -- Is truth not truth for all? -- Natira, "For the World is Hollow

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Viktor Dukhovni
> On May 23, 2017, at 1:43 PM, Cecil Westerhof wrote: > > ​The directory itself looks also OK to me: > ​drwx-- 2 postfix root 4.0K May 23 19:10 active > drwx-- 2 postfix root 4.0K May 23 18:54 bounce > drwx-- 2 postfix root 4.0K May 22

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 19:30 GMT+02:00 Viktor Dukhovni : > > > On May 23, 2017, at 1:22 PM, Cecil Westerhof > wrote: > > > > > > There are still some things I should look after, like: > > warning: unable to create missing queue directories > > > > But

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Geert Stappers
On Tue, May 23, 2017 at 01:30:15PM -0400, Viktor Dukhovni wrote: > > On May 23, 2017, at 1:22 PM, Cecil Westerhof wrote: > > > > > > There are still some things I should look after, like: > > warning: unable to create missing queue directories > > > > But it is

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 19:30 GMT+02:00 Viktor Dukhovni : > > > On May 23, 2017, at 1:22 PM, Cecil Westerhof > wrote: > > > > > > There are still some things I should look after, like: > > warning: unable to create missing queue directories > > > > But

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Viktor Dukhovni
> On May 23, 2017, at 1:22 PM, Cecil Westerhof wrote: > > > There are still some things I should look after, like: > warning: unable to create missing queue directories > > But it is probably not the most urgent. Actually, that *is* your most urgent problem.

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 18:40 GMT+02:00 John Stoffel : > > Cecil> ​That was a good idea yes. I have postfix running, but I cannot > Cecil> send email to an external domain. But that is better in another > Cecil> thread I think. > > Now you need to send details of your setup from the

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread John Stoffel
Cecil> ​That was a good idea yes. I have postfix running, but I cannot Cecil> send email to an external domain. But that is better in another Cecil> thread I think. Now you need to send details of your setup from the DEBUGGING docs. postconf -n, etc. Do you have a mail server you send all email

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 16:49 GMT+02:00 Cecil Westerhof : > 2017-05-23 16:32 GMT+02:00 John Stoffel : > >> > "Wietse" == Wietse Venema writes: >> >> Wietse> DecebalICT: >> >> I went from an openSUSE system to a Debian 9 system. >> >> How did

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 16:32 GMT+02:00 John Stoffel : > > "Wietse" == Wietse Venema writes: > > Wietse> DecebalICT: > >> I went from an openSUSE system to a Debian 9 system. > > How did you do this upgrade? A clean install of Debian onto new > partitions? > ​It

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread John Stoffel
a chroot, and the Debian isn't? >> I tried to copy and adapt my old config for the new system. >> >> When running: >> postfix check >> I get: >> postsuper: fatal: scan_dir_push: open directory defer: Permission denied >> >> What could be the problem?

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 14:26 GMT+02:00 Cecil Westerhof : > Now I get: > 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 =

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
2017-05-23 14:51 GMT+02:00 Geert Stappers : > On Tue, May 23, 2017 at 02:26:26PM +0200, Cecil Westerhof wrote: > > 2017-05-23 13:38 GMT+02:00 Wietse Venema : > > > > > Check the permissions of > > > > > > /var/spool/postfix > > > /var/spool/postfix/defer

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Geert Stappers
On Tue, May 23, 2017 at 02:26:26PM +0200, Cecil Westerhof wrote: > 2017-05-23 13:38 GMT+02:00 Wietse Venema : > > > Check the permissions of > > > > /var/spool/postfix > > /var/spool/postfix/defer > > > > Except for the last directory, all above directories must have > >

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
e/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! So I get: No such file or directory Instead of: Permission

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Wietse Venema
The opendir() call fails, because the kernel returns a 'Permission denied' (EACCES) error condition. Check the permissions of / /var /var/spool /var/spool/postfix /var/spool/postfix/defer Except for the last directory, all above directories must have read and execute permission for everyone.

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Cecil Westerhof
fix check > > I get: > > postsuper: fatal: scan_dir_push: open directory defer: Permission > denied > > > > What could be the problem? > > 1) You have a messed-up file system. Bring the system into single > user mode, unmount the file systems, run fsck.foo (foo depends o

Re: scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread Wietse Venema
DecebalICT: > I went from an openSUSE system to a Debian 9 system. > > I tried to copy and adapt my old config for the new system. > > When running: > postfix check > I get: > postsuper: fatal: scan_dir_push: open directory defer: Permission denied > > What

scan_dir_push: open directory defer: Permission denied

2017-05-23 Thread DecebalICT
I went from an openSUSE system to a Debian 9 system. I tried to copy and adapt my old config for the new system. 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