Sorry for last mail that I found /usr/sbin/sendmail, and install ssmtp, configed can send a email via my own exchange server like this :
root@Kali:/etc/ssmtp# echo test | mail -v -s "test ssmtp setup" [email protected] [<-] 220 **************************************************************************** ********************** [->] EHLO Kali [<-] 250 XXXXXXF [->] AUTH LOGIN [<-] 334 VXNlcm5hbWU6 [->] d2FuZ3ktcQ== [<-] 334 UGFzc3dvcmQ6 [<-] 235 2.7.0 Authentication successful [->] MAIL FROM:<[email protected]> [<-] 250 2.1.0 Sender OK [->] RCPT TO:<[email protected]> [<-] 250 2.1.5 Recipient OK [->] DATA [<-] 354 Start mail input; end with <CRLF>.<CRLF> [->] Received: by Kali (sSMTP sendmail emulation); Fri, 27 Dec 2013 16:30:55 +0800 [->] From: "root" <[email protected]> [->] Date: Fri, 27 Dec 2013 16:30:55 +0800 [->] To: [email protected] [->] Subject: test ssmtp setup [->] [->] test [->] . [<-] 250 2.6.0 <96b35548-5362-40ca-ad55-4aaa7da72...@glodon-ex02.grandsoft.com.cn> [InternalId=690293] Queued mail for delivery [->] QUIT [<-] 221 2.0.0 Service closing transmission channel Then I start a scan and finished , in “Report Summary”select “Run Alert” to send a email, but failed. Why and how to find the reason ? thanks ! 发件人: [email protected] [mailto:[email protected]] 代表 Eero Volotinen 发送时间: 2013年12月26日 9:54 收件人: 汪洋 抄送: [email protected] 主题: Re: [Openvas-discuss] Some truble about mail alert Quote from http://marc.info/?l=openvas-discuss <http://marc.info/?l=openvas-discuss&m=136602861710469&w=4> &m=136602861710469&w=4 'OpenVAS simply runs /usr/sbin/sendmail to send the mail. You'll have to configure your sendmail to use an external SMTP server. A program like sSMTP might help.' -- Eero
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
