Package: smartmontools
Version: 6.3+svn3990-1~bpo70+1
Severity: normal

Dear Maintainer,

the Debian package smartmontools has options to send warning mails in various
situations.

For these cases the package provides a script
/usr/share/smartmontools/smartd_warning.sh

This script calls in default situations a mailer using the following comand line
mail -s "Subject" recipient1 [recipient2 [...]]

For that the package recommends two MTAs: 'mailx' or 'mailutils'. Both of these
packages do not provide a 'mail' binary or script nor neither does any other
standard Debian package (e.g. do 'apt-file search bin/mail')

Further it is not possible do simply specify another MTA like '-M exec sendmail'
in /etc/smartd.conf because standard MTAs do not accept the '-s' flag for
subject.

creating a simple script /usr/bin/mail do the job
#!/bin/sh
(echo "Subject: $2"; echo ; cat) | sendmail $3*

But that is not the Debian way. So the script
/usr/share/smartmontools/smartd_warning.sh
should be modified to do that job and work together with standard Debian MTAs.

Marko

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages smartmontools depends on:
ii  debianutils  4.3.2
ii  libc6        2.13-38+deb7u6
ii  libcap-ng0   0.6.6-2
ii  libgcc1      1:4.7.2-5
ii  libstdc++6   4.7.2-5
ii  lsb-base     4.1+Debian8+deb7u1

Versions of packages smartmontools recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20111106cvs-1+deb7u1

Versions of packages smartmontools suggests:
pn  gsmartcontrol   <none>
pn  smart-notifier  <none>

-- Configuration Files:
/etc/default/smartmontools changed [not included]
/etc/smartd.conf changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to