Find the answer to your Linux question:
Results 1 to 6 of 6
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778

    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

  2. #2
    Just Joined! achak01's Avatar
    Join Date
    Jan 2007
    Posts
    6

    Thumbs up

    Your site is not registered. There is no site on the internet with the name of localhost.localdomain. get ur site registered first. We had faced the same problem. Then finally when we got our site registered with our ISP, we bgean to recieve mails form the internet too. good luck

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778
    Hi achak01,

    Tks for your advice.

    Your site is not registered. There is no site on the internet with the name of localhost.localdomain.
    Sorry I don't follow. satimis.com was registered with godaddy.com. It is active.

    # ping -c3 satimis.com
    Code:
    PING satimis.com (220.232.213.178) 56(84) bytes of data.
    64 bytes from 220.232.213.178: icmp_seq=1 ttl=150 time=0.700 ms
    64 bytes from 220.232.213.178: icmp_seq=2 ttl=150 time=0.647 ms
    64 bytes from 220.232.213.178: icmp_seq=3 ttl=150 time=0.745 ms
    
    --- satimis.com ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2001ms
    rtt min/avg/max/mdev = 0.647/0.697/0.745/0.045 ms
    The domain is active.

    On browser of the same network type "satimis.com" displayed the Test Page of Apache

    On browser of another network (I used proxydom.com) type "satimis.com" also displayed the Test Page of Apache.

    I haven't created my homepage.

    I'm now looking around for advice on configuring "sendmail.cf".

    Tks.


    B.R.
    satimis

  4. #4
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    1. Does your name server have a mail (MX) record for your domain?
    2. Does your ISP allow mail to be sent to your server?
    3. Does your ISP allow you to run a server?
    4. Do you have your router setup to foreward incoming mail to your server?

    I have just tried entering
    http://220.232.213.178/
    http://www.satimis.com/
    http://satimis.com/
    in my browser and have received nothing back, so it appears as though nothing can get to your server from the internet.

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778
    Hi darkrose0510,

    Tks for your response.

    This server is for testing. When it is used the server will be switched on.

    1. Does your name server have a mail (MX) record for your domain?
    2. Does your ISP allow mail to be sent to your server?
    3. Does your ISP allow you to run a server?
    4. Do you have your router setup to foreward incoming mail to your server?
    Yes.

    Previously testing Ubuntu 6.06 server with postfix running on this server mails can be sent and received without problem

    I have just tried entering
    http://220.232.213.178/
    http://www.satimis.com/
    http://satimis.com/
    in my browser and have received nothing back, so it appears as though nothing can get to your server from the internet.
    When the server is on, Apache testpage will be displayed. I tested it locally as well as on another network. I haven't setup a homepage on this server.


    B.R.
    satimis

  6. #6
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    OK, always good to check the basics first.

    Now. your host and domain names are not set for sendmail, as seen
    Code:
    Canonical name: localhost
    Code:
    (short domain name) $w = localhost
    (canonical domain name) $j = localhost
    Yahoo (or anyone) can't send you mail because it's trying to send mail to localhost, i.e. itself

    There is a really nice easy Sendmail how-to HERE. Which I'd reccomend you read, it's mostly for Slackware too, so should be fine with Slamd64.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •