On Mon, Jul 02, 2007 at 01:50:36PM +1000, Malcolm Johnston ([EMAIL PROTECTED]) 
wrote:
> I've implemented the suggestions made by Grant Parnell about changing 
> my "/etc/hosts" file and now, although "dnsdomainname" still prints nothing, 
> although it returns success, "hostname -f" now gives the machine name, rather 
> than just "localhost", as the FQDN.  Also, "sendmail -d" now gives a full 
> printout of its various settings, rather than just hanging after printing a  
> few lines of compilation details.  Of relevance to my (hopefully former) 
> problem is that it prints:
> 
> (short domain name $w = localhost)
> (canonical domain name $j = localhost.localdomain)
> (subdomain name $m = localdomain)
> (nodename $k = "machine-name")
> 
> where "machine-name" is the actual name of my machine.  I haven't actually 
> rebooted the machine, but the fact that "sendmail" now seems to know what is 
> where suggests that the two-minute plus lookup will go away.  So many thanks.

You could also place the following line into your sendmail.mc file:

define(`confDOMAIN_NAME',`HOSTNAME_OF_THE_MACHINE')

I would suggest that whatever you put in there has a reverse lookup set
to you box, or you'll be in trouble being accepted by other mail servers.

jobst





> 
> Cheers,
> Malcolm Johnston
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
The computer is your friend. It never argues until Gates squeezed Chilly 
through the CDROM door!

  | |0| |   Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to