LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-05-2001, 02:33 PM   #1
TomHodder
LQ Newbie
 
Registered: Sep 2001
Posts: 12

Rep: Reputation: 0
can't makemap local-host-names in sendmail


I have a local-host-names file like this;
# local-host-names - include all aliases for your machine here.
development.globalgold.co.uk
listmanager.drafts.uk.com
webtools.drafts.uk.com

when I try to use makemap on it, I get the following error.

[root@development mail]# makemap hash /etc/mail/local-host-names < /etc/mail/local-host-names
makemap: /etc/mail/local-host-names: line 2: no RHS for LHS development.globalgold.co.uk
makemap: /etc/mail/local-host-names: line 3: no RHS for LHS listmanager.drafts.uk.com
makemap: /etc/mail/local-host-names: line 4: no RHS for LHS webtools.drafts.uk.com
[root@development mail]#
[root@development mail]# ls

but it doesn't say in the documentation that there should be a RHS, only that this file should list the aliases for the machine.

Any ideas

Thanks

Tom Hodder
 
Old 09-09-2003, 04:03 PM   #2
sky_night
LQ Newbie
 
Registered: Sep 2003
Location: Shoreline
Distribution: Redhat 9.0
Posts: 1

Rep: Reputation: 0
sendmail local-host-names

I am not one of the most well versed in linux but I believe you do not use a makemap hash command for the local-host-names file. All you do is restart your sendmail service using the '/etc/init.d/sendmail restart' command for more information on configuring sendmail use this wonderful article someone else composed http://www.linuxjournal.com/article.php?sid=5507
 
Old 09-09-2003, 09:21 PM   #3
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
You didn't need to makemap hash your local-host-names. Just do service sendmail restart and everything will be on the right way.

I am also using sendmail, and i also have local-host-names but i never do makemap, all i do just restart the sendmail daemon and everything working in the right path.
 
  


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
how does dns/host names work on local lan gman_O0O0 Linux - Networking 1 04-11-2005 12:22 AM
Sendmail and the local-host-names file vpatton Linux - Software 5 04-26-2004 07:37 PM
Resolving Local Non-FQDN Host Names fortezza Linux - Networking 2 02-14-2004 04:17 AM
Sendmail can't resolve names outside local network beng Linux - Networking 4 12-01-2003 12:09 PM
host names??? jonfa Linux - Networking 1 05-28-2001 08:15 PM

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

All times are GMT -5. The time now is 02:47 AM.

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