I think I know the problem now but I don't know how to solve it
the problem that the sendmail command still using
root@localhost.localdomain when sending, Which is rejected
Look to the delevery failier:
==========================
The original message was received at Mon, 6 Jul 2009 11:16:03 +0300
from blackreaper [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<reaky@domain.com>
(reason: 554 mailfrom without country or top level domain is administratively denied)
----- Transcript of session follows -----
... while talking to out.tedata.net.eg.:
>>> MAIL From:<root@localhost.localdomain>
<<< 554 mailfrom without country or top level domain is administratively denied
554 5.0.0 Service unavailable
[-- Attachment #2 --]
[-- Type: message/delivery-status, Encoding: 7bit, Size: 0.3K --]
Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; blackreaper
Arrival-Date: Mon, 6 Jul 2009 11:16:03 +0300
Final-Recipient: RFC822;
reaky@domain.comt
Action: failed
Status: 5.0.0
Diagnostic-Code: SMTP; 554 mailfrom without country or top level domain is administratively denied
Last-Attempt-Date: Mon, 6 Jul 2009 11:16:03 +0300
[-- Attachment #3 --]
[-- Type: message/rfc822, Encoding: 7bit, Size: 0.8K --]
Date: Mon, 6 Jul 2009 11:16:03 +0300
To:
reaky@domain.com
From:
reaky@domain.com
Subject: SME Log Alert: Jul 6 11:15:21 Central.mc.tedata.net/Central.mc.tedata.net sshd[7527]: pam_unix(sshd:session):
+session opened for user amrali by (uid=0)
====================
How to solve this ?