[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Sendmail

Posted on 1997-02-26
5
Medium Priority
?
228 Views
Last Modified: 2010-03-18
I have a small Linex / Windows network running tcp/Ip.
I have a functioning DNS but as of right now, I'm not on
line. However, the DNS is working..e.g- no problems re-
solving names on the windows machines.
Everything seems to be working except for...!! For some
reason, I must INCLUDE THE HOSTNAME OF MY MAIL
SERVER everytime I send mail to a user. I have, or at least
I think I set it up correctly in DNS, and even added the
DMmctcompany.net  line in 'sensmail.cf'
Also, when I exclude "mail" <----that is the name of my mail
server... from the  IN   MX   10 mail   line in  named.hosts,
my server still will not except anything except:
username@mail.mctcompany.net
The mail does get there, however it gets kicked back to
root/postmaster <---e.g.me
This is about the only thing that didn't work out for me, and
it should have!!
I'm setting up a small Internet Site, and have been working
with Linux for a little over a month. I would like to work out the bugs before going on line.
Any Help would great!!


Thanks!!
0
Comment
Question by:mct
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Author Comment

by:mct
ID: 1584067
Edited text of question
0
 

Accepted Solution

by:
rayc021897 earned 40 total points
ID: 1584068
For 20points the best advice I can get is to get the Orielly and Associates book  "Sendmail".  Other than that...  start from scratch your sendmail.cf file is VERY particular.

Enjoy,

Ray

rayc@indy.net

0
 

Expert Comment

by:pattinso
ID: 1584069
It looks like you have to tell sendmail to accept mail
for yourcompany.com. Defaultwise, sendmail only accepts
mail for your.host.name. Usually, there exists a macro
defining a list of hosts for which sendmail accepts mail.

Dirk.
0
 
LVL 1

Expert Comment

by:ptan
ID: 1584070
Add in the following lines into your sendmail.cf:

Fw/etc/sendmail.cw

Add in your domain name (and any other domains you
want to accept mail for) into the file
/etc/sendmail.cw  
(It's just a text file you create with a list of domains on each line)


Hope this helps.

Paul Tan.

0
 

Expert Comment

by:tariq030897
ID: 1584071
Well, What does your MX line in DNS look like?
is it :
companyname.com      IN       MX     0 mail.companyname.com ?

and is Sendmail using DNS?

Check these things out
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question