Package: postfix
Version: 3.0.4-1
Severity: important

Postfix fails to configure on my laptop. dpkg output:

"""
Setting up postfix (3.0.4-1) ...
Installing new version of config file /etc/init.d/postfix ...
Updating dynamicmaps.cf

Postfix configuration was not changed.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
Job for postfix.service failed because the control process exited with error 
code. See "systemctl status postfix.service" and "journalctl -xe" for details.
invoke-rc.d: initscript postfix, action "restart" failed.
"""

Relevant messages from "systemctl status -l postfix":

"""
Feb 23 18:35:23 perpetual systemd[1]: Starting LSB: Postfix Mail Transport 
Agent...
Feb 23 18:35:23 perpetual postfix[31404]: Starting Postfix Mail Transport 
Agent: postfixmkdir: cannot create directory 
‘/var/spool/postfix/etc/ssl/certs/ca-certificates.crt’: File exists
Feb 23 18:35:23 perpetual systemd[1]: postfix.service: Control process exited, 
code=exited status=1
Feb 23 18:35:23 perpetual systemd[1]: Failed to start LSB: Postfix Mail 
Transport Agent.
"""

This is presumably because my Postfix configuration has

    smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt

but the init script seems to assume that the smtp_tls_CAfile will be a 
directory?

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postfix depends on:
ii  adduser                3.113+nmu3
ii  cpio                   2.11+dfsg-5
ii  debconf [debconf-2.0]  1.5.58
ii  dpkg                   1.18.4
ii  libc6                  2.21-9
ii  libdb5.3               5.3.28-11
ii  libicu55               55.1-7
ii  libsasl2-2             2.1.26.dfsg1-14+b1
ii  libsqlite3-0           3.11.0-1
ii  libssl1.0.2            1.0.2f-2
ii  lsb-base               9.20160110
ii  netbase                5.3
ii  ssl-cert               1.0.37

Versions of packages postfix recommends:
ii  python3  3.5.1-2

Versions of packages postfix suggests:
ii  bsd-mailx [mail-reader]  8.1.2-0.20160123cvs-2
pn  dovecot-common           <none>
ii  evolution [mail-reader]  3.18.5-1
ii  icedove [mail-reader]    38.6.0-1
ii  libsasl2-modules         2.1.26.dfsg1-14+b1
ii  mutt [mail-reader]       1.5.24-1+b1
pn  postfix-cdb              <none>
ii  postfix-doc              3.0.4-1
pn  postfix-ldap             <none>
pn  postfix-mysql            <none>
pn  postfix-pcre             <none>
pn  postfix-pgsql            <none>
pn  procmail                 <none>
ii  resolvconf               1.78
pn  sasl2-bin                <none>
pn  ufw                      <none>

-- debconf information excluded

Reply via email to