0
我无法从命令提示符发送电子邮件。 经过/var/spool/mail/
文件,看到此错误:无法从linux发送电子邮件
<[email protected]> host aserv0021.net.com[141.xxx.1xx.233] said:
553 5.1.8 <[email protected]>... Domain of sender address
[email protected] does not exist (in reply to MAIL FROM
command)
--8F9311E0709.1429732346/doooo-0.localdomain
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; doooo-0.localdomain
X-Postfix-Queue-ID: 8F9311E0709
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Thu, 23 Apr 2015 01:22:24 +0530 (IST)
Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.1.8
Remote-MTA: dns; aserv0021.mycompany.com
Diagnostic-Code: smtp; 553 5.1.8 <[email protected]>... Domain of
sender address [email protected] does not exist
Return-Path: <[email protected]>
Received: by doooo-0.localdomain (Postfix, from userid 5xxxx6)
id 8F93xxx0709; Thu, 23 Apr 2015 01:22:24 +0530 (IST)
Date: Thu, 23 Apr 2015 01:22:24 +0530
To: [email protected]
Subject: No commit since previous build
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
From: [email protected] (myid id)
从所附的返回信息的一些电子邮件正文 XT。
请让我知道我在这里失踪。
谢谢!
谢谢。看起来在这个OEL linux系统上没有配置域。当我输入“主机名”时,我只是得到这个:doooo-0。我的/ etc/hosts包含条目:10.xxx.x.xx doooo-0 doooo-0.in.mycompany.com 12x.0.0.x localhost localhost.localdomian localhost2 localhost2.localdomain2我如何设置主机名和在哪里? – Celestial
主机名设置因不同的Linux发行版而异。您需要检查OEL Linux的网络设置文档。这也取决于您是否使用静态IP或DHCP。 – Hankster