Bug#320483: marked as done (exim4-base: init script fails if smtps service exists in inetd.conf)

Debian Bug Tracking System owner at bugs.debian.org
Sat Jul 30 19:19:13 UTC 2005


Your message dated Sat, 30 Jul 2005 21:05:20 +0200
with message-id <20050730190520.GA27094 at lefler.int.l21.ma.zugschlus.de>
and subject line Bug#320483: exim4-base: init script fails if smtps service exists in inetd.conf
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Jul 2005 19:10:33 +0000
>From tensai at zmonkey.org Fri Jul 29 12:10:33 2005
Return-path: <tensai at zmonkey.org>
Received: from joanna.zmonkey.org [199.104.112.185] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DyaFd-00079Z-00; Fri, 29 Jul 2005 12:10:33 -0700
Received: from tensai by joanna.zmonkey.org with local (user tensai) (Exim 4.50 #1 (Debian))
	id 1DyaFb-0003v4-Bm; Fri, 29 Jul 2005 13:10:31 -0600
Content-Type: multipart/mixed; boundary="===============1031258960=="
MIME-Version: 1.0
From: Corey Edwards <tensai at zmonkey.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: exim4-base: init script fails if smtps service exists in inetd.conf
X-Mailer: reportbug 2.63
Date: Fri, 29 Jul 2005 13:10:31 -0600
Message-Id: <E1DyaFb-0003v4-Bm at joanna.zmonkey.org>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tensai at zmonkey.org
X-SA-Exim-Scanned: No (on joanna.zmonkey.org); SAEximRunCond expanded to false
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1031258960==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: exim4-base
Version: 4.50-8
Severity: normal
Tags: patch

When using inetd to spawn an SMTPS server, exim refuses to start because
it only looks for ^smtp in inetd.conf. It should look for "^smtp " to
exclude ^smtps. Attached is a very simple patch to do so.

-- Package-specific info:
Exim version 4.50 #1 built 27-May-2005 08:10:05
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 PAM Perl GnuTLS Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /etc/exim4/exim4.conf

-- System Information:
Debian Release: 3.0
Architecture: i386 (i586)
Kernel: Linux 2.4.18-1-k6
Locale: LANG=C, LC_CTYPE=C

Versions of packages exim4-base depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  cron                        3.0pl1-86    management of regular background p
ii  debconf [debconf-2.0]       1.4.30       Debian configuration management sy
ii  exim4-config [exim4-config- 4.34-4       Debian configuration for exim4
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  netbase                     4.07         Basic TCP/IP networking system
ii  passwd                      20000902-12  Change and administer password and

-- debconf information:
  exim4/purge_spool: false
  exim4/move_exim3_spool: false

--===============1031258960==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="exim4-init.patch"

--- exim4.orig	Fri Jul 29 13:03:16 2005
+++ exim4	Fri Jul 29 13:06:30 2005
@@ -36,7 +36,7 @@
 }
 
 # Exit if exim runs from /etc/inetd.conf
-if [ -f /etc/inetd.conf ] && grep -E -q "^ *([0-9.]+:)?smtp" /etc/inetd.conf
+if [ -f /etc/inetd.conf ] && grep -E -q "^ *([0-9.]+:)?smtp " /etc/inetd.conf
 then
   upex4conf
   exit 0

--===============1031258960==--

---------------------------------------
Received: (at 320483-done) by bugs.debian.org; 30 Jul 2005 19:05:36 +0000
>From mh+debian-packages at zugschlus.de Sat Jul 30 12:05:36 2005
Return-path: <mh+debian-packages at zugschlus.de>
Received: from 5301d.unt0.torres.l21.ma.zugschlus.de (torres.int.l21.ma.zugschlus.de) [217.151.83.1] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DyweN-0005Yo-00; Sat, 30 Jul 2005 12:05:36 -0700
Received: from lefler.int.l21.ma.zugschlus.de ([192.168.130.38])
	by torres.int.l21.ma.zugschlus.de with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.52)
	id 1Dywe9-0005Ow-Di; Sat, 30 Jul 2005 21:05:28 +0200
Received: from mh by lefler.int.l21.ma.zugschlus.de with local (Exim 4.52)
	id 1Dywe8-00079F-VQ; Sat, 30 Jul 2005 21:05:20 +0200
Date: Sat, 30 Jul 2005 21:05:20 +0200
From: Marc Haber <mh+debian-packages at zugschlus.de>
To: Corey Edwards <tensai at zmonkey.org>, 320483-done at bugs.debian.org,
	320483-submitter at bugs.debian.org
Cc: Marc Haber <mh+debian-packages at zugschlus.de>
Subject: Re: Bug#320483: exim4-base: init script fails if smtps service exists in inetd.conf
Message-ID: <20050730190520.GA27094 at lefler.int.l21.ma.zugschlus.de>
References: <E1DyaFb-0003v4-Bm at joanna.zmonkey.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1DyaFb-0003v4-Bm at joanna.zmonkey.org>
User-Agent: Mutt/1.5.9i
X-Spam-Score: (-----) -5.9
Delivered-To: 320483-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Fri, Jul 29, 2005 at 01:10:31PM -0600, Corey Edwards wrote:
> When using inetd to spawn an SMTPS server, exim refuses to start because
> it only looks for ^smtp in inetd.conf. It should look for "^smtp " to
> exclude ^smtps. Attached is a very simple patch to do so.

Actually, I consider this behavior a feature. How can we assume that
the user wants to run an SMTP daemon, if an SMTPS daemon is started
from inetd? It is clearly documented that you're on your own if you
use inetd, and we fail to the safe side: Not running an SMTP daemon.

I am thus closing the bug.

The canonical way of running smtps is giving appropriate options to
the daemon to have it listen on SMTP and SMTPS ports.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the Pkg-exim4-maintainers mailing list