Your message dated Wed, 17 Oct 2007 15:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#432633: fixed in esmtp 0.6.0-1
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)

--- Begin Message ---
Package: esmtp
Version: 0.5.1-4.1
Severity: serious
Justification: Policy 10.7.3

On first install of esmtp -- even when not installing esmtp-run, which
lets esmtp be the system MTA -- the postinst overwrites /etc/mailname,
even when answering the (default) "no" to "Automatically overwrite
configuration files?".

This is highly unfortunate when mailname was already set and in use by
other programs (e.g., the real MTA in case of nullmailer), and violates
the spirit, if not the wording, of Policy 10.7.3, "local changes [of
configuration files] must be preserved during a package upgrade".
Policy continues:

| The other way to do it is via the maintainer scripts. These scripts
| [...] must not overwrite or otherwise mangle the user's configuration
| without asking[.]

Extract from the postinst:

  db_get esmtp/overwriteconfig
  OverwriteConfig="$RET"
  
  if test -s /etc/esmtprc -a "$OverwriteConfig" = "false"
  then
          exit 0
  fi
  
  db_get esmtp/hostname
  HostName="$RET"
  
  if test ! -s /etc/mailname -o "`cat /etc/mailname`" != "$HostName"
  then
          echo "$HostName" > /etc/mailname
  fi

So if automatic overwriting is disabled *and* no non-empty esmtprc existed,
the postinst will exit without further configuration file tampering.
This would be okay for creating an esmtprc alone, but also overwrites
/etc/mailname (if it doesn't match the answer to "SMTP server hostname").

IMO, even if updating /etc/mailname would have been in order, *at least*
a single backup of each automatically overwritten configuration file
should be preserved.

Furthermore, putting the "SMTP server hostname" into /etc/mailname seems
to be a bad idea at all, cf. a value of "smtp.example.org" in a setup
that would likely need a mailname of "example.org".

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages esmtp depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libesmtp5                   1.0.3-1+b1   LibESMTP SMTP client library

Versions of packages esmtp recommends:
pn  esmtp-run                     <none>     (no description available)

-- debconf information:
* esmtp/username:
  esmtp/mda: procmail
  esmtp/hostport: 25
* esmtp/overwriteconfig: false
* esmtp/hostname: smtp.int.zzznowman.dyndns.org
  esmtp/starttls: disabled


--- End Message ---
--- Begin Message ---
Source: esmtp
Source-Version: 0.6.0-1

We believe that the bug you reported is fixed in the latest version of
esmtp, which is due to be installed in the Debian FTP archive:

esmtp-run_0.6.0-1_all.deb
  to pool/main/e/esmtp/esmtp-run_0.6.0-1_all.deb
esmtp_0.6.0-1.diff.gz
  to pool/main/e/esmtp/esmtp_0.6.0-1.diff.gz
esmtp_0.6.0-1.dsc
  to pool/main/e/esmtp/esmtp_0.6.0-1.dsc
esmtp_0.6.0-1_powerpc.deb
  to pool/main/e/esmtp/esmtp_0.6.0-1_powerpc.deb
esmtp_0.6.0.orig.tar.gz
  to pool/main/e/esmtp/esmtp_0.6.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
José Fonseca <[EMAIL PROTECTED]> (supplier of updated esmtp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 03 Sep 2007 15:50:13 +0100
Source: esmtp
Binary: esmtp-run esmtp
Architecture: source powerpc all
Version: 0.6.0-1
Distribution: unstable
Urgency: low
Maintainer: José Fonseca <[EMAIL PROTECTED]>
Changed-By: José Fonseca <[EMAIL PROTECTED]>
Description: 
 esmtp      - User configurable relay-only MTA
 esmtp-run  - User configurable relay-only MTA
Closes: 394847 407101 432633
Changes: 
 esmtp (0.6.0-1) unstable; urgency=low
 .
   * Acknowledge NMU.
   * New upstream version (closes: #394847, #407101).
   * Do not write the SMTP server name to /etc/mailname (closes: #432633).
Files: 
 fb0a54df94b0f6b7b4981028fa45c3fc 717 mail extra esmtp_0.6.0-1.dsc
 17f13b50519766562d180d7316a76c63 142244 mail extra esmtp_0.6.0.orig.tar.gz
 7496b4d3145bb63b28f56b327e5899d8 13863 mail extra esmtp_0.6.0-1.diff.gz
 21af2be25e3b19b6ecdc1761a20820a1 3632 mail extra esmtp-run_0.6.0-1_all.deb
 6ae1b0ac6a984154ebb350798214d965 43054 mail extra esmtp_0.6.0-1_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQCVAwUBRxYi+9LH3rpX37+7AQLcegQArcXM92HIl4uLyux03/VV5btKjv5lwTDo
9/6PI1O+eoJY8TX3ZdNULMeC6Xj1eyybs5EmmX1bXUHPUa0HAKYqmGUKx/l05G7P
2YAfK30Oqu77IJFZ7tTYAR01JtHBYQm6LJLhQPmdh/mSKZppyV8CccXxmpePqFS1
pfs8phsWk5Q=
=zMG6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to