From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 10:52:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D4CB1065672 for ; Fri, 24 Oct 2008 10:52:48 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg18.ifdnrg.com (roaming.ifdnrg.com [193.200.98.57]) by mx1.freebsd.org (Postfix) with ESMTP id 7E4568FC23 for ; Fri, 24 Oct 2008 10:52:46 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from [192.168.1.118] (87-194-184-71.bethere.co.uk [87.194.184.71]) (authenticated bits=0) by ifdnrg18.ifdnrg.com (8.14.3/8.13.8) with ESMTP id m9OAkH58059152 for ; Fri, 24 Oct 2008 11:46:21 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <4901A68A.4090602@ifdnrg.com> Date: Fri, 24 Oct 2008 11:42:18 +0100 From: Paul Macdonald User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on ifdnrg18.ifdnrg.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC, SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ifdnrg18.ifdnrg.com Subject: sendmail sasl problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 10:52:48 -0000 Hi, I'm having a strange problem after a recent saslauthd upgrade.. I can no longer authenticate to the smtp server, with saslauthd in debug mode i can see the authentication ( via getpwent) as succeeding saslauthd[54468] :rel_accept_lock : released accept lock saslauthd[54468] :do_auth : auth success: [user=smtpauth] [service=smtp] [realm=] [mech=getpwent] saslauthd[54468] :do_request : response: OK however sendmail still gives me a relaying denied i've tried this with various other system users with the same result, saslauthd says ok, sendmail says no! Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-ENHANCEDSTATUSCODES Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-PIPELINING Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-8BITMIME Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-SIZE Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-DSN Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-ETRN Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-AUTH PLAIN LOGIN Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250-DELIVERBY Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250 HELP Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: <-- AUTH PLAIN AHBhdWwAcmV3N3gwMTQ0NQ== Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 235 2.0.0 OK Authenticated Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: AUTH=server, relay=87-194-184-71.bethere.co.uk [87.194.184.71], authid=paul, mech=PLAIN, bits=0 Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: <-- MAIL FROM: SIZE=20688 Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: Milter: sender: Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: milter=clmilter, action=mail, continue Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: Milter (clmilter): time command (M), 0 Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: milter=spamassassin, action=mail, continue Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: Milter (spamassassin): time command (M), 0 Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 250 2.1.0 ... Sender ok Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: <-- RCPT TO: Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: --- 550 5.7.1 ... Relaying denied. Proper authentication required. Oct 24 11:13:01 ifdnrg18 sm-mta[57530]: m9OAD18c057530: ruleset=check_rcpt, arg1=, relay=87-194-184-71.bethere.co.uk [87.194.184.71], reject=550 5.7.1 ... Relaying denied. Proper authentication required. rc.conf #SASLAUTHD saslauthd_enable="YES" #note debug mode for sasl runs the daemon in foreground #saslauthd_flags="-a getpwent -d" saslauthd_flags="-a getpwent" there's nothing in the access maps to reject this host, and adding myself to the access map fixes it for me ( but obv not anyone else) The same upgrade to sasl went smoothly on 2 other boxes with fairly identical setups, and both sasl and sendmail have been reinstalled with same effect. Can anyone offer any suggestions? tia Paul.