sending mail on lan...

Jerry LeVan jerry.levan at eku.edu
Fri Aug 3 09:03:22 PDT 2007


Hmmm,

Running lookupd in interactive mode shows that it knows all about
the machines on the lan that are listed in the /etc/hosts file.

It appears to me that I really need a "caching nameserver" on the
machines.

Apple does supply named and a named.conf file in /etc and has a  
launchd file
to turn the rascal on.

There are more config files in /var/named.

Can some kind soul offer some guidance on how to add the machines on
my subnet to the appropriate config files.

I noticed in the sharing setup that the panel insists that ".local"
be appended to the name...

I modfied the /etc/hosts file to use "local" instead of "localdomain"
and set the mydomain entry in the postfix.conf file from localdomain
to local and reloaded postfix.

Sending mail to server.local now gets and additional MX error

Aug  3 09:48:55 mbp postfix/qmgr[3040]: 5C522148AFF:  
from=<jerry at mbp.local>, size=293, nrcpt=1 (queue active)
Aug  3 09:48:59 mbp postfix/smtp[3041]: 5C522148AFF:  
to=<jerry at server.local>, relay=none, delay=4,
status=deferred (Host or domain name not found. Name service error  
for name=server.local type=MX: Host not found, try again)

if I name the domain "localdomain I get an error like:
Aug  2 20:42:41 mbp postfix/qmgr[5394]: CD1A11475A5:  
from=<jerry at mbp.localdomain>, size=314, nrcpt=1 (queue active)
Aug  2 20:42:41 mbp postfix/smtp[5883]: CD1A11475A5:  
to=<jerry at server.localdomain>, orig_to=<jerry at server>, relay=none,  
delay=0, status=bounced (Host or domain name not found. Name service  
error for name=server.localdomain type=A: Host not found)
Aug  2 20:42:41 mbp postfix/cleanup[5881]: EB8AB1475A7: message- 
id=<20070803004241.EB8AB1475A7 at mbp.localdomain>

I suspect I might have to add MX records also....

Thanks for any info

Jerry


More information about the MacOSX-admin mailing list