Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204962 - mail-mta/netqmail unable to receive large, but valid, DNS responses
Summary: mail-mta/netqmail unable to receive large, but valid, DNS responses
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL: http://www.faqts.com/knowledge_base/v...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-08 22:07 UTC by Gabe Martin-Dempesy
Modified: 2008-01-10 14:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabe Martin-Dempesy 2008-01-08 22:07:19 UTC
Qmail has an undersized 512-byte buffer to receive a DNS response, when in reality a real response can be up to 65536 bytes.  When delivering email to a site with a large MX record, such as aol's, the qmail-send log will log a temporary error of "deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/", and attempt resending.  Eventually messages will make it through, but it will cause a delay of several hours.

A patch exists that properly extends qmail's buffer, and is available at http://www.ckdhr.com./ckd/qmail-103.patch.  I've tested this patch on my mail-mta/netqmail-1.05-r8 (via QMAIL_PATCH_DIR), and ran it successfully without problems.  I would hope that this patch be officially folded into the Gentoo ebuild as qmail will probably not see an update this century, and this very dramatically affects the performance of the mail server.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-08 22:09:01 UTC
Use QMAIL_PATCH_DIR if you want this.
Comment 2 Stian Skjelstad 2008-01-10 14:08:32 UTC
Shouldn't this be consider implemented? Even root servers are going to move to >512 bytes responses in UDP with time (has started as move over to ipv6).