From the manpage: "By default, email is sent using the system mail command. In order that smartd find the mail command (normally /bin/mail) an executable named 'mail' must be in the path of the shell or environment from which smartd was started. If you wish to specify an explicit path to the mail executable (for example /usr/local/bin/mail) or a custom script to run, please use the '-M exec' Directive below. Note that by default under Solaris, in the previous paragraph, 'mailx' and '/bin/mailx' are used, since Solaris '/bin/mail' does not accept a '-s' (Subject) command-line argument." and also: "smartd will attempt to enable SMART monitoring [...], logging SMART errors and changes of SMART Attributes via the SYSLOG interface." So what I'm asking is a removal of mailx as a dependency of smartmontools since: 1. there is quite a few case where it is actually redundant with the local setup (think networked syslog). 2. mailx is only default on solaris 3. there is no reason to make daemon installation dependant on a specific MUA. it's imho up to the admin to write a script named mail that does what he wants (eventually wrapping up the sendmail command) or to install mailx 4. in any case, if the defined mail command fails, smartd will write something to syslog. TIA
*** This bug has been marked as a duplicate of bug 140192 ***
*** Bug 304185 has been marked as a duplicate of this bug. ***