LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-05-2009, 12:16 AM   #16
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032

Quote:
which line tells you about that?
What should I do to fix it?
The:
Code:
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
and the fact that there is no answer line (note the ANSWER in the output of the same command from my dns).
To fix it you should contact whoever does the dns service for your domain and tell them to change the mx record to point to your server. Otherwise you're not going to get any mail from outside.
If you are responsible for the 158.234.200.20 dns server (which thinks that it's authoritative for that domain) add a mx record, so you can send/receive mail in your network using the address user@intinfra.com and not just user.
Mind that sending local mail to a single user or aliases (without the @intifra.com part) works anyway.

Quote:
It says that your dns server (158.234.200.20) knows nothing about the mx record of the domain intinfra.com
It means that the dns server you're using (the one from /etc/resolv.conf) does not know the mx record of the domain in question, as it gives no answer. You can try to change it to opendns (208.67.222.222) that seems to work
Code:
dig mx intinfra.com @208.67.222.222

; <<>> DiG 9.6.1-P1 <<>> mx intinfra.com @208.67.222.222
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49009
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;intinfra.com.                  IN      MX

;; ANSWER SECTION:
intinfra.com.           86400   IN      MX      10 relay1.netnames.net.
intinfra.com.           86400   IN      MX      100 relay2.netnames.net.

;; Query time: 442 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Mon Oct  5 08:08:40 2009
;; MSG SIZE  rcvd: 88

Last edited by bathory; 10-05-2009 at 12:19 AM.
 
Old 10-05-2009, 09:22 AM   #17
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Got your point !!
I did tried making entry into DNS Server:

Innova1@intinfra.com IN A 10.14.73.50
Innova1@intinfra.com. IN 5 MX Innova1

and it does return ANSWER.



But then too it seems virtusertable seems not to work.
Can You please mention steps by steps how it worked for you.
 
Old 10-05-2009, 11:34 AM   #18
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You understand that using for MX record a server that is known only localy, you are not going to get any mail from outside.
Anyway if you insist, add your domain in /etc/mail/local-host-names, restart sendmail and run the following to see what you get:
Code:
sendmail -bv abhi
sendmail -bv itconsultant
sendmail -bv finance@intinfra.com
Regarding my setup, it's based on a stock Slackware sendmail, but I use my own authoritative dns servers for all the hosted domains I have, so I can send/get mail everywhere in the world.
 
Old 10-05-2009, 11:50 AM   #19
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Bathory..I think You have pretty Good Mail Server Configured !!!
Can you share with me a Good Sendmail Setup you followed through examples.
 
Old 10-05-2009, 12:09 PM   #20
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
As I told you I use the stock sendmail that comes with Slackware. If you want to use it, here is the .mc file to help you rebuild yours sendmail.cf. Don't forget to make a backup of your .mc .cf files.
Have you ran the commands above? What you've got?
 
Old 10-05-2009, 12:31 PM   #21
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Bathory..
I want to share something with you.Today I have been working with my colleagues regarding the virtusertable.
What we understand is Whenever I write:

File:/etc/mail/virtusertable

finance@intinfra.com abhi

Now One thing which could see is :

I have put my Machine hostname as Innova1.intinfra.com.When I add finance@intinfra.com, it searches the name abhi in our corporate Domain (ADS) Intinfra.com. We dont have any User there so it doesnt send the mail.
My Company Domain name is intinfra.com.


My /etc/resolv.conf says:

nameserver intinfra.com


Now that was the whole issue.
I had a DNS Server personally setup called groupinfra.com.
So What I did is :

Add up in DNS Server the above entry.

Now When I run:
nslookup

>set type=MX
>Innova1.intinfra.com
It returns
Innova1.intinfra.com IN A ....

So it means its resolving ..successfuly.

Now Again I tried following the same step ..and then too..No Progress.


Bathory..I think Corporate Setting is disturbing our setup.

How is the Idea of testing this through VMWARE?
What hint you can suggest for setting up this thru VMware?
Cant I provide them domain name "ultrainfra.com" and setup DNS Server and Client and configure Sendmail.

I think that wont disturb and provide us clear picture.

Last edited by your_shadow03; 10-05-2009 at 12:34 PM.
 
Old 10-05-2009, 01:54 PM   #22
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Some considetations:
1. virtusertable works, regardless the fact that it searches local users in AD
2. In resolv.conf you put the IP of the dns server
3.
Quote:
nslookup

>set type=MX
>Innova1.intinfra.com
It returns
Innova1.intinfra.com IN A ....
This means that you have setup a mx record for the domain Innova1.intinfra.com and not intinfra.com (they are quite different)
4. Yes, I guess you can do your tests in a virtual machine environment.

Regards
 
Old 10-05-2009, 11:18 PM   #23
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Thanks Bathory..
I may need your help with the further proceeding.

I am going to install VMware on Windows and let you know what I did till now soon.
 
  


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
Virtual host www.domain.com work, domain.com don't work stormrider_may Linux - Networking 4 05-03-2006 09:52 PM
Cant get entry in bind to work with domain.com instead of www.domain.com pxes351 Linux - Networking 12 05-09-2005 06:20 AM
Imap - Pop3 Auth with user@domain instead username using virtusertable gakullak Linux - General 1 09-04-2004 04:34 PM
Sendmail configuration (domain name+virtusertable) bulzbb Linux - Software 2 03-16-2004 04:35 PM
sendmail - add/remove domain virtusertable dipdip Linux - Software 1 09-10-2003 11:11 PM

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

All times are GMT -5. The time now is 02:29 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