On Sunday 05 Oct 2003 13:27, Jason Stubbs wrote:
> On Sunday 05 October 2003 21:17, Peter Ruskin wrote:
> > My home network is 2 machines (sometimes 3) with a network address
> > 192.168.0.0.  Internet connection comes by means of an ADSL router
> > and an ethernet 10/100 switch.  The machines can talk to each other
> > and swap files via nfs and samba and both can connect to the net.
> >
> > But if I try to email [EMAIL PROTECTED] from machine A, postfix won't play
> > because it can't resolve the name for machine B.  Surely postfix
> > isn't designed to be used solely for registered networks?  Or
> > should I be using another MTA?
>
> If you have /etc/hosts set up correctly (hostname and full domain
> name {even made up domain}) and /etc/nsswitch.conf set up correctly
> (which it is by default) then you should have no problems. Also,
> could you include a sample of your mail log file for a failed mail?
>
> Jason
>
Thanks for responding so quickly.

#######################################
/etc/hosts:
81.86.215.30 81-86-215-30.dsl.pipex.com
192.168.0.3 peter.ruskin peter # Peter's linux/Windows box
192.168.0.4 liese.ruskin liese # Liese's Windows
192.168.0.5 kroh.ruskin kroh # Liese's linux/Windows box
192.168.0.6 penguin.ruskin penguin # Peter's old box
192.168.0.7 peter-peter.ruskin peter-peter # Win4Lin session on peter
192.168.0.8 peter-liese.ruskin peter-liese # Win4Lin session on peter
192.168.0.9 kroh-liese.ruskin kroh-liese # Win4Lin session on kroh
192.168.0.10 kroh-peter.ruskin kroh-peter # Win4Lin session on kroh
127.0.0.1      localhost
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

#######################################
/etc/nsswitch.conf: (never looked at this one)
passwd:      compat
shadow:      compat
group:       compat
# passwd:    db files nis
# shadow:    db files nis
# group:     db files nis
hosts:       files dns
networks:    files dns
services:    db files
protocols:   db files
rpc:         db files
ethers:      db files
netmasks:    files
netgroup:    files
bootparams:  files
automount:   files
aliases:     files

#######################################
from mail.log:
Oct  3 01:28:13 kroh postfix/qmgr[2084]: D2C2F90F9A: 
from=<[EMAIL PROTECTED]>, size=316, nrcpt=1 (queue active)
Oct  3 01:28:24 kroh postfix/smtp[4250]: D2C2F90F9A: 
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=none, delay=11, 
status=bounced (Name service error for name=peter.ruskin type=A: Host 
not found)

Peter
-- 
======================================================================
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.22_pre2-gss)
i686 AMD Athlon(tm) XP 3200+
======================================================================


--
[EMAIL PROTECTED] mailing list

Reply via email to