Mail not working after install
Ralph Brown
php4u at pacbell.net
Thu Oct 18 00:53:11 UTC 2001
After setting up Bind 9.1 on my RH node, the DNS name resolution is working
fine, but now I notice in my maillog that I am getting an error message
that host name has no address:
Oct 17 17:38:51 www postfix/smtpd[12385]: warning: 66.120.4.162: hostname
policing.net verification failed: Host name has no address
Oct 17 17:38:51 www postfix/smtpd[12385]: connect from unknown[66.120.4.162]
Oct 17 17:38:51 www postfix/smtpd[12385]: 66F0CEBF06:
client=unknown[66.120.4.162]
Oct 17 17:38:51 www postfix/smtpd[12385]: reject: RCPT from
unknown[66.120.4.162]: 554 <php4u at pacbell.net>: Recipient address rejected:
Relay access denied; from=<rbrown at policing.net> to=<php4u at pacbell.net>
Oct 17 17:39:00 www postfix/smtpd[12385]: disconnect from
unknown[66.120.4.162]
The web server and mail are both on the same RH box. Mail has worked fine
before starting up named. When I turn named off, then I can send/receive
mail just fine. Here the problem is sending mail. Is someone send me mail, I
get it. But if try to send from server account: mail.policing.net, I get the
error???
My ISP has DNS pointing both my domain name and mail account to my static
IP.
I noticed that I don't have a "zone" setup, ot the static ip even mentioned
in my named.conf or one of the files in /var/named. Do I need to add the
static ip# somewhere?
Resolv.conf =
#domain policing.net
#search pacbell.net
search policing.net
nameserver 192.168.123.139 # RH ip#
nameserver 127.0.0.1
nameserver 206.13.28.12 # pacbell dns
#nameserver 206.13.30.12 # pacbell dns
________________________________________
Named.conf =
# named.conf - configuration for bind
#
# Generated automatically by bindconf, alchemist et al.
options {
directory "/var/named/";
forwarders {
206.13.28.12;
206.13.30.12;
66.120.4.162;
};
};
zone "." {
type hint;
file "named.ca";
};
zone "policing.net" {
type master;
file "db.policing.net";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
zone "123.168.192-in.addr.arpa" {
type master;
file "db.123.168.192";
};
----------------------------------------
db.policing.net =
$TTL 86400
@ IN SOA www.policing.net. webmaster.policing.net. (
1;
10800;
3600;
604800;
86400 );
IN NS www.policing.net.
master IN A 192.168.123.139
mail IN A 192.168.123.139
www IN A 192.168.123.139
news IN A 192.168.123.139
localhost IN A 127.0.0.1
g4 IN A 192.168.123.197
---------------------------------
$TTL 86400
@ IN SOA www.policing.net. webmaster.policing.net. (
1;
108000;
3600;
604800;
86400 );
IN NS www.policing.net.
139 IN PTR www.policing.net.
139 IN PTR mail.policing.net.
139 IN PTR news.policing.net.
197 IN PTR g4.policing.net.
--------------------------------------
Suggestions please
Thanks in advance!
Ralph
More information about the bind-users
mailing list