From owner-freebsd-isp@FreeBSD.ORG Tue Jun 13 00:53:16 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EE4116A41A for ; Tue, 13 Jun 2006 00:53:16 +0000 (UTC) (envelope-from szlists@szarka.org) Received: from hustle.szarka.net (hustle.szarka.net [204.89.131.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id D653543D46 for ; Tue, 13 Jun 2006 00:53:15 +0000 (GMT) (envelope-from szlists@szarka.org) Received: from BUCKY.szarka.org (ip-65-75-16-177.ct.dsl.ntplx.com [65.75.16.177]) (authenticated bits=0) by hustle.szarka.net (8.13.6/8.13.6) with ESMTP id k5D0rEJH044914 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 12 Jun 2006 20:53:14 -0400 (EDT) (envelope-from szlists@szarka.org) Message-Id: <7.0.1.0.0.20060612204915.0683fc98@szarka.org> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 12 Jun 2006 20:53:14 -0400 To: freebsd-isp@freebsd.org From: Rob Szarka In-Reply-To: <20060612111724.M53249@ezo.net> References: <7.0.1.0.0.20060611113015.072d4698@szarka.org> <7.0.1.0.0.20060612051259.04bbfd10@szarka.org> <20060612111724.M53249@ezo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Sendmail/SASL2/saslauthdb problem X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 00:53:16 -0000 At 07:29 AM 6/12/2006, jflowers wrote: >On FreeBSD mmencode can't be used, even with >printf for 'auth plain' because it can't handle the null (\0) characters >required. At least I couldn't figure out how to do it. My solution was to use >perl with MIME::Base64 installed as in: Another alternative, apparently, is printf "foo" | openssl base64 I didn't think of it at the time, but then I read July's issue of Linux Journal. :)