From owner-freebsd-security@FreeBSD.ORG Fri Jul 18 10:26:11 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDDCE37B401 for ; Fri, 18 Jul 2003 10:26:11 -0700 (PDT) Received: from ms-smtp-01.texas.rr.com (ms-smtp-01.texas.rr.com [24.93.36.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC4B943F85 for ; Fri, 18 Jul 2003 10:26:10 -0700 (PDT) (envelope-from cboyd@gizmopartners.com) Received: from gizmopartners.com (cs24359-109.austin.rr.com [24.243.59.109]) h6IHPlxH025311; Fri, 18 Jul 2003 12:25:51 -0500 (CDT) Date: Fri, 18 Jul 2003 12:25:47 -0500 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Hajimu UMEMOTO From: Chris Boyd In-Reply-To: Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: freebsd-security@freebsd.org Subject: Re: ASMTP setup on 4.8 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 17:26:12 -0000 Thanks! This and adding sasl_saslauthd_flags="-a getpwent" to /etc/rc.conf fixes the problem. --Chris On Friday, July 18, 2003, at 11:28 AM, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Fri, 18 Jul 2003 11:01:27 -0500 >>>>>> Chris Boyd said: > > cboyd> I'm trying to set up a sendmail server on 4.8 that supports > auth-based > cboyd> relaying. I followed the procedures at > cboyd> http://puresimplicity.net/~hemi/freebsd/sendmail.html, and > aside from > cboyd> having to run makes manually in the library directories, I had > no > cboyd> difficulty. I did not use the rebuild world recommendation, > though. > > cboyd> Everything is up and running, but whenever I try to send mail > through > cboyd> it, I always get a mismatch on the user/pass, even though they > are > cboyd> correct. Any recommendations? > > The page explains the setup of using saslauthd. Recently, saslauthd > was separated from cyrus-sasl2 port for some reason. If you don't > have /usr/local/sbin/saslauthd installed in your system, you need to > install it from ports/security/cyrus-sasl2-saslauthd, too. In > addition, you need to change /usr/local/lib/sasl2/Sendmail.conf to use > saslauthd like: > > pwcheck_method: saslauthd > > Sincerely, > > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ >