LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-15-2007, 08:19 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Sendmai can send mails but unable to receive mails


Hi folks,

slamd64-11.0
sendmail

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.

1)
# telnet localhost 25
....
etc.

send a mail to yahoo.com. Mail received without problem.

2)
Send a webmail from yahoo.com to this server. Failure.

warning:
Code:
<satimis@satimis.com>:
220.232.213.178 does not like recipient.
Remote host said: 550 5.7.1 <satimis@satimis.com>... Relaying denied
Giving up on 220.232.213.178.

--- Below this line is a copy of the message.

Return-Path: <satimis@yahoo.com>
Received: (qmail 84830 invoked by uid 60001); 15 Feb 2007 11:15:33 
-0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  
h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
  
b=o2Bp+ydrolZ2ztzWv6a3BgAKUwnjRoONkH7s8QQUKlLYPnVA/tH0O1GNB5d6ToaiC/0YLovdFzESj3HjEd1bgIQb5ehR5V6IbfZo9e5Cf9h1PS40xlUTaq08B9mEUG5SztuSnfzBm5ocYDV7jrZ/A+t+y5j9/D4vQ2M7lioWHbA=;
X-YMail-OSG: 
W7wktw8VM1nuEKFpUVsL2rOsdscNa.EoIKc8eUkqqp5ZIkRPUx28Gw1u5La6L2.uxsLsYVl03O6nEZtiVx5iQixlH77Tc7THCxEA805G0JaOCTuEf.9R42QqSCvTGq8BLajYLYpGt6EED5A-
Received: from [220.232.213.178] 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)
....
220.232.213.178 = 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
Code:
Version 8.13.8
 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
        a.k.a.: host
        a.k.a.: [127.0.0.1]
        a.k.a.: [192.168.0.10]
        a.k.a.: host.satimis.com

============ 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

TIA

B.R.
satimis
 
Old 02-15-2007, 09:32 AM   #2
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
um.. i don't think that sendmail receives mail at all, it is an smtp server. you need a pop or imap server to handle the getting mail. I know it's weird. i just went through all this myself. You need two seperate servers to send and reveive mail.

btw, you might want to edit your post and put xxx instead of your real ip address.

hth
 
Old 02-15-2007, 10:22 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi nephish,

Tks for your advice.

Quote:
i don't think that sendmail receives mail at all, it is an smtp server. you need a pop or imap server to handle the getting mail. I know it's weird. i just went through all this myself. You need two seperate servers to send and reveive mail.
# slackpkg search smtp
Code:
.....
[ installed ] - getmail-4.6.3-noarch-1
[uninstalled] - sendmail-cf-8.13.8-noarch-4
# slackpkg search pop
Code:
....
[ installed ] - getmail-4.6.3-noarch-1
[uninstalled] - sendmail-cf-8.13.8-noarch-4
# slackpkg search imap
Code:
.......
[ installed ] - getmail-4.6.3-noarch-1
[uninstalled] - sendmail-cf-8.13.8-noarch-4
From above can getmail replace them? TIA

Quote:
btw, you might want to edit your post and put xxx instead of your real ip address.
On which file to put xxx. Tks


B.R.
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to send mails via KMail: "no worthy mechs" hbruhn Linux - Networking 5 12-24-2006 08:56 PM
mail server: just send mails out, but not receive hamish Linux - Software 4 02-27-2005 12:06 PM
E-Mail clients are taking time to send /receive mails qs_tahmeed Linux - Networking 0 08-23-2004 11:07 AM
senadmail-behind NAT-can receive-but faild to send mails ehpserver Linux - Networking 0 09-26-2003 12:48 PM
not able to receive mails ssrikant Linux - Networking 4 05-05-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration