LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2005, 11:24 AM   #1
don_wombat
LQ Newbie
 
Registered: Nov 2004
Posts: 26

Rep: Reputation: 15
Sendmail domain configuration


Hey All,

I just setup my Fedora Core 3 box as a mail server. Something is perplexing me.

Let's say my hostname on the box is "hostname.domain.com". I believe that I have the sendmail configured properly to send mail as user@domain.com. In testing this out, I am finding that if I use user@hostname.domain.com, I can fully send and receive email. If I use user@domain.com, I can send mail, but not receive.

If I don't use the servers internal hostname (hostname.domain.com) I cannot receive email. If I user the full hostname (user@hostname.domain.com) I have no problems whatsoever.

I've read about editing the sendmail.cf file which I have some idea on how to do the editing. The thing is, then it speaks of recompliling sendmail which I have no idea on how to do.

Any recommendations......?
 
Old 02-25-2005, 11:36 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
If you don't have domain.com setup in your sendmail configuration, I believe by default it will only recieve for the fully qualified hostname.domain.com your machine is setup with. You'll need to configure sendmail to recieve only for domain.com and or both, etc.
 
Old 02-25-2005, 11:50 AM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,758

Rep: Reputation: 77
Here is a link that should have what you are looking for.
http://info.ccone.at/INFO/RH-sendmai...39.html#AEN271

If you still have problems, let me know. When I get home I can post my sendmail.cf file.
 
Old 02-25-2005, 11:53 AM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,758

Rep: Reputation: 77
Forgot, if I remember right. You need to create an aliase for your domain and then setup realying for your local domain.
 
Old 02-25-2005, 12:05 PM   #5
don_wombat
LQ Newbie
 
Registered: Nov 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Fedora Core must have changed the file structure since this. There isn't a /usr/lib/sendmail-cf directory.

Can I specifiy the location of the mc file?
i.e.>> m4 /tmp/nuconfig.mc > /etc/sendmail.cf

I'll try it and see what happens.

P.S. I do have my cf file backed up ;-)
 
Old 02-25-2005, 12:09 PM   #6
don_wombat
LQ Newbie
 
Registered: Nov 2004
Posts: 26

Original Poster
Rep: Reputation: 15
now what......


> m4 /tmp/nuconfig.mc > /etc/sendmail.cf
*** ERROR: missing argument for FEATURE(nouucp):
use `reject' or `nospecial'. See cf/README.
*** WARNING: missing -T<TMPF> in argument of FEATURE(`access_db', hash -o /etc/mail/access)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 sending as host.domain.com, i want it to be from just domain.com. PlatinumRik Linux - Software 5 10-07-2004 05:32 PM
Multiple Sendmail Domain khamdy Linux - General 6 03-27-2004 07:40 PM
Sendmail configuration (domain name+virtusertable) bulzbb Linux - Software 2 03-16-2004 05:35 PM
HELP! Sendmail Config for xxx.domain.com where xxx is not domain, but want act like 1 rld1025 Linux - Newbie 2 09-11-2003 08:53 AM
sendmail domain problem slack66 Linux - General 1 08-17-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 PM.

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