[Slackbuilds-users] [Slackbuild users] Postfix and dovecot with PostgreSQL

Eugen Wissner belka at caraus.de
Mon Jul 4 06:10:15 UTC 2016


Hello,

one question to Postfix maintainer, Mario Preksavec: Can you please add
optional PostgreSQL support to the build script? I'm using postfix and
dovecot with postgresql and it would be nice to have an option to
enable it without editing the script each time. I'm attaching a patch
for postfix.

Something similar would be nice for dovecot aswell. Dovecot just
requires --with-pgsql option to be built with PostgreSQL support.
I thought about a variable:

WITH_PGSQL=${WITH_PGSQL:-no}

and then pass it to configure
--with-pgsql=$WITH_PGSQL

or like postfix:

DATABASE=${DATABASE:-sqlite}
case "$DATABASE" in
       sqlite) DBARGS="--with-sqlite" ;;
       mysql)  DBARGS="--with-mysql" ;;
       pgsql)  DBARGS="--with-pgsql" ;;
esac

I could send a patch for that aswell.

By the way: there is a postfix and dovecot updates. postfix 3.0.5 and
3.1.1 work just fine with the existing script and just a version bump;
dovecot 2.2.25 not tested yet, but shouldn't be a problem (will test it
next days).


What do you think?

Thanks
Eugene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postfix-pgsql.diff
Type: text/x-patch
Size: 683 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160704/d2f2269c/attachment.bin>


More information about the SlackBuilds-users mailing list