From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:28:10 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 4313210656AB for ; Thu, 9 Oct 2008 07:28:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id DC4B48FC14 for ; Thu, 9 Oct 2008 07:28:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA09.westchester.pa.mail.comcast.net with comcast id QXEX1a0020QuhwU59XU8Zt; Thu, 09 Oct 2008 07:28:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id QXU71a0082P6wsM3NXU8Sz; Thu, 09 Oct 2008 07:28:08 +0000 X-Authority-Analysis: v=1.0 c=1 a=H_INWwDCAYYA:10 a=fl9ZgZ941HIA:10 a=QycZ5dHgAAAA:8 a=JZ1Y4_ZXWiTfDMjn3aoA:9 a=sBvUGY6sHDGVZ2b8te0A:7 a=0xX6rwa9NPjbTUr9NjS7WGhyJx0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 30481C9419; Thu, 9 Oct 2008 00:28:07 -0700 (PDT) Date: Thu, 9 Oct 2008 00:28:07 -0700 From: Jeremy Chadwick To: Da Rock Message-ID: <20081009072807.GA97354@icarus.home.lan> References: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> <1223535149.12779.32.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223535149.12779.32.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: [SOLVED] Re: !@%%## maildrop and postfix - temporary authentication failure 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: Thu, 09 Oct 2008 07:28:10 -0000 On Thu, Oct 09, 2008 at 04:52:29PM +1000, Da Rock wrote: > > On Thu, 2008-10-09 at 16:21 +1000, Da Rock wrote: > > I'm really about to throw this damn server through a closed window (or > > better yet a brick wall). I've searched high and low on google for a > > straight answer, and any references in mailing lists give an answer of > > read the INSTALL file (as if thats supposed to solve everything). > > > > I have virtual users for email in postfix, and I want to use maildrop to > > deliver to the virtual mailboxes. Problem is, when it does use maildrop > > it shows an error in the logs as the subject line says. > > > > I've tried everything, checked everything. That supposed magic solution > > in the INSTALL file says only ONE thing needs to be set to get it to > > work. Maildrop is owned by root and group is mail. The socket is rwx > > globally (all this is set by the port install). The executing user for > > pipe in postfix is vmail. > > > > I've installed the port with authlib and gdbm (even manually adjusted > > the makefile to ensure --enable-userdb). Nada. > > > > The generally consensus is that it should work out of the box- so what > > the hell am I doing wrong? Where should I be looking? Specifically: what > > is not authenticating? I can manually test maildrop ok. So wtf? > > > > You'll have to excuse my language here- I'm not sure how much hair I > > have left after working on this for several days... > > Ok, I know I'm answering my own question here- but this should > definitely be fixed. > > In the INSTALL file, someone should change the statement where it says > "When using the standalone maildrop build with courier-authlib, one > of the following configurations must be used:"\ > > to: "When using the standalone maildrop build with courier-authlib, ALL > of the following configurations must be used:" > > Just after I sent the email I thought I'd check the only thing I hadn't > changed, the setuid bit. There are several reasons why I hadn't had the > guts to do this before- but in my mood I was feeling reckless. > > 1. The statement in the INSTALL file said only one configuration needed > to be changed. > 2. I installed from ports- I would have thought (like most would, and > history has served to provide empirical data) that the install process > would have set this. > 3. None of the information I read when searching emphasised this when > all other options are already set- and certainly none based on freebsd. > > Anyone else with this issue popping up THIS is the answer- set ALL the > configuration options in the INSTALL file. This should go to freebsd-ports, not freebsd-questions. I would also recommend filing a PR about this, since otherwise it's unlikely to get addressed/fixed. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |