phpldapadmin: Add phpldapadmin configuration.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / templates / creation / sendmailMTAMapObject.xml
diff --git a/etc/phpldapadmin/templates/creation/sendmailMTAMapObject.xml b/etc/phpldapadmin/templates/creation/sendmailMTAMapObject.xml
new file mode 100644 (file)
index 0000000..6438dbf
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE template SYSTEM "template.dtd">
+<!--This template doesnt work needs modification to the Engine.-->
+<template>
+<title>Sendmail Relays</title>
+<!--<regexp>^ou=People,o=.*,</regexp>-->
+<icon>images/mail.png</icon>
+<description>New Sendmail Relays</description>
+<askcontainer>1</askcontainer>
+<rdn>sendmailMTACluster</rdn>
+<visible>1</visible>
+
+<objectClasses>
+<objectClass id="sendmailMTAClass"></objectClass>
+</objectClasses>
+
+<attributes>
+<attribute id="sendmailMTACluster">
+       <display>Sendmail Cluster Name</display>
+       <icon>images/object.png</icon>
+       <order>1</order>
+       <page>1</page>
+</attribute>
+<attribute id="sendmailMTAHost">
+       <display>Sendmail Hostname</display>
+       <hint>Leave Blank</hint>
+       <order>2</order>
+       <page>1</page>
+</attribute>
+<attribute id="sendmailMTAKey">
+       <display>Host/Network/Address</display>
+       <option>RELAY: Allow host/network/address to relay</option>
+       <option>OK: Accept local mail but disallow relay</option>
+       <option>REJECT: Reject messages</option>
+       <option>DISCARD: Discard messages</option>
+       <option>SKIP: Apply default action to messages</option>
+       <option>ERROR: Reject message with custom error</option>
+       <order>3</order>
+       <page>1</page>
+</attribute>
+<attribute id="sendmailMTAMapName">
+       <value>access</value>
+       <hidden>1</hidden>
+</attribute>
+</attributes>
+</template>