Bug#268084: marked as done (exim4: Allow .include .ifdef .endif to have leaving whitespace)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 26 Aug 2004 06:48:05 -0700


Your message dated Thu, 26 Aug 2004 15:38:19 +0200
with message-id <20040826133819.GF3366@downhill.at.eu.org>
and subject line Bug#268084: exim4: Allow .include .ifdef .endif to have leaving whitespace
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; 25 Aug 2004 22:42:46 +0000
>From jaalto@cante.net Wed Aug 25 15:42:46 2004
Return-path: <jaalto@cante.net>
Received: from fep01-0.kolumbus.fi (fep01-app.kolumbus.fi) [193.229.0.41] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C06Te-00042a-00; Wed, 25 Aug 2004 15:42:46 -0700
Received: from ns.cante.net ([81.197.3.110]) by fep01-app.kolumbus.fi
          with ESMTP
          id <20040825224244.NJEG24516.fep01-app.kolumbus.fi@ns.cante.net>;
          Thu, 26 Aug 2004 01:42:44 +0300
Received: from jaalto by ns.cante.net with local (Exim 4.34)
	id 1C06TY-0007QD-TR; Thu, 26 Aug 2004 01:42:41 +0300
MIME-Version: 1.0
From: Jari Aalto <jari.aalto@poboxes.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailer: reportbug 2.64
Date: Thu, 26 Aug 2004 01:42:40 +0300
Message-Id: <E1C06TY-0007QD-TR@ns.cante.net>
Sender: Jari Aalto <jaalto@cante.net>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: jaalto@cante.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: exim4: Allow .include .ifdef .endif to have leaving whitespace
X-SA-Exim-Version: 4.1 (built Tue, 17 Aug 2004 11:06:07 +0200)
X-SA-Exim-Scanned: Yes (on ns.cante.net)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: exim4
Version: 4.34-5
Severity: wishlist

Please implement the possibility to have indented directive a la C/C++.
This would improve readability of the configuration file.

Current situation:

	.ifdef FOO
	.include X
	.include Y
	.ifdef BAR
	.endif
	.endif

The wish:

	.ifdef FOO
	    .include X
	    .include Y
	    .ifdef BAR
	    .endif
	.endif

-- Package-specific info:

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26.20040601
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)

Versions of packages exim4 depends on:
ii  exim4-base                    4.34-5     EXperimental Internal Mailer -- a 
ii  exim4-daemon-heavy            4.34-5     Exim (v4) with extended features, 

-- no debconf information

---------------------------------------
Received: (at 268084-done) by bugs.debian.org; 26 Aug 2004 13:38:21 +0000
>From ametzler@downhill.at.eu.org Thu Aug 26 06:38:21 2004
Return-path: <ametzler@downhill.at.eu.org>
Received: from server.logic.univie.ac.at [131.130.190.41] ([yaoGmfkvXcxmuRG010J/nT5JwzOdqlU5])
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C0KSL-0005xd-00; Thu, 26 Aug 2004 06:38:21 -0700
Received: from m-134-246.adsl.univie.ac.at ([131.130.134.246])
	by server.logic.univie.ac.at with asmtp (Exim 4.34)
	id 1C0KSH-0003hc-Si
	for 268084-done@bugs.debian.org; Thu, 26 Aug 2004 15:38:19 +0200
Received: from ametzler by downhill.univie.ac.at with local (Exim 4.34)
	id 1C0KSJ-0000vh-4n
	for 268084-done@bugs.debian.org; Thu, 26 Aug 2004 15:38:19 +0200
Date: Thu, 26 Aug 2004 15:38:19 +0200
From: Andreas Metzler <ametzler@downhill.at.eu.org>
To: 268084-done@bugs.debian.org
Subject: Re: Bug#268084: exim4: Allow .include .ifdef .endif to have leaving whitespace
Message-ID: <20040826133819.GF3366@downhill.at.eu.org>
References: <E1C06TY-0007QD-TR@ns.cante.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1C06TY-0007QD-TR@ns.cante.net>
X-GPG-Fingerprint: BCF7 1345 BE42 B5B8 1A57  EE09 1D33 9C65 8B8D 7663
User-Agent: Mutt/1.5.6+20040722i
Delivered-To: 268084-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On 2004-08-26 Jari Aalto <jari.aalto@poboxes.com> wrote:
> Package: exim4
> Version: 4.34-5
> Severity: wishlist

> Please implement the possibility to have indented directive a la C/C++.
> This would improve readability of the configuration file.

> Current situation:

> 	.ifdef FOO
> 	.include X
> 	.include Y
> 	.ifdef BAR
> 	.endif
> 	.endif

> The wish:

> 	.ifdef FOO
> 	    .include X
> 	    .include Y
> 	    .ifdef BAR
> 	    .endif
> 	.endif
[...]

That is already implemented.
----------------
ametzler@downhill:/tmp/eximblah$ for i in * ; do echo '#' $i ; cat $i ; done
# exim.conf
.ifdef FOO
    .include X
    .include Y
    .ifdef BAR
    .endif
.endif
# X
qualify_domain = example.com
# Y
rfc1413_query_timeout = 30s
ametzler@downhill:/tmp/eximblah$ /usr/sbin/exim4 -C /tmp/eximblah/exim.conf \
           -bP qualify_domain
qualify_domain = downhill.at.eu.org
ametzler@downhill:/tmp/eximblah$ /usr/sbin/exim4 -DFOO \
            -C /tmp/eximblah/exim.conf -bP qualify_domain
qualify_domain = example.com
----------------
            cu andreas