LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-20-2003, 08:30 AM   #1
rajivsalwan
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
Sendmail


Hi

I am not directly connected to the internet. I am using my corporate office mail server for accesing mails.


I am using sendmail as MTA.
In its sendmail.mc file I have made the entry

define(`SMART_HOST',`corp.xx.co.in')

where corp.xx.co.in is the mail server from which I receive my mails at the site I am placed.


I am able to send the mail to anywhere from my linux server using the above entry .

But I am unable to receive the mail from any where.

Does I have to make a DNS server at my site.

If yes, How should I proceed.

What shuld be the entries in named.conf and the forward zone file then.


Rajiv
 
Old 07-20-2003, 12:47 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Don't neccesarily have to have your own DNS server. You can probably ask your registrar to point the MX record for your domain to the ip of your mail server.
 
Old 07-20-2003, 11:41 PM   #3
rajivsalwan
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Dear David_ross

I am not having any DNS on my sendmail server and the corporate email server has an MX entry for my mail server..

Then why I am not getting mails on it.

I am able to send it to anywhere.

suppose the mail was send to xx@yahoo.com from root as user on linux server.

The reply from xx@yahoo.com doen not reach to the root server.

sometimes it gives the return mail on yahooo as undelivered mail from MTA i.e my corporate mail server which is suppose xy.xx.co.in where xx.co.in is my corporate domain.




What shall I do to receive the mail.

Provide me step by step instructions.

any body can help me.


Thanks in anticipation.


Rajiv Salwan
 
Old 07-21-2003, 01:36 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
do some dns lookups with dig

e.g.

dig mx your.domain.name

and check whether MX is active and pointing to your system's ip
 
Old 07-21-2003, 05:50 AM   #5
rajivsalwan
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I have opened smtp port for incoming mails. Actually it was closed earlier.
Now I am getting my incoming mails.


Thanks to evrybody for replies.
 
  


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
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 07:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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