"Tim Hunter" <[EMAIL PROTECTED]> writes:
| Everytime a user sends a message to aol.com, I get ...
| CNAME_lookup_failed_temporarily._(#4.4.3)/
| 
| Is there an easy way to get around this? I have just noticed this, but it
| has been going on since I setup the mail server.  One of my users just got a
| bounce from a message that was sent over a MONTH ago!

Yes, there's a simple fix.  Change line 24 of dns.c from
  static union { HEADER hdr; unsigned char buf[PACKETSZ]; } response;
to
  static union { HEADER hdr; unsigned char buf[1<<15]; } response;

Notice that this doesn't increase the working set of any part of qmail
by more than one page, since unneeded pages are never touched.  More
complex solutions have been proposed which involve dynamic memory
allocation and more queries of DNS, all of which cost something too.

Reply via email to