Solved

Sendmail

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

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

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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

867 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

13 Experts available now in Live!

Get 1:1 Help Now