LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-08-2008, 01:15 PM   #1
/dev/me
Member
 
Registered: May 2008
Distribution: Slackware 13
Posts: 116

Rep: Reputation: 20
Sendmail vs host.domain, featuring DNS


Ehm...

This may be a stupid question, but I all of a sudden realized I had one more thing unresolved that I need to know before I build my new machine tomorrow.

I'm getting a new machine to act as server, and it's going to be headless. I want sendmail to run on it, too.

On my old machine I was able to get sendmail to send mail. But I wasn't able to get it to receive mail.



I have a DynDNS registration. Let's say mymachines.dyndns.net

How does this affect the functionality of sendmail? What I want to know is this. Should I name my new machine
server.mymachines.dyndns.net

or doesn't this affect the working of sendmail?
 
Old 09-08-2008, 06:17 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
You don't have to name the box server.mymachines.dyndns.net, but it should be one of the names the box uses in either /etc/hosts or /etc/mail/local-host-names if you want sendmail to deliver mail locally for server.mymachines.dyndns.net. Usually sendmail refers to those files to determine whether to deliver locally or to relay.

To enable sendmail's use of /etc/mail/local-host-names you need to generate sendmail.cf with the following line in sendmail.mc:
Code:
FEATURE(`use_cw_file')dnl
 
Old 09-09-2008, 12:28 AM   #3
/dev/me
Member
 
Registered: May 2008
Distribution: Slackware 13
Posts: 116

Original Poster
Rep: Reputation: 20
OK thanks!
 
  


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
Bind9 ,host does reslove a dns name but ping says unknown host Byenary Linux - Networking 10 01-12-2011 01:33 AM
DHCPD is updating BIND with <host>.<domain>.<domain>. diabelek Linux - Networking 15 10-11-2007 05:58 AM
I don't want to use my sendmail smart host for machines in my local domain blanny Linux - Networking 4 10-26-2006 10:48 PM
Sendmail sending as host.domain.com, i want it to be from just domain.com. PlatinumRik Linux - Software 5 10-07-2004 04:32 PM
Sendmail host/domain problem. Tarantismic Yak Linux - General 2 05-08-2001 06:25 PM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration