On Jun 14, 2007, at 7:27 PM, Daryl C. W. O'Shea wrote:


Actually the return path is (similar to):

Return-Path: <users-return-59747- [EMAIL PROTECTED]>

...so SPF shouldn't fail.


So, how do you set up SA to allow these lists that act as an unauthorized relay?

Make sure your milter is providing a return path header field so that SA gets the correct envelope-from address. I believe old versions of amavisd-new don't do this. If the milter fails to do this SA will end up using the From: header field value and, yeah, you'll get SPF fail.

Maybe it was a glitch while the local_domains were wrong. The headers below have the return-path and it seems to be working now. I hate intermittent things.



From:     [EMAIL PROTECTED]
        Subject:        Re: missing tag
        Date:   June 14, 2007 7:27:47 PM PDT
        To:       users@spamassassin.apache.org
Return-Path: <users-return-59755- [EMAIL PROTECTED]> Received: from murder ([unix socket]) by smtp.interstellar.com (Cyrus v2.2.12-OS X 10.4.8) with LMTPA; Thu, 14 Jun 2007 19:28:06 -0700 Received: from localhost (localhost [127.0.0.1]) by smtp.interstellar.com (Postfix) with ESMTP id 771D541BE8F for <[EMAIL PROTECTED]>; Thu, 14 Jun 2007 19:28:06 -0700 (PDT) Received: from smtp.interstellar.com ([127.0.0.1]) by localhost (interstellar.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1ZuVqGZPmAkJ for <[EMAIL PROTECTED]>; Thu, 14 Jun 2007 19:27:54 -0700 (PDT) Received: from mail.apache.org (hermes.apache.org [140.211.11.2]) by smtp.interstellar.com (Postfix) with SMTP id ED49841BE80 for <[EMAIL PROTECTED]>; Thu, 14 Jun 2007 19:27:53 -0700 (PDT)
        Received:       (qmail 73518 invoked by uid 500); 15 Jun 2007 02:27:53 
-0000
        Received:       (qmail 73509 invoked by uid 99); 15 Jun 2007 02:27:53 
-0000
Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 19:27:53 -0700 Received: from [69.61.78.188] (HELO smtp.dostech.net) (69.61.78.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 19:27:49 -0700 Received: from [10.145.1.19] (CPE0018f8cb74a9- CM001692fb3602.cpe.net.cable.rogers.com [74.120.44.227]) (authenticated bits=0) by smtp.dostech.net (8.13.6/8.13.6) with ESMTP id l5F2RONR005324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <users@spamassassin.apache.org>; Thu, 14 Jun 2007 22:27:26 -0400
        X-Sieve:        CMU Sieve 2.2
        X-Virus-Scanned:        amavisd-new 2.5.0 (20070423) at interstellar.com
        Mailing-List:   contact [EMAIL PROTECTED]; run by ezmlm
        Precedence:     bulk
        List-Help:      <mailto:[EMAIL PROTECTED]>
        List-Unsubscribe:       <mailto:[EMAIL PROTECTED]>
        List-Post:      <mailto:users@spamassassin.apache.org>
        List-Id:        <users.spamassassin.apache.org>
        Delivered-To:   mailing list users@spamassassin.apache.org
X-Asf-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS
        X-Spam-Check-By:        apache.org
Received-Spf: pass (herse.apache.org: domain of [EMAIL PROTECTED] designates 69.61.78.188 as permitted sender) Dkim-Signature: a=rsa-sha1; c=simple/simple; d=dostech.ca; s=20060320; t=1181874446; h=Message-ID:Date:From:User-Agent:MIME- Version:To: Subject:References:In-Reply-To:Content-Type: Content- Transfer-Encoding; b=iGEKnOKgs4Q792vV4A8415mDOCR7FWU0413igy RFyRcQDMHeCh7cAZW4AUa4Amo+XxJrWFbFQfJQLSWJSZ4d3g==
        Message-Id:     <[EMAIL PROTECTED]>
        User-Agent:     Thunderbird 1.5.0.12 (Windows/20070509)
        Mime-Version:   1.0
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <4671DF2B. [EMAIL PROTECTED]> <73259FDF- [EMAIL PROTECTED]>
        In-Reply-To:    <[EMAIL PROTECTED]>
        Content-Type:   text/plain; charset=ISO-8859-1; format=flowed
        Content-Transfer-Encoding:      7bit
        X-Clamav:       0 : No Virus Detected
        X-Virus-Checked:        Checked by ClamAV on apache.org


Reply via email to