LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2010, 07:19 AM   #1
hiteshdarji
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
Sendmail MX record problem


we have use sendmail for sending the mail purpose in suse linux now we have face the problem in outside domain to our domain(irma.ac.in) mail receving problem it get error like
Sorry, I couldn't find a mail exchanger or IP address.
> (#5.4.4)


and bounce the mail with failure Notice

please help us in regarding this problem

Regards

Hitesh Darji
 
Old 03-03-2010, 07:53 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Have you set up your mx in your DNS ? Where-ever your main DNS records are for your domain name, you have to have an mx record as well.

Do you have your own DNS server or are you using someone elses ?

Examples here:
http://www.cadetech.co.uk/Web_Design...mation/DNS.asp

Last edited by smoker; 03-03-2010 at 07:56 AM.
 
Old 03-03-2010, 10:06 PM   #3
hiteshdarji
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
We have use our own DNS server and MX record entry already there but problem is not resolved yet


Hitesh Darji
 
Old 03-04-2010, 06:11 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Well your DNS server is not visible to the outside world then.
Quote:
[user@localhost ~]$ dig irma.ac.in

; <<>> DiG 9.6.1-P1-RedHat-9.6.1-11.P1.fc12 <<>> irma.ac.in
;; global options: +cmd
;; connection timed out; no servers could be reached

[user@localhost ~]$ nslookup irma.ac.in
;; connection timed out; no servers could be reached

[user@localhost ~]$
 
Old 03-04-2010, 10:55 PM   #5
hiteshdarji
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
when we search dig utility from the internet it is working ok

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> irma.ac.in
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45118
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;irma.ac.in. IN A

;; ANSWER SECTION:
irma.ac.in. 172800 IN A 202.129.240.201

;; AUTHORITY SECTION:
irma.ac.in. 172800 IN NS intranet2.irma.ac.in.

;; Query time: 284 msec
;; SERVER: 64.94.1.33#53(64.94.1.33)
;; WHEN: Thu Mar 4 23:52:14 2010
;; MSG SIZE rcvd: 68

so which method you can check so please tell me any suggestion

Regards,

Hitesh Darji
 
Old 03-05-2010, 07:38 AM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Code:
[smoker@kids ~]$ mail -v -s "test" anybody@irma.ac.in
hello world
Cc: anybody@irma.ac.in... Connecting to [127.0.0.1] via relay...
220 kids.headru.sh ESMTP Sendmail 8.13.7/8.13.7; Fri, 5 Mar 2010 13:30:59 GMT
>>> EHLO kids.headru.sh
250-kids.headru.sh Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<smoker@kids.headru.sh> SIZE=50 AUTH=smoker@kids.headru.sh
250 2.1.0 <smoker@kids.headru.sh>... Sender ok
>>> RCPT To:<anybody@irma.ac.in>
>>> DATA
250 2.1.5 <anybody@irma.ac.in>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 o25DUx6a010706 Message accepted for delivery
anybody@irma.ac.in... Sent (o25DUx6a010706 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 kids.headru.sh closing connection
[smoker@kids ~]$

Code:
From MAILER-DAEMON@kids.headru.sh  Fri Mar  5 13:31:06 2010
Date: Fri, 5 Mar 2010 13:31:06 GMT
From: Mail Delivery Subsystem <MAILER-DAEMON@kids.headru.sh>
To: <smoker@kids.headru.sh>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="o25DV66a010708.1267795866/kids.headru.sh"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--o25DV66a010708.1267795866/kids.headru.sh

The original message was received at Fri, 5 Mar 2010 13:30:59 GMT
from localhost.localdomain [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<anybody@irma.ac.in>
    (reason: 550 Address unknown)

   ----- Transcript of session follows -----
... while talking to mail2.irma.ac.in.:
>>> DATA
<<< 550 Address unknown
550 5.1.1 <anybody@irma.ac.in>... User unknown
451 4.4.1 reply: read error from mail2.irma.ac.in.

--o25DV66a010708.1267795866/kids.headru.sh
Content-Type: message/delivery-status

Reporting-MTA: dns; kids.headru.sh
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Fri, 5 Mar 2010 13:30:59 GMT

Final-Recipient: RFC822; anybody@irma.ac.in
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mail2.irma.ac.in
Diagnostic-Code: SMTP; 550 Address unknown
Last-Attempt-Date: Fri, 5 Mar 2010 13:31:05 GMT

--o25DV66a010708.1267795866/kids.headru.sh
Content-Type: message/rfc822
It's not dns, your mailserver rejected an unknown user.

Last edited by smoker; 03-05-2010 at 07:39 AM.
 
  


Reply



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
how to make resolver ask for A record before AAAA record Skaperen Linux - Networking 25 03-02-2010 06:36 PM
Sendmail is not trying delivery to next priority MX record. J Harris Linux - Server 8 11-04-2009 09:21 AM
DDNS record and a static PTR record mou5e Linux - Networking 2 01-22-2008 01:16 AM
Sendmail not pulling MX record for vtext.com livewire98801 Linux - Server 10 11-29-2007 04:39 PM
Unable to record mic-in with SoundBlaster Live! while able to record other sources max76230 Linux - Newbie 2 03-14-2005 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 PM.

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