Michael Bemmerl <deb...@mx-server.de> writes: > David Bremner schrieb: >> >> This is almost certainly related to the maintainer scripts using : as a >> replacement for newline when storing /etc/nullmailer/remotes in the >> debconf database. > > I can confirm it is the sed command in postinst, line 36. > https://sources.debian.org/src/nullmailer/1:2.2-3/debian/postinst/#L36 > > I just executed that command manually on a dummy remotes file and it > exactly corrupted the config as described above.
Yes, that sounds right. Leaving aside for the moment that the sed is pretty unmaintainable, the underlying problem seems to be the roundtripping of /etc/nullmailer/remotes via a colon separated list in debconf. Probably this should be reworked to use debconf multiline support. For my own use just deleting the whole "magic" (re)creation of /etc/nullmailer/remotes would work fine, but I tend to have a minimalist view of what debian packages should do. d