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')
This test is not valid to check for missing commands.
The /usr/bin/mail command will NEVER appear as an actual file in any
package. If the path exists, it is a symlink finally leading to some
executable compatible with traditional 'mail'. Such symlinks are created
by update-alternatives(8) which is typically run by the 'postinst'
script of the selected mailer alternative.
For example, if 'mailutils' package is the only installed alternative,
the created symlinks are:
/usr/bin/mail -> /etc/alternatives/mail -> /usr/bin/mail.mailutils
Try 'update-alternatives --display mailx' for current selection. If
none, (re)install or reconfigure the mailer package of choice.
Further it is not possible do simply specify another MTA like '-M exec sendmail'
Using the 'mail' interface instead of 'sendmail' for smartd emails is a
very old upstream design decision. There are no plans to change this.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]