Bug#309517: update-exim4.conf ignores dc_visiblename

2005-05-17 Thread Stuart Freeman
Package: exim4
Version: 4.50-6
Severity: normal

When I run update-exim4.conf the value of DC_visiblename in
/var/lib/exim4/config.autogenerated is set to the value of dc_readhost
instead of dc_visiblename from /etc/exim4/update-exim4.conf.conf

-- Package-specific info:
Exim version 4.50 #1 built 17-Apr-2005 19:12:46
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz 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
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces=''
dc_readhost='uga.edu'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='email.uga.edu'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
dc_visiblename='localhost'
mailname:uga.edu

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages exim4 depends on:
ii  exim4-base4.50-6 support files for all exim MTA (v4
ii  exim4-daemon-light4.50-6 lightweight exim MTA (v4) daemon

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#309517: update-exim4.conf ignores dc_visiblename

2005-05-17 Thread Marc Haber
Hi,

On Tue, May 17, 2005 at 02:03:06PM -0400, Stuart Freeman wrote:
> When I run update-exim4.conf the value of DC_visiblename in
> /var/lib/exim4/config.autogenerated is set to the value of dc_readhost
> instead of dc_visiblename from /etc/exim4/update-exim4.conf.conf

dc_visiblename from /etc/exim4/update-exim4.conf.conf does not seem to
be used at all anymore and is most probably a leftover from an older
package version.

Currently, the DEBCONFvisiblenameDEBCONF macro in the configuration is
populated from the /etc/mailname file, which is created - if it
doesn't already exist - on package installation. In the configuration,
that macro is only used to qualify unqualified addresses.

dc_readhost is the name of the machine where the users normally read
their mail, and that one is only used in satellite setups ("no local
mail") to take care of mail addressed to [EMAIL PROTECTED] which
should be sent to the smarthost as well.

That being said, I do not understand the bug report. DC_visiblename is
set to the value of /etc/mailname and has nothing to do with
dc_readhost (at least what I see from the code, which I didn't write
and don't claim to fully understand).

Please substantiate the bug report with evidence or give examples how
the documentation could be improved, or close the bug if I have
convinced you of the non-bug characteristic of your report.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#309517: update-exim4.conf ignores dc_visiblename

2005-05-17 Thread Stuart Freeman
On Tue, May 17, 2005 at 09:09:31PM +0200, Marc Haber wrote:
> Hi,
> 
> On Tue, May 17, 2005 at 02:03:06PM -0400, Stuart Freeman wrote:
> > When I run update-exim4.conf the value of DC_visiblename in
> > /var/lib/exim4/config.autogenerated is set to the value of dc_readhost
> > instead of dc_visiblename from /etc/exim4/update-exim4.conf.conf
> 
> dc_visiblename from /etc/exim4/update-exim4.conf.conf does not seem to
> be used at all anymore and is most probably a leftover from an older
> package version.
> 
> Currently, the DEBCONFvisiblenameDEBCONF macro in the configuration is
> populated from the /etc/mailname file, which is created - if it
> doesn't already exist - on package installation. In the configuration,
> that macro is only used to qualify unqualified addresses.
> 
> dc_readhost is the name of the machine where the users normally read
> their mail, and that one is only used in satellite setups ("no local
> mail") to take care of mail addressed to [EMAIL PROTECTED] which
> should be sent to the smarthost as well.

dc_visiblename should be taken out of update-exim4.conf.conf because it
is no longer used.  As it stands now, there is no warning on upgrade that
exim4's configuration has changed, perhaps the package should check to
see if dc_visiblename and /etc/mailname are different and alert the user
to the fact that exim's behavior will change.  I assumed that dc_readhost
was being used because I had it set to the same value as /etc/mailname
(oops).  I should have dug around some more before submitting the original
bug. 

Thanks,

-- 
--
D. Stuart Freeman
UGA Enterprise Information Technology Services
Production Systems Support
-
An adequate bootstrap is a contradiction in terms.
--



Bug#309517: update-exim4.conf ignores dc_visiblename

2005-05-17 Thread Marc Haber
On Tue, May 17, 2005 at 03:44:50PM -0400, Stuart Freeman wrote:
> dc_visiblename should be taken out of update-exim4.conf.conf because it
> is no longer used.

It could have been locally changed, and removing that option would
make it unnecessarily hard to see what was in there previously.
Additionally, user changes are sacred, and the script which makes the
changes to ue4.conf.conf has a minimally-invasive approach.

> As it stands now, there is no warning on upgrade that
> exim4's configuration has changed, perhaps the package should check to
> see if dc_visiblename and /etc/mailname are different and alert the user
> to the fact that exim's behavior will change.

That is mentioned in NEWS.Debian, which is a must-read on package
upgrades. Anything else would be debconf abuse.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]