Package: imapproxy Severity: serious Version: 1.2.7-1.1 Dear Maintainer,
the imapproxy postinst script fails when installing under systemd and no imap server is available. $ apt-get install imapproxy Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: imapproxy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/53.1 kB of archives. After this operation, 160 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package imapproxy. (Reading database ... 109752 files and directories currently installed.) Preparing to unpack .../imapproxy_1.2.7-1.1+b1_amd64.deb ... Unpacking imapproxy (1.2.7-1.1+b1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for systemd (230-5) ... Setting up imapproxy (1.2.7-1.1+b1) ... Creating config file /etc/imapproxy.conf with new version Job for imapproxy.service failed because the control process exited with error code. See "systemctl status imapproxy.service" and "journalctl -xe" for details. invoke-rc.d: initscript imapproxy, action "start" failed. ● imapproxy.service - LSB: IMAP proxy Loaded: loaded (/etc/init.d/imapproxy; generated; vendor preset: enabled) Active: failed (Result: exit-code) since Sam 2016-07-02 16:05:40 CEST; 6ms ago Docs: man:systemd-sysv-generator(8) Process: 37158 ExecStart=/etc/init.d/imapproxy start (code=exited, status=1/FAILURE) Jul 02 16:05:15 sxl in.imapproxyd[37161]: ServerInit(): Connection to server failed. Sleeping 5 seconds to retry... Jul 02 16:05:20 sxl in.imapproxyd[37161]: ServerInit(): Connection to server failed. Sleeping 5 seconds to retry... Jul 02 16:05:25 sxl in.imapproxyd[37161]: ServerInit(): Connection to server failed. Sleeping 5 seconds to retry... Jul 02 16:05:30 sxl in.imapproxyd[37161]: ServerInit(): Connection to server failed. Sleeping 5 seconds to retry... Jul 02 16:05:35 sxl in.imapproxyd[37161]: ServerInit(): Connection to server failed. Sleeping 5 seconds to retry... Jul 02 16:05:40 sxl imapproxy[37158]: Starting IMAP proxy: Jul 02 16:05:40 sxl systemd[1]: imapproxy.service: Control process exited, code=exited status=1 Jul 02 16:05:40 sxl systemd[1]: Failed to start LSB: IMAP proxy. Jul 02 16:05:40 sxl systemd[1]: imapproxy.service: Unit entered failed state. Jul 02 16:05:40 sxl systemd[1]: imapproxy.service: Failed with result 'exit-code'. dpkg: error processing package imapproxy (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (230-5) ... Errors were encountered while processing: imapproxy E: Sub-process /usr/bin/dpkg returned an error code (1) -- ,''`. Christian Hofstaedtler <z...@debian.org> : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `-