Your message dated Fri, 30 Jan 2015 21:18:57 +0000
with message-id <e1yhixt-0003hv...@franck.debian.org>
and subject line Bug#776653: fixed in heirloom-mailx 12.5-4
has caused the Debian Bug report #776653,
regarding Does not default to sendmail location /usr/sbin/sendmail
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 ow...@bugs.debian.org
immediately.)


-- 
776653: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776653
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: heirloom-mailx
Version: 12.5-3.1
Severity: serious
Tags: patch

Debian Policy §11.6 states that:

    Debian packages which process electronic mail, whether mail user
    agents (MUAs) or mail transport agents (MTAs), must ensure that they
    are compatible with the configuration decisions below. [...]

    The mail spool is /var/mail and the interface to send a mail message
    is /usr/sbin/sendmail (as per the FHS).

However, mailx only looks for sendmail at /usr/lib/sendmail, which
results in users being unable to send mail if their MTA only installs
sendmail at the location stipulated by policy.

The attached debdiff fixes this bug.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages heirloom-mailx depends on:
ii  base-files        8
ii  libc6             2.19-13
ii  libgssapi-krb5-2  1.12.1+dfsg-16
ii  libssl1.0.0       1.0.1k-1

heirloom-mailx recommends no packages.

Versions of packages heirloom-mailx suggests:
ii  opensmtpd [mail-transport-agent]  5.4.2p1-3

-- no debconf information
diff -Nru heirloom-mailx-12.5/debian/changelog 
heirloom-mailx-12.5/debian/changelog
--- heirloom-mailx-12.5/debian/changelog        2014-12-20 01:16:54.000000000 
-0500
+++ heirloom-mailx-12.5/debian/changelog        2015-01-27 13:25:26.000000000 
-0500
@@ -1,3 +1,13 @@
+heirloom-mailx (12.5-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * The sendmail command lives at /usr/sbin/sendmail on Debian systems, as per
+    Debian Policy §11.6. Update heirloom-mailx to look there instead of at
+    /usr/lib/sendmail.
+    + 0015-usr-sbin-sendmail.patch
+
+ -- Ryan Kavanagh <r...@debian.org>  Tue, 27 Jan 2015 13:23:26 -0500
+
 heirloom-mailx (12.5-3.1) unstable; urgency=high
 
   * Non-maintainer upload.
diff -Nru heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch 
heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch
--- heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch     
1969-12-31 19:00:00.000000000 -0500
+++ heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch     
2015-01-27 13:21:49.000000000 -0500
@@ -0,0 +1,33 @@
+Description: Sendmail is at /usr/sbin/sendmail
+ As per Debian Policy §11.6
+Author: Ryan Kavanagh <r...@debian.org>
+Origin: Debian
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: heirloom-mailx-12.5/Makefile
+===================================================================
+--- heirloom-mailx-12.5.orig/Makefile  2011-04-26 17:23:22.000000000 -0400
++++ heirloom-mailx-12.5/Makefile       2015-01-27 13:20:04.733542801 -0500
+@@ -13,7 +13,7 @@
+ 
+ MAILRC                = $(SYSCONFDIR)/nail.rc
+ MAILSPOOL     = /var/mail
+-SENDMAIL      = /usr/lib/sendmail
++SENDMAIL      = /usr/sbin/sendmail
+ 
+ DESTDIR               =
+ 
+Index: heirloom-mailx-12.5/mailx.1
+===================================================================
+--- heirloom-mailx-12.5.orig/mailx.1   2015-01-27 13:18:49.000000000 -0500
++++ heirloom-mailx-12.5/mailx.1        2015-01-27 13:20:32.382336867 -0500
+@@ -4922,7 +4922,7 @@
+ which just acts as a proxy.
+ .PP
+ \fIMailx\fR immediately contacts the SMTP server (or
+-.IR \%/usr/lib/sendmail )
++.IR \%/usr/sbin/sendmail )
+ even when operating in
+ .I disconnected
+ mode.
diff -Nru heirloom-mailx-12.5/debian/patches/series 
heirloom-mailx-12.5/debian/patches/series
--- heirloom-mailx-12.5/debian/patches/series   2014-12-20 01:16:54.000000000 
-0500
+++ heirloom-mailx-12.5/debian/patches/series   2015-01-27 13:19:45.000000000 
-0500
@@ -5,3 +5,4 @@
 0012-unpack-Disable-option-processing-for-email-addresses.patch
 0013-fio.c-Unconditionally-require-wordexp-support.patch
 0014-globname-Invoke-wordexp-with-WRDE_NOCMD.patch
+0015-usr-sbin-sendmail.patch

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: heirloom-mailx
Source-Version: 12.5-4

We believe that the bug you reported is fixed in the latest version of
heirloom-mailx, which is due to be installed in the Debian FTP archive.

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 776...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilko Bengen <ben...@debian.org> (supplier of updated heirloom-mailx 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 30 Jan 2015 21:18:10 +0100
Source: heirloom-mailx
Binary: heirloom-mailx
Architecture: source amd64
Version: 12.5-4
Distribution: unstable
Urgency: medium
Maintainer: Hilko Bengen <ben...@debian.org>
Changed-By: Hilko Bengen <ben...@debian.org>
Description:
 heirloom-mailx - feature-rich BSD mail(1)
Closes: 776653
Changes:
 heirloom-mailx (12.5-4) unstable; urgency=medium
 .
   * Added patch by Ryan Kavanagh to adjust the sendmail path according to
     Debian policy §11.6 (Closes: #776653)
Checksums-Sha1:
 afcafad73b99221881bb49a641ad094fa337fbe1 1783 heirloom-mailx_12.5-4.dsc
 2fd00e3466cd45922555c31b5c08d5c78ea296b4 9540 
heirloom-mailx_12.5-4.debian.tar.xz
 f419bfb5638aa928a9d0883f159145993f45910b 251964 heirloom-mailx_12.5-4_amd64.deb
Checksums-Sha256:
 9bff31283976a34ad37ddc440a68f9564c389c50b3aea0d4fe4fb95a0fc06f5d 1783 
heirloom-mailx_12.5-4.dsc
 9af61e2d97fa6cfd52bd9cac66e753de94b38fa23d98c3597ec4088b20f69586 9540 
heirloom-mailx_12.5-4.debian.tar.xz
 f479ffa9c472ef07d6da29f15c1761ffd361f4419c77ae409d8f31ef3d5568f7 251964 
heirloom-mailx_12.5-4_amd64.deb
Files:
 50c8a9f3babcfb2d605de0a768786159 1783 mail optional heirloom-mailx_12.5-4.dsc
 98b53f6e750dc321ab9712558aefbe4a 9540 mail optional 
heirloom-mailx_12.5-4.debian.tar.xz
 910d65938f6291ccc50bf5602e326f94 251964 mail optional 
heirloom-mailx_12.5-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUy+gbAAoJEHW3EGNcITp+AMwQAIXNLtVKpqStgtUIaTG1tGFx
eQKZW+Jj1YBumQzmkjkWBm2rDLEJhbABu33w3q46bmNknAskx+2ijyymw3UG5cM5
9gFdMMPp11NUSOYpvtn1ms742JAVSidGEljVu0Gv2aNQroi68HOBAQoEuY3Q2H6U
94yikJYoU5pfQy37g7BrK1Vfsskw+EACuKLvdpSQ1/d/n3Yx8bMqNo1wcTiEhFhJ
GVlz9NEVTD9qhEw3g7/cJP7KI9pE+Jfsw92zsWQeu4YIpXdd50gBdjGC0TKt+o/8
zovkPzonqenyWRZ2aKxBMsCchKufcTsb8oGWcyGczStqfn/dLkYcBKvi0Tc5TGV1
O97kQQCYSQmEG8b23/4TAabNhMkoCbdEN5iorhkPJx1940OX3BNcMd5/AYfHs23k
8GwsHtwpQ1Pjty8vEzwEk9Kj8oToyWpgFcOWtreyMDuHWv96NfswwSDg5gt5Re5S
4l5ro95bGmzElHxnAyymsOYxEzIzyTXNkj4Whf2pfcvo3alm9P6OzP18oUp1639z
PzwzJN7V8L0f5VXLe69zrfDnBmR4kSN3RDXKtdRraXTiLM5hQRCYleILDd0IknHW
UQLePEVB/ljrMBnw1TrFsC9eN+FiAeOwQcXm765sgJb6v1cz2pnLsuhVQZcn5wOJ
+1u1xwnUfYLpYqSX+Jao
=Uw/P
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to