mct
asked on
Sendmail
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.n et
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!!
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.n
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!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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.
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.
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
is it :
companyname.com IN MX 0 mail.companyname.com ?
and is Sendmail using DNS?
Check these things out
ASKER