Mail configuration

Brian Somers brian at Awfulhak.org
Thu Jul 20 08:41:59 BST 2000


> Brian Somers wrote:
> 
> > As Ben said, check your /var/log/maillog to see if there's anything
> > interesting in there.
> 
> I've attached it. So have a look, maybe you can decipher it.
> 
> > It sounds like you may be having a problem with name resolution.
> > What does /etc/resolv.conf say ?
> 
> nameserver 195.8.69.7
> nameserver 195.8.69.12
> 
> >  (does ``ping myname.my.domain'' work ?).
> 
> Yes. 
> 
> [root@/var/log] # ping myname.my.domain
> PING localhost (127.0.0.1): 56 data bytes
> 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.089 ms
> 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.074 ms
> 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.086 ms
> ^C
> --- localhost ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 0.074/0.083/0.089/0.006 ms
[.....]
> Jul 19 18:25:31 myname sendmail[217]: tcpwrappers (localhost, 127.0.0.1) rejection
> Jul 19 18:25:31 myname sendmail[218]: tcpwrappers (localhost, 127.0.0.1) rejection
> Jul 19 18:25:33 myname sendmail[219]: tcpwrappers (localhost, 127.0.0.1) rejection
[.....]

So it looks like /etc/hosts.allow is getting in your way....

Try putting

ALL : localhost : allow

at the start of this file.

-- 
Brian <brian at Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !






More information about the Ukfreebsd mailing list