From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 22:09:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10CAC37B407 for ; Sun, 10 Aug 2003 22:09:27 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 379A243F3F for ; Sun, 10 Aug 2003 22:09:25 -0700 (PDT) (envelope-from bc979@lafn.org) Received: from dialup-67.74.153.195.dial1.houston1.level3.net ([67.74.153.195] helo=lafn.org) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19m4vr-0004En-00; Sun, 10 Aug 2003 22:09:23 -0700 Date: Sun, 10 Aug 2003 22:09:22 -0700 Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Matthew Seaman From: Doug Hardie In-Reply-To: <20030809123004.GB25642@happy-idiot-talk.infracaninophile.co.uk> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: FreeBSD cc: FreeBSD-Questions Subject: Re: POP Before SMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 05:09:27 -0000 On Saturday, Aug 9, 2003, at 05:30 US/Pacific, Matthew Seaman wrote: > Hmmm... Don't know precisely about pop before sendmail, but setting up > sendmail so that it requires authentication before it will relay a > message from a "foreign" location is quite do-able, and can easily be > integrated with the standard system sendmail. > > Probably the easiest way to get going is to follow the instructions at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp- > auth.html The handbook seems to be missing some instructions. I tried what it says and sendmail does not accept authentication requests. There is an error in the maillog about /usr/local/etc/sasldb.db having group permissions. Changing that to 700 changes the error to one where it can't access the file. Changing the owner of that to root eliminates the error messages. Sendmail then acknowledges that it has auth capability. But it doesn't authenticate anything. A ktrace shows that it tries to access a pipe in /var/pwcheck/pwcheck. The directory exists, but it is completely empty. Something else is needed to get whatever its trying to communicate with up.