Your message dated Mon, 24 Aug 2009 17:49:02 +0200
with message-id <[email protected]>
and subject line Re: Bug#543366: exim4-config: update-exim4.conf smashes case 
of dc_relay_domains inappropriately
has caused the Debian Bug report #543366,
regarding exim4-config: update-exim4.conf smashes case of dc_relay_domains 
inappropriately
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
543366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: exim4-config
Version: 4.69-11
Severity: important

I use this setting to control relaying for domains where I act as
backup MX:

grep relay_domains /etc/exim4/update-exim4.conf.conf
dc_relay_domains='CONFDIR/relay.domains'

I believe this used to work well (I am sure of it), but it has at
some point stopped working, because update-exim4.conf translates it
to lowercase:

diz $ grep ^MAIN_RELAY_TO_DOMAINS= /var/lib/exim4/config.autogenerated
MAIN_RELAY_TO_DOMAINS=confdir/relay.domains

and this fails since exim's macro/var matching is case-sensitive.

This occurs here in the script:

seed_macro "MAIN_RELAY_TO_DOMAINS" "${dc_relay_domains}"

seed_macro() calls preprocess_macro() which runs lowercase() on its input.


Since this macro is used, in the default generated file, solely to create
a domainlist:

MAIN_RELAY_TO_DOMAINS=confdir/relay.domains

domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS

and because domainlist accepts a filename containing a list of domains,
it would seem that update-exim4.conf should not lowercase it.

This would seem to be a serious issue; failure to recognise the list
of relayed domains in the RCPT ACL causes the mail to be bounced "relay
not permitted".

best rergards,
calum.


-- Package-specific info:
Exim version 4.69 #1 built 18-Aug-2009 19:26:08
Copyright (c) University of Cambridge 2006
Berkeley DB: Berkeley DB 4.6.21: (June 10, 2009)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS 
move_frozen_messages Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch 
ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx 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: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.3 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages exim4-config depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy

exim4-config recommends no packages.

exim4-config suggests no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Hi,

On Mon, Aug 24, 2009 at 03:24:58PM +0100, Calum Mackay wrote:
> I use this setting to control relaying for domains where I act as
> backup MX:
> 
> grep relay_domains /etc/exim4/update-exim4.conf.conf
> dc_relay_domains='CONFDIR/relay.domains'

dc_relay_domains is a LIST OF DOMAINS for which we accept mail from
anywhere on the Internet.

CONFDIR/relay.domains is not a LIST OF DOMAINS.

> This would seem to be a serious issue;

yes, a local admin error.

If you want to define the domainlist as something which is not a list
of domains, you're free to modify the actual configuration, all files
are dpkg-conffiles which are meant to be modified.

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 3221 2323190


--- End Message ---

Reply via email to