Bug#486667: /etc/init.d/exim4: SMTPLISTENEROPTIONS should not be quoted on startup?
Vaclav Ovsik
vaclav.ovsik at i.cz
Tue Jun 17 14:14:54 UTC 2008
Package: exim4-base
Version: 4.69-5+b1
Severity: normal
File: /etc/init.d/exim4
Tags: patch
Hi,
while trying to setup the TLS on the extra port 465 I found, that
a suggestion from README.Debian does not work, because multiple
options in SMTPLISTENEROPTIONS are passed in the form:
${SMTPLISTENEROPTIONS:+"${SMTPLISTENEROPTIONS}"}
that is as one argumet.
Value SMTPLISTENEROPTIONS='-oX 465:25 -oP /var/run/exim4/exim.pid'
is in /usr/share/doc/exim4-base/README.Debian.gz.
After applying attached change, the daemon started ok.
Regards
--
Zito
-- Package-specific info:
Exim version 4.69 #1 built 02-May-2008 12:57:09
Copyright (c) University of Cambridge 2006
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash
Versions of packages exim4-base depends on:
ii adduser 3.108 add and remove users and groups
ii cron 3.0pl1-104 management of regular background p
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii exim4-config [exim4-config-2] 4.69-5 configuration for the Exim MTA (v4
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libdb4.6 4.6.21-10 Berkeley v4.6 Database Libraries [
ii lsb-base 3.2-12 Linux Standard Base 3.2 init scrip
ii netbase 4.32 Basic TCP/IP networking system
Versions of packages exim4-base recommends:
ii mailutils [mailx] 1:1.2+dfsg1-1+b1 GNU mailutils utilities for handli
ii psmisc 22.6-1 Utilities that use the proc filesy
-- debconf information excluded
-------------- next part --------------
diff --git a/init.d/exim4 b/init.d/exim4
index 009dc47..118bac7 100755
--- a/init.d/exim4
+++ b/init.d/exim4
@@ -95,14 +95,14 @@ start_exim()
"$DAEMON" -bd "-q${QFLAGS}${QUEUEINTERVAL}" \
${COMMONOPTIONS:+"${COMMONOPTIONS}"} \
${QUEUERUNNEROPTIONS:+"${QUEUERUNNEROPTIONS}"} \
- ${SMTPLISTENEROPTIONS:+"${SMTPLISTENEROPTIONS}"}
+ ${SMTPLISTENEROPTIONS}
log_progress_msg "exim4"
;;
separate)
start_daemon -p "$PIDFILE" \
"$DAEMON" -bd \
${COMMONOPTIONS:+"${COMMONOPTIONS}"} \
- ${SMTPLISTENEROPTIONS:+"${SMTPLISTENEROPTIONS}"}
+ ${SMTPLISTENEROPTIONS}
log_progress_msg "exim4_listener"
start_daemon -p "$QRPIDFILE" \
"$DAEMON" -oP $QRPIDFILE \
@@ -123,7 +123,7 @@ start_exim()
start_daemon -p "$PIDFILE" \
"$DAEMON" -bd \
${COMMONOPTIONS:+"${COMMONOPTIONS}"} \
- ${SMTPLISTENEROPTIONS:+"${SMTPLISTENEROPTIONS}"}
+ ${SMTPLISTENEROPTIONS}
log_progress_msg "exim4_listener"
;;
nodaemon)
More information about the Pkg-exim4-maintainers
mailing list