Solved

Sendmail

Posted on 1997-02-26
5
215 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
5 Comments
 

Author Comment

by:mct
ID: 1584067
Edited text of question
0
 

Accepted Solution

by:
rayc021897 earned 20 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now