Bug#933948: Config value incorrectly parsed in init.d script

2020-12-27 Thread Norbert Harrer
Hi, On 11/21/20 3:46 PM, Norbert Harrer wrote: > But in /etc/init.d/courier-mta-ssl it is parsed with sed: > > DO_START=$(sed -ne 's/^ESMTPDSSLSTART=\([^[:space:]]*\)/\1/p' > /etc/courier/esmtpd-ssl | tr "A-Z" "a-z") thanks a lot for this fine analysis.  I

Bug#933948: Config value incorrectly parsed in init.d script

2020-11-21 Thread Norbert Harrer
I don't think it's systemd's fault. There is a sub-optimal sed regex in most courier init.d scripts. Here is a scenario with courier-mta-ssl as an example (though, it also happens to other parts like courier-imap-ssl): Usually, the config file /etc/courier/esmtpd-ssl contains: ESMTPDSSLSTART=YES