Bug#945280: configurable config file name

2019-11-25 Thread Harald Dunkel
PS: One important aspect is that /etc/default/opensmtpd is *not* included in the Debian package. If it would be included, then I would get conflicts again. Regards Harri

Bug#945280: configurable config file name

2019-11-25 Thread Harald Dunkel
Hi Ryan, On 2019-11-23 18:07, Ryan Kavanagh wrote: I'm trying to understand the rationale for having a separate smtpd.conf. /etc/smtpd.conf is listed in conffiles, so package upgrades will never clobber the changes you have made to it. During upgrades, if a package has a new version of /etc/smt

Bug#945280: configurable config file name

2019-11-23 Thread Ryan Kavanagh
Control: tags -1 + moreinfo On Fri, Nov 22, 2019 at 12:12:04PM +0100, Harald Dunkel wrote: > Would it be possible to make the opensmtpd config file configurable? Sure, I can apply the patch, though the defaults file will be /etc/default/opensmtpd to match the init script name (see ยง5.10 of the ma

Bug#945280: configurable config file name

2019-11-23 Thread Harald Dunkel
Attached is a better version, introducing /etc/default/opensmtpd.conf. Regards Harri #!/bin/sh # /etc/init.d/opensmtpd # # Written by Daniel Walrond #and Ryan Kavanagh ### BEGIN INIT INFO # Provides: opensmtpd mail-transport-agent # Required-Start:$local_fs $remote_fs $sys

Bug#945280: configurable config file name

2019-11-22 Thread Harald Dunkel
Package: opensmtpd Version: 6.6.1p1-1 Severity: wishlist Would it be possible to make the opensmtpd config file configurable? Some code in the init file like test -f /etc/default/opensmtpd.conf && source /etc/default/opensmtpd.conf : ${CONFIG:="/etc/smtpd.conf"} :