NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dovecot - Fatal: Support for passdb not compiled for driver pam ?



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/


Home | Main Index | Thread Index | Old Index