Bruce Ashton
2003-07-15 19:05:21 UTC
I know 'Name service error' is fairly common problem, but I've tried all the
solutions I've found on the web, and they haven't fixed my problem yet.
I have adsl with a static ip and my domain name (ashtonit.com) on that ip
address. I have a Speedtouch 510 4 port combo adsl
modem/firewall/dns/router thingy that is the name server for my local
network. It does dns for my local network but I don't have trouble with any
other services or apps.
Currently I can receive mail but I can't send it. I send mail from
***@ashton.net to ***@ashtonit.com with no problems, but it won't go the
other way. Looking in /var/log/maillog I see the legend,
"Jul 14 22:24:21 brucesbox postfix/smtp[1631]: 9BF9864008:
to=<***@ashton.net>, relay=none, delay=3097, status=deferred (Name service
error for ashton.net: Host not found, try again)"
fairly regularly.
host and nslookup both were able to find ashton.net either as regular user
or root, I searched google for "postfix name service error" and tried the
following suggestion I found that way.
Compared /var/spool/postfix/etc/resolv.conf, services, localtime with their
equivalents in /etc/.
Checked permissions on those files and all their parent directories, all the
way down the tree. Everything seemed to check out.
This is basically a standard install of Redhat 8.0 with postfix included.
I'm guessing it's some kind of permissions thing but I don't know where.
Can anyone suggest anything?
The details;
postfix version 1.1.11
Redhat version 8.0
imaps and mozilla 1.0.2 as a client on the same machine.
"ps -ef | grep post" returns,
postfix 5066 5064 0 19:48 ? 00:00:00 pickup -l -t fifo -u -c
postfix 5067 5064 0 19:48 ? 00:00:00 nqmgr -l -n qmgr -t
fifo -u -c
"postconf -n" returns,
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain $mydomain
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
Bruce Ashton
solutions I've found on the web, and they haven't fixed my problem yet.
I have adsl with a static ip and my domain name (ashtonit.com) on that ip
address. I have a Speedtouch 510 4 port combo adsl
modem/firewall/dns/router thingy that is the name server for my local
network. It does dns for my local network but I don't have trouble with any
other services or apps.
Currently I can receive mail but I can't send it. I send mail from
***@ashton.net to ***@ashtonit.com with no problems, but it won't go the
other way. Looking in /var/log/maillog I see the legend,
"Jul 14 22:24:21 brucesbox postfix/smtp[1631]: 9BF9864008:
to=<***@ashton.net>, relay=none, delay=3097, status=deferred (Name service
error for ashton.net: Host not found, try again)"
fairly regularly.
host and nslookup both were able to find ashton.net either as regular user
or root, I searched google for "postfix name service error" and tried the
following suggestion I found that way.
Compared /var/spool/postfix/etc/resolv.conf, services, localtime with their
equivalents in /etc/.
Checked permissions on those files and all their parent directories, all the
way down the tree. Everything seemed to check out.
This is basically a standard install of Redhat 8.0 with postfix included.
I'm guessing it's some kind of permissions thing but I don't know where.
Can anyone suggest anything?
The details;
postfix version 1.1.11
Redhat version 8.0
imaps and mozilla 1.0.2 as a client on the same machine.
"ps -ef | grep post" returns,
postfix 5066 5064 0 19:48 ? 00:00:00 pickup -l -t fifo -u -c
postfix 5067 5064 0 19:48 ? 00:00:00 nqmgr -l -n qmgr -t
fifo -u -c
"postconf -n" returns,
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain $mydomain
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
Bruce Ashton