On Tue, 23 Oct 2018 at 09:06, B. Reino <rei...@bbmk.org> wrote: > On Sat, 20 Oct 2018, Wietse Venema wrote: > > > gaurav.parashar: > >> Hii, > >> I had installed postfix in Ubuntu 16.04 and it was working seamlessly. > Some > >> time back I upgraded it to Ubuntu 18.04 and suddenly emails stop coming > to > >> my inbox. It gave me this error: > >> postfix/postdrop[27466]: warning: mail_queue_enter: create file > >> maildrop/675261.27466: Permission denied > > > > Somoene messed up file permissions, or someone decided > > to break setgid programs. > > It might be unrelated but in the dovecot debian package the > systemd service file includes (included?) the option > "NoNewPrivileges=false", which causes (caused..) many problems. > > In my case, forwarding mails (via a sieve filter), didn't work because > dovecot/sieve could not use postdrop. > > I don't know whether Ubuntu makes use of this option in either dovecot, > postfix, or both, but it may be worth checking.. >
I don't see this setting in Ubuntu 18.04's /lib/systemd/system/dovecot.service. (It has ProtectSystem=full, which doesn't cause me any problems.)