Hi All,
Someone on the list once told me
that the qmail-ldap-control patch
was just a wrapper, using LDAP instead of reading various control
files.
For virtualdomains, I am using a
scheme based on a per-domain
basis. I would like to add to the scheme the following
attributes:values...
mxAlocals: domain.com
mxArcpthosts:
mxAmorercpthosts: domain.com
mxBlocals:
mxBrcpthosts:
mxBmorercpthosts: domain.com
etc, at will.
Then, I would like qmail to read
the attributes and use them as
locals, rcpthosts and morercpthosts. Actually, I'd like to skip
rcpthosts alltoghether, if possible, since morercpthosts does all
the work anyway.
I would like the attributenames
to be configurable, so on my first
MX server I would write:
/etc/qmail/mxlocals-attribute =>
mxAlocals
/etc/qmail/mxmorercpthosts-attribute
=> mxAmorercpthosts
and on the secondary MX, whch replicates
the LDAP from the first
server:
/etc/qmail/mxlocals-attribute =>
mxBlocals
/etc/qmail/mxmorercpthosts-attribute
=> mxBmorercpthosts
Qmail would then use a filter like
(objectclass=virtualdomain) and
pick the right attribute from the
LDAP entries.
Is anybody interested in coding
this? Are there any conceptual
objections against such an approach ?
For now, I could just run a cronjob
and extract the values to the
respective files, though.
Greetings,
ace suares
--
Ace Suares, Internet Consultancy
and Training
Keizersgracht 132, 1015
CW AMSTERDAM, NL
phone: 06 557 06 554 (+31
6 557 06 554) (voicebox)
fax: 08 48 707 705 (+31
84 870 770 5)
mailto:[EMAIL PROTECTED] http://www.suares.com
