[postfix-es] Postfix con soporte para MySql

Simon J Mudd sjmudd en pobox.com
Dom Jul 27 10:15:31 CEST 2003


andresdb en uruguaysoft.com.uy (Andrés) writes:

> Hola,
> 
> Tengo el siguiente problema, tengo RedHat8, postfix-1.1.11-5,
> mysql-3.23.56-1.80.
> 
> Quiero habilitar el soporte para mysql en postfix
> postconf -m
> static
> sdbm
> pcre
> nis
> regexp
> environ
> btree
> unix
> hash
> 
> ¿Que tengo que hacer para poder agregar el modulo de MySql a Postfix?

Recompilar Postfix desde fuentes según las instrucciones en
MYSQL_README (que debes tener con la versión de Postfix instalado).

Dice:
-- snip --
[Code contributed by Scott Cotton and Joshua Marcus, IC Group, Inc.]

We've written code to add a mysql map type.  It utilizes the mysql
client library, which can be obtained from:

        http://www.mysql.com/downloads/
        http://sourceforge.net/projects/mysql/

In order to build postfix with mysql map support, you will need to add
-DHAS_MYSQL and -I for the directory containing the mysql headers, and
the mysqlclient library (and libm) to AUXLIBS, for example:

make -f Makefile.init makefiles \
        'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \
        'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'

then, just run 'make'. This requires libz, the compression library.
Older mysql implementations build without libz.

Postfix installations which may benefit from using mysql map types
include sites that have a need for instantaneous updates of
forwarding, and sites that may benefit from having mail exchangers
reference a networked database, possibly working in conjunction with a
customer database of sorts.
...
-- snip --


Simon
-
Para ENVIAR mensajes a esta lista tienes que estar SUSCRITO a ella.
.
Envía la linea "unsubscribe postfix-es" en el cuerpo de un mensaje
a majordomo en WL0.org para quitarte de la lista.



Más información sobre la lista de distribución Postfix-es