Ich krieg das nicht mehr gebacken.
Code: Alles auswählen
cat /etc/smartd.conf | egrep -v '#'
/dev/sda -o on -o on -m root@localhost -M test
Code: Alles auswählen
Test of <mail> to root@localhost produced unexpected output (28 bytes) to STDOUT/STDERR:
Jun 07 18:48:53 Taomon smartd[316]: Error: no display specified
Jun 07 18:48:53 Taomon smartd[316]: Test of <mail> to root@localhost: failed (32-bit/8-bit exit status: 256/1)
Die System-Mails gehen bei mir local über exim4 an icedove. Während alles andere ankommt, funktioniert es nicht mit smartd.
Code: Alles auswählen
update-alternatives --config mailx
Es gibt 3 Auswahlmöglichkeiten für die Alternative mailx (welche /usr/bin/mailx bereitstellen).
Auswahl Pfad Priorität Status
------------------------------------------------------------
0 /usr/bin/icedove 100 automatischer Modus
1 /usr/bin/bsd-mailx 50 manueller Modus
* 2 /usr/bin/icedove 100 manueller Modus
3 /usr/bin/mail.mailutils 30 manueller Modus
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Gruß Taomon