LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sendmail domain configuration (https://www.linuxquestions.org/questions/linux-software-2/sendmail-domain-configuration-294747/)

don_wombat 02-25-2005 11:24 AM

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......?

trickykid 02-25-2005 11:36 AM

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.

tangle 02-25-2005 11:50 AM

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.

tangle 02-25-2005 11:53 AM

Forgot, if I remember right. You need to create an aliase for your domain and then setup realying for your local domain.

don_wombat 02-25-2005 12:05 PM

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 ;-)

don_wombat 02-25-2005 12:09 PM

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)


All times are GMT -5. The time now is 05:31 PM.