Mailinglist Archive: opensuse-es (2353 mails)
| < Previous | Next > |
Re: [opensuse-es] Configurando Servidor de Correo, Dudas Iniciales
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Sun, 21 Oct 2007 12:35:22 +0200 (CEST)
- Message-id: <alpine.LSU.0.9999.0710211227210.21661@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El 2007-10-20 a las 13:56 -0000, Jaime Velez escribió:
El postfix no sólo puede usar ldap, admite más, como mysql; ¿alguno lo ha probado? No viene compilado así con SuSE, pero se puede hacer.
nimrodel:~ # postconf -m
btree
cidr
environ
hash
ldap
nis
pcre
proxy
regexp
sdbm
static
tcp
unix
nimrodel:~ #
Mira los tipos posibles:
-m List the names of all supported lookup table types.
Postfix lookup tables are specified as type:name,
where type is one of the types listed below. The
table name syntax depends on the lookup table type.
btree A sorted, balanced tree structure. This is
available only on systems with support for
Berkeley DB databases.
dbm An indexed file type based on hashing. This
is available only on systems with support
for DBM databases.
environ
The UNIX process environment array. The
lookup key is the variable name. Originally
implemented for testing, someone may find
this useful someday.
hash An indexed file type based on hashing. This
is available only on systems with support
for Berkeley DB databases.
ldap (read-only)
Perform lookups using the LDAP protocol.
This is described in an LDAP_README file.
mysql (read-only)
Perform lookups using the MYSQL protocol.
This is described in a MYSQL_README file.
pcre (read-only)
A lookup table based on Perl Compatible Reg-
ular Expressions. The file format is
described in pcre_table(5).
proxy (read-only)
A lookup table that is implemented via the
Postfix proxymap(8) service. The table name
syntax is type:name.
regexp (read-only)
A lookup table based on regular expressions.
The file format is described in regexp_ta-
ble(5).
static (read-only)
A table that always returns its name as
lookup result. For example, static:foobar
always returns the string foobar as lookup
result.
unix (read-only)
A limited way to query the UNIX authentica-
tion database. The following tables are
implemented:
unix:passwd.byname
The table is the UNIX password
database. The key is a login name.
The result is a password file entry
in passwd(5) format.
unix:group.byname
The table is the UNIX group
database. The key is a group name.
The result is a group file entry in
group(5) format.
habría que ver cual es el más rápido.
Para eso a un btree, sospecho que es más rápido de accesar.
- -- Saludos
Carlos E.R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFHGytstTMYHG2NR9URAg9YAJ9Y40wi5+CSlGIAZAuwGg8JVlSsTACdE19v
MJWi2F8AIurBbCOOpgi/McI=
=76Vi
-----END PGP SIGNATURE-----
Hash: SHA1
El 2007-10-20 a las 13:56 -0000, Jaime Velez escribió:
seguridad, y problemas de rendimiento si tener un servidor correo ya de por si es una ventana a "problemas" pues los problemas con ldap se multiplican por 3 (inseguridades propias de postfix + seguridades propias de cirrus-sasl + inseguridades propias de ldap Otro problema es el "rendimiento" el rendimiento de postfix cae de forma dramatica cuando autentica contra ldap aqui he leido (ojo que este truco ni por las
El postfix no sólo puede usar ldap, admite más, como mysql; ¿alguno lo ha probado? No viene compilado así con SuSE, pero se puede hacer.
nimrodel:~ # postconf -m
btree
cidr
environ
hash
ldap
nis
pcre
proxy
regexp
sdbm
static
tcp
unix
nimrodel:~ #
Mira los tipos posibles:
-m List the names of all supported lookup table types.
Postfix lookup tables are specified as type:name,
where type is one of the types listed below. The
table name syntax depends on the lookup table type.
btree A sorted, balanced tree structure. This is
available only on systems with support for
Berkeley DB databases.
dbm An indexed file type based on hashing. This
is available only on systems with support
for DBM databases.
environ
The UNIX process environment array. The
lookup key is the variable name. Originally
implemented for testing, someone may find
this useful someday.
hash An indexed file type based on hashing. This
is available only on systems with support
for Berkeley DB databases.
ldap (read-only)
Perform lookups using the LDAP protocol.
This is described in an LDAP_README file.
mysql (read-only)
Perform lookups using the MYSQL protocol.
This is described in a MYSQL_README file.
pcre (read-only)
A lookup table based on Perl Compatible Reg-
ular Expressions. The file format is
described in pcre_table(5).
proxy (read-only)
A lookup table that is implemented via the
Postfix proxymap(8) service. The table name
syntax is type:name.
regexp (read-only)
A lookup table based on regular expressions.
The file format is described in regexp_ta-
ble(5).
static (read-only)
A table that always returns its name as
lookup result. For example, static:foobar
always returns the string foobar as lookup
result.
unix (read-only)
A limited way to query the UNIX authentica-
tion database. The following tables are
implemented:
unix:passwd.byname
The table is the UNIX password
database. The key is a login name.
The result is a password file entry
in passwd(5) format.
unix:group.byname
The table is the UNIX group
database. The key is a group name.
The result is a group file entry in
group(5) format.
habría que ver cual es el más rápido.
corvas que se me ocurre a mi, pero me parece de lo mas recursivo) y es mediante un script basjar a archivo plano la información de usuarios que esta con ldap (algo que se ejecute cada hora o 1 vez al dia) para que postfix haga el tratamiento normal de usuarios en archivos planos.. mas propia de la forma en que trabaja postfix (nojoda.. la verdad es que no se si esto se pueda, pero nadie puede negar que es una idea poderosa se ve simple..practica)
Para eso a un btree, sospecho que es más rápido de accesar.
- -- Saludos
Carlos E.R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFHGytstTMYHG2NR9URAg9YAJ9Y40wi5+CSlGIAZAuwGg8JVlSsTACdE19v
MJWi2F8AIurBbCOOpgi/McI=
=76Vi
-----END PGP SIGNATURE-----
| < Previous | Next > |