码迷,mamicode.com
首页 > Web开发 > 详细

send-mail: fatal: parameter inet_interfaces: no local interface found for ::1

时间:2020-02-19 01:13:48      阅读:110      评论:0      收藏:0      [点我收藏+]

标签:fat   plain   mail   oom   agent   use   path   cal   local   

[root@iZbp145axkc98giot5b448Z network-scripts]#  mail wgr
Subject: test
test
test
.
EOT
[root@iZbp145axkc98giot5b448Z network-scripts]# send-mail: fatal: parameter inet_interfaces: no local interface found for ::1

技术图片

 

 修改配置文件

技术图片

 

 进行发送

[root@iZbp145axkc98giot5b448Z network-scripts]#  mail wgr
Subject: test
tetst
test
.
EOT
[root@iZbp145axkc98giot5b448Z network-scripts]#

接受查看邮件

[wgr@iZbp145axkc98giot5b448Z ~]$ mail
Heirloom Mail version 12.5 7/5/10.  Type ? for help.
"/var/spool/mail/wgr": 1 message 1 new
>N  1 root                  Tue Feb 18 23:15  19/700   "test"
& 1
Message  1:
From root@iZbp145axkc98giot5b448Z.localdomain  Tue Feb 18 23:15:18 2020
Return-Path: <root@iZbp145axkc98giot5b448Z.localdomain>
X-Original-To: wgr
Delivered-To: wgr@iZbp145axkc98giot5b448Z.localdomain
Date: Tue, 18 Feb 2020 23:15:18 +0800
To: wgr@iZbp145axkc98giot5b448Z.localdomain
Subject: test
User-Agent: Heirloom mailx 12.5 7/5/10
Content-Type: text/plain; charset=us-ascii
From: root@iZbp145axkc98giot5b448Z.localdomain (root)
Status: R

tetst
test

&
At EOF
&
At EOF
& exit
You have mail in /var/spool/mail/wgr
[wgr@iZbp145axkc98giot5b448Z ~]$

 

send-mail: fatal: parameter inet_interfaces: no local interface found for ::1

标签:fat   plain   mail   oom   agent   use   path   cal   local   

原文地址:https://www.cnblogs.com/dalianpai/p/12329357.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!