Qmail
[Top] [All Lists]

Re: Problem relaying over qmail server

To: qmail@list.cr.yp.to
Subject: Re: Problem relaying over qmail server
From: Kyle Wheeler <kyle-qmail@memoryhole.net>
Date: Tue, 8 May 2007 08:19:00 -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=K3SEHhBqdd+dPCRVgk+eQX2Bz+0=; b=Yk1kO1qGiGbRnd/oyF6oFTpxZj5zJrjNFW1EvPqDxj6ir+5yZxIalLChhvEhzKPy8bJyuG2k4XGsZzy9KBNtFebBOpKLk+qjVB7JQbwxF0C7EWx7qZByPkpUVeF8nk6fr/8vZCnIyYhz2Foi4RKQNjoCRuqYLK22XPAMdYcMCiM=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=QL9n2vnxuMUYY0BuLiF4PPqb+OHYo2rA/1U/IRwUHU7AWtCJ5UIqNBYZ/6Mpe35mE8gds2ITy1PImdU3u1iASVvfwppNYorQRKvTFnAC7z04shOdQSmQ1wnTR/yzHW1i3jnPJ4vMTW/LayUzt+x+QcAhqwoLeoMfxRn1C+YXJcs=; 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: <463F7BC7.7080509@iunius.org>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <463B0D7B.5060705@iunius.org> <20070504135039.GC24696@tunican.local> <463B3FE6.7000505@iunius.org> <20070504145005.GF24696@tunican.local> <463C7D92.1020903@iunius.org> <20070505225451.GI24696@tunican.local> <20070506162909.8tn5onvls0g48ko4@webmail.iunius.org> <20070506145544.GP24696@tunican.local> <463F7BC7.7080509@iunius.org>
User-agent: Mutt/1.5.15 (2007-04-29)
On Monday, May  7 at 09:19 PM, quoth Andreas Krummrich:
I build a new qmail with this patch, but without luck. I just increased the logging of my postfix server, for TLS. Perhaps this helps a bit:

I think it may, yes:

May  7 21:12:01 santa postfix/smtpd[28035]: 41CC2CD57D:
client=bart.springfield.home[10.10.42.10], sasl_method=CRAM-MD5,
sasl_username=brutus

Aha! CRAM-MD5 requires special support on the part of your checkpassword program, and can be hard to get working in some circumstances (because in order to get it working, checkpassword has to have access to a cleartext version of your password, which is not something typically provided by password storage mechanisms (such as PAM)). Recompile qmail and *disable* CRAM-MD5 advertising. According to Bill Shupp's patch, that's a matter of removing the line in qmail-smtpd.c that looks like this:

    #define CRAM-MD5

So now... what's the rest of this...?

May 7 21:12:01 santa postfix/smtp[28038]: TLS connection established to rom.iunius.org: TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)

er? Isn't that who we were talking to earlier?

May  7 21:12:01 santa postfix/smtp[28038]: 41CC2CD57D:
to=<krummrich@msim.de>, relay=rom.iunius.org[81.169.142.6], delay=0,
status=bounced (host rom.iunius.org[81.169.142.6] said: 553 sorry, that
domain isn't in my list of allowed rcpthosts; no valid cert for
gatewaying (#5.7.1))

So, no information at all about how it tried to authenticate? I'm not understanding the logical flow here.

Anyway, try disabling CRAM-MD5 advertising in qmail-smtpd.c, and see where that gets you.

~Kyle
--
A woman has the last word in any argument. Anything a man says after that is the beginning of a new argument.
                                                            -- Unknown

Attachment: pgpNLlIjZVTFb.pgp
Description: PGP signature

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