LDAP Admin - iRedmail_useriRedmail_user by Mc.woLF
ver 1.0iRedmail User Entry. Please include iredmail.schema in openldap's config file before.
<template>
<name>iRedmail_user</name>
<description>iRedmail User Entry. Please include iredmail.schema in openldap's config file before. </description>
<author>Mc.woLF</author>
<version>1.0</version>
<email>mcwolf2000@126.com</email>
<website>http://blog.chinaunix.net/uid/20535506.html</website>
<rdn>mail</rdn>
<extends>user</extends>
<attribute>
<name>objectclass</name>
<value>inetOrgPerson</value>
<value>mailUser</value>
<value>shadowAccount</value>
<value>amavisAccount</value>
</attribute>
<control type="panel">
<caption>Name</caption>
<bevel>lowered</bevel>
<attribute type="text">
<description>uid</description>
<name>uid</name>
</attribute>
<attribute type="text">
<name>mail</name>
<value>%uid%@hubei.net</value>
</attribute>
</control>
<control type = "tabbedpanel">
<tab>
<caption>General</caption>
<attribute type="text">
<name>cn</name>
<value>%uid%</value>
</attribute>
<attribute type="text">
<name>storageBaseDirectory</name>
<value>/var/vmail</value>
</attribute>
<attribute type="text">
<name>mailMessageStore</name>
<value>vmail1/hubei.net/%uid%/</value>
</attribute>
<attribute>
<name>homeDirectory</name>
<value>%storageBaseDirectory%/%mailMessageStore%</value>
</attribute>
<attribute>
<name>enabledService</name>
<value>mail</value>
<value>deliver</value>
<value>lda</value>
<value>lmtp</value>
<value>smtp</value>
<value>smtpsecured</value>
<value>pop3</value>
<value>pop3secured</value>
<value>imap</value>
<value>imapsecured</value>
<value>managesieve</value>
<value>managesievesecured</value>
<value>sieve</value>
<value>sievesecured</value>
<value>forward</value>
<value>senderbcc</value>
<value>recipientbcc</value>
<value>internal</value>
<value>lib-storage</value>
<value>doveadm</value>
<value>shadowaddress</value>
<value>dispalyedInGlobalAddressBook</value>
</attribute>
<attribute>
<name>shadowLastChange</name>
<value>0</value>
</attribute>
<attribute>
<name>amavisLocal</name>
<value>TRUE</value>
</attribute>
<attribute type="text">
<name>mailQuota</name>
<value>1073741824</value>
</attribute>
<attribute type="text">
<name>userPassword</name>
<control type="edit">
<enabled>false</enabled>
</control>
<value>%userPassword%></value>
</attribute>
<attribute type="text">
<name>userPassword</name>
<control type="passwordbutton">
</control>
</attribute>
</tab>
<tab>
<caption>Profile</caption>
<attribute type="text">
<name>accountStatus</name>
<control type="checkbox">
<true>active</true>
<false>disabled</false>
</control>
<value>active</value>
</attribute>
<attribute type="text">
<name>domainGlobalAdmin</name>
<control type="checkbox">
<true>yes</true>
<false>no</false>
</control>
<value>no</value>
</attribute>
<attribute type="text">
<name>givenname</name>
</attribute>
<attribute type="text">
<name>sn</name>
<control type="edit">
<enabled>false</enabled>
</control>
<value>%uid%</value>
</attribute>
<attribute type="text">
<name>preferredLanguage</name>
<control type="combolist">
<items>
<item><caption>简体中文</caption><value>zh_CN</value></item>
<item><caption>繁體中文</caption><value>zh_TW</value></item>
<item><caption>Русский</caption><value>ru_RU</value></item>
<item><caption>Portuguese (Brazilian)</caption><value>pt_BR</value></item>
<item><caption>Fran?ais</caption>fr_FR<value></value></item>
<item><caption>Finnish (Suomi)</caption><value>fi_FI</value></item>
<item><caption>Korean</caption><value>ko_KR</value></item>
<item><caption>Italiano</caption><value>it_IT</value></item>
<item><caption>?e?tina</caption><value>cs_CZ</value></item>
<item><caption>Hungarian</caption><value>hu_HU</value></item>
<item><caption>Netherlands</caption><value>nl_NL</value></item>
<item><caption>Hungarian</caption><value>hu_HU</value></item>
<item><caption>English (US)</caption><value>en_US</value></item>
<item><caption>Deutsch (Deutsch)</caption><value>de_DE</value></item>
<item><caption>Espa?ol</caption><value>es_ES</value></item>
<item><caption>Polski</caption><value>pl_PL</value></item>
<item><caption>Slovenian</caption><value>sl_SI</value></item>
</items>
</control>
<value>en_US</value>
</attribute>
<attribute type="text">
<name>employeeNumber</name>
</attribute>
<attribute type="text">
<name>mobile</name>
</attribute>
<attribute type="text">
<name>title</name>
</attribute>
<attribute type="text">
<name>telephoneNumber</name>
<control type="listbox">
<buttons>
<button type="add"></button>
<button type="edit"></button>
<button type="delete"></button>
</buttons>
</control>
</attribute>
</tab>
</control>
</template> |