Qmail
[Top] [All Lists]

Re: OT: Google Groups: Problems with Email Delivery

To: qmail@list.cr.yp.to
Subject: Re: OT: Google Groups: Problems with Email Delivery
From: Matt Simpson <net-qmlist@jmatt.net>
Date: Wed, 24 Jan 2007 13:03:30 -0500
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
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
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=jmatt.net; b=ao4M+xNjKXTmUkwgf6RjlsS1PcxVvpJTrmM4Pk3j5Y/sSrE+CrXxEl39CCmzYsdlBR9DQ1zqzIukp/IVql/9P7veMiZnmkON72mT5D+xv0r6+PYGA8Vr07pEmGxKvtEijRLshR/IFLcitgdlXfmi/1EhwRvb8+zexrJZq3GJS3g=; h=Received:Mime-Version:Message-Id:In-Reply-To:References:Date:From:Subject:Mime-Version:Content-Type;
Domainkey-status: bad
In-reply-to: <20070124041654.GB331@aleut.local>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <20070123131420987753.fef57c0a@strangecode.com> <20070124041654.GB331@aleut.local>
At 11:16 PM 1/23/07, Kyle Wheeler wrote:
Sometimes, when you're doing something unfriendly like rejecting spam or viruses at SMTP-time (e.g. with simscan), or using badmailfrom or something like that, you will get errors like this. There's no actual error recorded in your logs most likely,

Actually, simscan does log when it rejects mail. But in a more general sense, Kyle's right. Unpatched qmail-smtp does no logging, so if it rejects a message for some reason, you won't see it in your logs. You should see tcpserver logging the open/close of the connection.

As an example of this problem, I subscribe to a couple of email services from the New York Times. Some of the messages were getting to me, but I was seeing a LOT of connections in my logs from some of their servers, which kept connecting and not delivering anything. No clue why.

Somebody on this list gave me a script to use in my smtpd-run file, which would call qmail-smtpd, selectively invoking recordio depending on an environment variable. I could set the variable in my tcprules file to turn on recordio just for the problem connections, to log all the traffic. When I did that, I could see qmail-smtpd telling the NYTimes servers that it wasn't going to talk to them because they were sending bare LFs. Then I could use the same technique to invoke fixcrio just for those IPs to fix the problem.

You might not have this specific problem, but there's a good chance that you have a situation where qmail-smtpd is telling Google's servers why it doesn't want to talk to them without telling you in your logs, and if you can capture the session traffic it might tell you why.


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