Postfixが実行中です。 Maldetレポートを郵送しようとしてエラーが発生した理由はわかりません。
[root@do ~]# maldet --report 170321-0115.21534 [email protected]
Linux Malware Detect v1.6
(C) 2002-2017, R-fx Networks <[email protected]>
(C) 2017, Ryan MacDonald <[email protected]>
This program may be freely redistributed under the terms of the GNU GPL v2
/usr/local/maldetect/internals/functions: line 608: -s: command not found
maldet(18718): {report} report ID 170321-0115.21534 sent to [email protected]
これは608番目の縮小です
if [ -f "$sessdir/session.$rid" ] && [ ! -z "$(echo $2 | grep '\@')" ]; th$
cat $sessdir/session.$rid | $mail -s "$email_subj" "$2"
eout "{report} report ID $rid sent to $2" 1
exit
ベストアンサー1
$mail変数は、mailコマンドがまだインストールされていないため空です。
実行apt-get install mailx
(debianまたはubuntu)またはyum install -y mailx
(centosまたはredhat)