Find the answer to your Linux question:
Results 1 to 9 of 9
Hello i'm using Redhat 8.0 i'm asking now, i need to send mail to whatever the mailserver is using sendmail i already try to send to yahoo.com , hotmail.com and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2003
    Location
    Egy
    Posts
    38

    Someone Care please :D


    Hello i'm using Redhat 8.0 i'm asking now, i need to send mail to whatever the mailserver is using sendmail i already try to send to yahoo.com , hotmail.com and linuxmail.org all of the message returned back i'm using the sendmail installed with redhat 8.0 without any configuration i'm asking how can i send .... ?
    i tried
    sendmail -s test name@yahoo.com
    then <message body>
    then ctrl -D
    so what i can do .. ? when i checked by mailq
    i have seen all the sent message .. and one of them reported as a delivering failure from the mail daemon so what can i do
    i'm logging as root and my shell from which i'm using the sendmail is
    root@localhost root/ # so tell me what can i doooooooo

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Can you post exactly what the return mails said? Also, have you tried "mail -s test name@yahoo.com" instead of sendmail? It's usually better, unless you want to have very detailed control of what is in the mail.

  3. #3
    Just Joined!
    Join Date
    Jul 2003
    Location
    Egy
    Posts
    38

    this what i get

    thanks alot for your reply .. and here is what i get .. when check mail....

    From MAILER-DAEMON@Redhat.Home Wed Feb 11 01:01:03 2004
    Date: Wed, 11 Feb 2004 01:01:03 +0200
    From: Mail Delivery Subsystem <MAILER-DAEMON@Redhat.Home>
    To: <root@Redhat.Home>
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
    boundary="i1AN11ke000665.1076454063/Redhat.Home"
    Subject: Warning: could not send message for past 4 hours
    Auto-Submitted: auto-generated (warning-timeout)

    This is a MIME-encapsulated message

    --i1AN11ke000665.1076454063/Redhat.Home

    **********************************************
    ** THIS IS A WARNING MESSAGE ONLY **
    ** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
    **********************************************

    The original message was received at Tue, 10 Feb 2004 14:35:39 +0200
    from Redhat.Home [127.0.0.1]
    ----- Transcript of session follows -----
    451 linuxmail.org: Name server timeout
    Warning: message still undelivered after 4 hours
    Will keep trying until message is 5 days old

    --i1AN11ke000665.1076454063/Redhat.Home
    Content-Type: message/delivery-status

    Reporting-MTA: dns; Redhat.Home
    Arrival-Date: Tue, 10 Feb 2004 14:35:39 +0200

    Final-Recipient: RFC822; minaramses@linuxmail.org
    Action: delayed
    Status: 4.4.3
    Last-Attempt-Date: Wed, 11 Feb 2004 01:01:03 +0200
    Will-Retry-Until: Sun, 15 Feb 2004 14:35:39 +0200

    --i1AN11ke000665.1076454063/Redhat.Home
    Content-Type: message/rfc822

    Return-Path: <root@Redhat.Home>
    Received: from Redhat.Home (Redhat.Home [127.0.0.1])
    by Redhat.Home (8.12.5/8.12.5) with ESMTP id i1ACZckW001212
    for <minaramses@linuxmail.org>; Tue, 10 Feb 2004 14:35:39 +0200
    Received: (from root@localhost)
    by Redhat.Home (8.12.5/8.12.5/Submit) id i1ACZRFt001210
    for minaramses@linuxmail.org; Tue, 10 Feb 2004 14:35:27 +0200
    Date: Tue, 10 Feb 2004 14:35:27 +0200
    From: root <root@Redhat.Home>
    Message-Id: <200402101235.i1ACZRFt001210@Redhat.Home>

    HEllo man what's wrong

    --i1AN11ke000665.1076454063/Redhat.Home--

    &
    ...................
    so this is after i changed my hostname from localhost.localdomain to > Redhat.Home
    thanks if you can ... i hope so
    and thanks for your respect for my message

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It seems that it times out on a DNS reply. Have you mayhap set up your DNS incorrectly? The DNS configuration file is /etc/resolv.conf.

  6. #5
    Just Joined!
    Join Date
    Jul 2003
    Location
    Egy
    Posts
    38

    reply about DNS

    no i didn't and if it's corrupted or something wrong happens so isn't there anyway to reset or reconfigure whatever happaned and if it's from the start not configured what i must do now ..
    Thanks i know i load more on you sorry but really i need help thanks

  7. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Could you post the contents of your /etc/resolv.conf?

    Don't worry about asking - after all, if we didn't want to answer questions, we wouldn't be here. =)

  8. #7
    Just Joined!
    Join Date
    Jul 2003
    Location
    Egy
    Posts
    38

    etc/resolv.conf contents

    nameserver 62.140.73.2 #kppp temp entry
    nameserver 62.140.73.1 #kppp temp entry

  9. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Since it's made by kppp, it should be correct. Do you have a firewall or anything configured? Can you post what `/sbin/iptables -L -n' returns?

  10. #9
    Just Joined!
    Join Date
    Jul 2003
    Location
    Egy
    Posts
    38

    /sbin/iptables -L -n

    this is what /sbin/iptables -L -n returns

    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    RH-Lokkit-0-50-INPUT all -- 0.0.0.0/0 0.0.0.0/0

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain RH-Lokkit-0-50-INPUT (1 references)
    target prot opt source destination
    ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
    REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:1023 flags:0x16/0x02 reject-with icmp-port-unreachable
    REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2049 flags:0x16/0x02 reject-with icmp-port-unreachable
    REJECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:0:1023 reject-with icmp-port-unreachable
    REJECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:2049 reject-with icmp-port-unreachable
    REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:6000:6009 flags:0x16/0x02 reject-with icmp-port-unreachable
    REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:7100 flags:0x16/0x02 reject-with icmp-port-unreachable

Posting Permissions

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