[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    Re: Dovecot - Fatal: Support for passdb not compiled for driver pam ?
From:       Matthias Scheler <tron () zhadum ! org ! uk>
Date:       2011-06-10 21:55:42
Message-ID: 20110610215542.GA563 () colwyn ! zhadum ! org ! uk
[Download RAW message or body]

On Wed, Jun 08, 2011 at 11:25:21AM +0200, Maurizio Caloro wrote:
> # pkg-info - [Snip]
> postfix-2.8.3       Postfix SMTP server and tools
> qpopper-4.0.9nb2    Qualcomm's POP server for Eudora
> dovecot-1.2.17      Secure IMAP and POP3 server

I would recommend to use Dovecot 2.0 which you can find in
"pkgsrc/mail/dovecot2".

> openpam-20071221    Open-source PAM library

You don't need that. NetBSD includes PAM.

> # cat /usr/pkgsrc/mail/dovecot/Makefile |grep pam
> $NetBSD: Makefile,v 1.155 2011/05/13 07:34:48 adam Exp $
> CONFIGURE_ARGS+=        --with-pam

Modifying "Makefile" is the wrong way, and apparently doesn't work anyway.

You only need to active the "pam" option by adding this to "/etc/mk.conf":

	PKG_OPTIONS.dovecot+=	pam

If you run "make show-options" in "pkgsrc/mail/dovecot" (or better in
"pkgsrc/mail/dovecot2") it list the options.

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic