So maybe we should tell the OP that he needs to:

cd /usr/ports/mail/dovecot
make config [ select the MySQL option and save]
make install clean.

[He's probably coming from Linux world to FreeBSD]


 On Mon, 14 Jan 2019 at 13:25, Larry Rosenman <larryrtx@gmail.com> wrote:
Ports has the options, I'm just not changing the defaults.



From: dovecot <dovecot-bounces@dovecot.org> on behalf of Odhiambo Washington <odhiambo@gmail.com>
Sent: Monday, January 14, 2019 3:47:43 AM
To: gsjarvis
Cc: Dovecot Mailing List
Subject: Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
 


On Sun, 13 Jan 2019 at 22:15, gsjarvis <gsjarvis@pt.lu> wrote:
Hello,

I was wondering if there was any progress on this.

I just upgraded a FreeBSD box and had the same issue again.

I keep (reasonably) good support notes so I found the one that said I had to
install from ports - so all is well. I was just wondering if there was any
news.

I look forward to hearing from you.

Thanks,

-Graham-



I have run RC versions and well as RELEASE versions on FreeBSD and I always compile with (/opt path relative to version):
./configure \
        --prefix=/opt/dovecot2.3 \
        --with-ioloop=kqueue \
        --with-notify=kqueue \
        --with-sql=yes \
        --with-mysql \
        --with-zlib \
        --with-bzlib \
        --with-ssl=openssl
gmake install

 

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)