Hi Gerald,
> I don't understand it, all worked OK, then all of a sudden localhost can't
> send email. Bad, as none of the scripts can send email.
Weird.
See if 127.0.0.1 and "localhost" resolve:
[root@derelik web]# nslookup localhost
Server: 192.168.XX.X
Address: 192.168.XX.X#53
Name: localhost
Address: 127.0.0.1
[root (at mark) derelik web]# nslookup 127.0.0.1
Server: 192.168.XX.X
Address: 192.168.XX.X#53
1.0.0.127.in-addr.arpa name = localhost.
If you get different results or if it doesn't resolve, then your DNS server
doesn't have the records for localhost, which it should have.
--
With best regards,
Michael Stauber