Sahil Tandon wrote:
Jeffrey Shawn Klotz <[EMAIL PROTECTED]> wrote:
I'm having DNS issues when delivering mail on a postfix server.
The server seems to run fine for several hours.
After a while, emails start to stay in the queue with the following error
for all domains:
postqueue -p
*D63998D18BF 88122 Thu Nov 13 20:19:58 [EMAIL PROTECTED]
(Host or domain name not found. Name service error for
name=att.blackberry.net type=MX: Host not found, try again)
[EMAIL PROTECTED]
*
If I flush the queue (postqueue -f) mail starts to flow again and continues
to clear the queue for several hours.
The server does not seem to have DNS issues with other applications.
NSLookup does not seem to have issues.
What if you nslookup as the postfix user? What are the contents of your
/etc/resolv.conf? What about /etc/nsswitch.conf or /etc/hosts? See the
FAQ for clues: http://www.postfix.org/faq.html#delay.
nslookup as user postfix works correctly.
resolv.conf contains:
domain example.com
nameserver 66.7.224.17
nameserver 66.7.224.18
nameserver 12.172.185.32
nameserver 12.172.185.34
nameserver 206.13.31.12
nameserver 12.127.17.71
nameserver 12.127.16.68
nameserver 12.127.17.72
nameserver 12.127.16.67
No nsswitch.conf on this system (OSX 10.5)
Hosts file contains only info on some local hosts.
I don't think it's a postfix problem. Is there a way I can verify Postfix
is able to perform DNS lookups? Is there a way to log more detailed
information on the routing/delivery process.
Isn't it performing DNS lookups just fine when delivering to other
domains? Is this problem limited to att.blackberry.net or was that just
one of many examples? Also see:
att.blackberry.net is only an example. When the issue occurs, all
domains have the same name service error.
http://www.postfix.org/DEBUG_README.html#mail.
At this point a cron job running postqueue -f every few hours keeps the
mail flowing. That fixed the symptom but not the cause. It's a bad
solution, but it keeps mail flowing.
Thanks...