Package: courier-base Version: 0.75.0-10 Severity: serious # dpkg --configure -a Setting up courier-base (0.75.0-10) ... chown: cannot access ‘/etc/courier/hosteddomains’: No such file or directory dpkg: error processing package courier-base (--configure): subprocess installed post-installation script returned error exit status 1
I'm not sure where that file is supposed to come from, I don't think I've ever had one. I touched it in to existance, then got: # dpkg --configure -a Setting up courier-base (0.75.0-10) ... chown: cannot access ‘/etc/courier/esmtpacceptmailfor.dir’: No such file or directory dpkg: error processing package courier-base (--configure): subprocess installed post-installation script returned error exit status 1 I don't think had that ever, either. Note that I'm only using the IMAP server, not the SMTP server. Touching that into existence finally allowed the postinst to finish. After it finished, I rm'd them. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages courier-base depends on: ii adduser 3.113+nmu3 ii courier-authdaemon 0.66.1-1+b1 ii courier-authlib 0.66.4-2 ii courier-authlib-userdb 0.66.1-1+b1 ii debconf [debconf-2.0] 1.5.58 ii libc6 2.21-7 ii libcourier-unicode1 1.4-1 ii libfam0 2.7.0-17.1+b1 ii libgdbm3 1.8.3-13.1 ii libssl1.0.2 1.0.2f-2 ii lsb-base 9.20160110 ii openssl 1.0.2f-2 ii perl 5.22.1-4 courier-base recommends no packages. courier-base suggests no packages. -- Configuration Files: /etc/courier/shared/index [Errno 13] Permission denied: u'/etc/courier/shared/index' -- debconf information: courier-base/maildirpath: courier-base/maildir: Maildir * courier-base/webadmin-configmode: false * courier-base/certnotice:

