Qmail
[Top] [All Lists]

Re: cname deferral on already chris k.davis patched system

To: qmail@list.cr.yp.to
Subject: Re: cname deferral on already chris k.davis patched system
From: Kyle Wheeler <kyle-qmail@memoryhole.net>
Date: Tue, 8 May 2007 08:07:17 -0600
Comment: DomainKeys? See http://domainkeys.sourceforge.net/
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=u+25RTwwypBPBknYOvkpCeN0bGo=; b=Q/jBwxH/pPEO77CWzGI11HekVm7k7rS9c4moSYLYr+OFu7IiVP8+33Kr39VpJHDBgKeM9aXBduND0gEec5xP93vINsGbTwDTaBFPrlVheCFAal6XLS1RfWAr3XOrEY6EqNSYW5sA9bgHkPffDiEFbutDst5CcDomIlJOQtFEO+U=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=HHP8fxvBz651EMtCFzMu++2nk5ilZn0TyXaLTq6AsbAVdDo3xKWJVKBAZyG/MS8fmlZrg5A0KovqrULM09NpPFL9ua2Kf3Rtseqe0fAZAXV2WCirbev//FulsNSTKivI0WBLxHhBU97SDpdUdTug1FBAv+je8+xqHR2xg9xNnno=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
Domainkey-status: good
In-reply-to: <46406040.6040902@samuelmurez.com>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <463240A5.7010209@samuelmurez.com> <20070428143516.GA23850@marvin.we-be-smart.org> <46337268.5050000@samuelmurez.com> <20070428204023.GB12435@aleut.local> <46390C2E.6060707@samuelmurez.com> <20070502232549.GD21230@tunican.local> <46392325.6050703@samuelmurez.com> <20070502235627.GH21230@tunican.local> <46406040.6040902@samuelmurez.com>
User-agent: Mutt/1.5.15 (2007-04-29)
On Tuesday, May  8 at 01:34 PM, quoth Samuel Murez:
Hmmm... Are you still getting CNAME failures? It may have been a temporary problem.
Yes, still getting the CNAME failures, as well as "I wasn't able to establish an SMTP connection", even though host doesn't ever fail.

Hmmm, very strange.

My only suggestion at that point would be to strace qmail to find out exactly what queries it is making (and to what server), and attempt to recreate those queries exactly.

I'm using    strace -o /home/baronsam/qmailsendstrace.txt -fp 6310
where 6310 is the pid of qmail-send, but the resulting file doesn't seem to say much about what queries are being made. (file attached)
What commands should I be using ?

Well, qmail-send isn't the one that does those lookups. You want to trace qmail-remote. Conveniently, you don't have to wait for qmail-remote to be used as part of qmail. You can try using it by hand:

    cat message | \
     qmail-remote destination.com you@you.com you@destination.com

If that fails (and it should), you can strace it, like so:

    cat message | \
     strace -o /tmp/qmailtrace \
     qmail-remote destination.com you@you.com you@destination.com

(obviously, use real information rather than "destination.com" and "you@you.com" and so forth)

I'm also appending the output of ps -aux grep qmail, does it look ok to you ?

Yeah, that looks fine to me...

It occurs to me that one way around this would be to hardcode the IP addresses of those recipient domains into your smtproutes, since that file is consulted before DNS queries are made. That's not a *good* solution, obviously, but it's a workaround.

~Kyle
--
There is no more evil thing in this world than race prejudice . . . It justifies and holds together more baseness, cruelty, and abomination than any other sort of error in the world.
                                                        -- H. G. Wells

Attachment: pgpv7A2OcJsC2.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>