[Dovecot] Sieve > Pigeonhole > external storage with LDAP or other data source available to dovecot
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Thu Jan 7 15:13:02 EET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 5 Jan 2010, Martin F. Foster wrote:
> Allows scripts which are still stored on the filesystem to lookup parameters
> stored in an LDAP directory.
> # traditional "vacation" mode, say reply once every 30d
> if ldap "mailResponderMode" "vacation" {
> vacation :days 30 "ldap at mailResponderText";
> }
How about to mimick the variable extension in such way that the values are
first put into variables? I refer to ldap at .. syntex especially.
e.g.
require ["variables", "variables_ldap"];
set :ldap "LDAP query" [ attibute_name1 attribute_name2 ... ]
If "LDAP query" is missing, a default query like "(|(mail=%1)(uid=%1))" is
performed.
attribute_name is the variable name, the values is placed in.
((Well, the actual syntax is just a hint))
Dunno, how you can deal with multi-value LDAP attributes.
Regards,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBS0Xd4L+Vh58GPL/cAQLdcAf/d+C/XJiHofsAXqdbXCvNMDUWEl5UcGTf
PVzu1OFpTvTFIVXAomL5WIYeTHQsk3P7TuLhloQUK/+ublh9dzg9S35Hg+j7h3VN
AA+/1j8UhrukDFCI/7/LcKPiJQEtrcWsuaCtX0+QpUFTRo/AQMKNIcVFwhJw60IZ
ziBF9RhpqDC4n2F7dfJ6EB3zlKPP6GTVPZGlYFeLPGFeHijQ+LZvdZ3Fg7yipuSr
4fW41SCBKy0ihoHzHUahEJKHIwiU7IIpnNn8v+OJ0drwks0V5mKRd9N+LcJ/yWJZ
jC/NETAI2Hxk2j4lyM/iKiydSPU2IIYGglSk4BIa8ojDy2q8r9XQGA==
=yGmu
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list