DevHeads.net

How to know if my Postfix supports MySQL and PostgreSQL?

Hi,

I'm using CentOS6 that comes with Postfix "mail_version = 2.6.6". I
need to know if my Postfix supports MySQL and PostgreSQL to a
virtualhost/virtualusers configuration. How can know if my Postfix
supports MySQL and PostgreSQL?

Best Regards,

Comments

Re: How to know if my Postfix supports MySQL and PostgreSQL?

By MailingListe at 02/03/2012 - 06:59

Zitat von Andre Lopes < ... at gmail dot com>:

postconf -m is your friend. You might need to install some postfix-xxx
package to get the map types desired.

Regards

Andreas

Re: How to know if my Postfix supports MySQL and PostgreSQL?

By Andre Lopes at 02/03/2012 - 07:50

Thanks for all reply's. I will use MySQL. CentOS6 donĀ“t have any
usable RPM to PostgreSQL and many users out there had troubles
recompiling Postfix with pgsql support.

Thanks for the help.

Best Regards,

On Fri, Feb 3, 2012 at 10:59 AM, < ... at kwsoft dot de> wrote:

Re: How to know if my Postfix supports MySQL and PostgreSQL?

By Peter at 02/03/2012 - 19:31

On 04/02/12 00:50, Andre Lopes wrote:
If you rebuild the RPM with these lines in your .rpmmacros file you will
have both postgresql and mysql support:
%MYSQL 1
%PGSQL 1

Peter

Re: How to know if my Postfix supports MySQL and PostgreSQL?

By =?ISO-8859-9?Q?... at 02/03/2012 - 06:58

On 02/03/2012 11:55 AM, Andre Lopes wrote:
t

Re: How to know if my Postfix supports MySQL and PostgreSQL?

By Andre Lopes at 02/03/2012 - 07:01

Thanks for the reply's,

The output is:

[root@mailserver ~]# postconf -c /etc/postfix -m
btree
cidr
environ
hash
ldap
mysql
nis
pcre
proxy
regexp
static
unix

How can I add PostgreSQL support?

Best Regards,

On Fri, Feb 3, 2012 at 10:58 AM, Pinter Tibor < ... at tibyke dot hu> wrote:

Re: How to know if my Postfix supports MySQL and PostgreSQL?

By dev rob0 at 02/03/2012 - 07:27

On Fri, Feb 03, 2012 at 12:11:11PM +0100, Laurent RAYSSIGUIER wrote:
Andre:
A Debian-specific answer might not be of much use to CentOS users.

For CentOS support, see CentOS documentation and support forums.

The Postfix answer: <a href="http://www.postfix.org/PGSQL_README.html" title="http://www.postfix.org/PGSQL_README.html">http://www.postfix.org/PGSQL_README.html</a>

RE: How to know if my Postfix supports MySQL and PostgreSQL?

By Laurent RAYSSIGUIER at 02/03/2012 - 06:57

Hello,

postconf -c /etc/postfix -m

I know that since yesterday :-)

Best regards
Laurent