||02-15-2007 08:19 AM
Sendmai can send mails but unable to receive mails
The mail server can send mails but unable to receive mails. I don't have its front-end package such Evolution/Thunderbird installed. I ran command line to perform following test.
# telnet localhost 25
send a mail to yahoo.com. Mail received without problem.
Send a webmail from yahoo.com to this server. Failure.
188.8.131.52 does not like recipient.
Remote host said: 550 5.7.1 <email@example.com>... Relaying denied
Giving up on 184.108.40.206.
--- Below this line is a copy of the message.
Received: (qmail 84830 invoked by uid 60001); 15 Feb 2007 11:15:33
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
Received: from [220.127.116.11] by web35207.mail.mud.yahoo.com via
HTTP; Thu, 15 Feb 2007 19:15:32 CST
Date: Thu, 15 Feb 2007 19:15:32 +0800 (CST)
18.104.22.168 = external fixed IP address of the server
192.168.0.10 = internal IP of the server
domain = satimis.com
# echo '$=m' | sendmail -bt -d0.4
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF
SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG
Canonical name: localhost
UUCP nodename: host
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = localhost
(canonical domain name) $j = localhost
(subdomain name) $m = <null>
(node name) $k = host
WARNING: local host name (localhost) is not qualified; see cf/README: WHO AM I?
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
Please advise where I have to edit on /etc/mail/sendmail.cf