All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.rhq-plugin.xml Maven / Gradle / Ivy

There is a newer version: 4.13.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<plugin name="Postfix"
        displayName="Postfix"
        description="Support for RHEL Postfix service"
        package="org.rhq.plugins.postfix"
        pluginLifecycleListener="org.rhq.plugins.augeas.AugeasPluginLifecycleListener"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="urn:xmlns:rhq-plugin"
        xmlns:c="urn:xmlns:rhq-configuration">

   <depends plugin="Augeas"/>

   <server name="Postfix Server"
            description="Configuration for Postfix Server"
            discovery="PostfixServerDiscoveryComponent"
            class="PostfixServerComponent">

       <plugin-configuration>
           <c:simple-property name="augeasModuleName" displayName="Augeas Module Name" default="Postfix_Main" required="true" readOnly="true"
                              description="the name of the Augeas module/lens to use for loading and updating this resource's configuration"/>

           <c:simple-property name="configurationFilesInclusionPatterns" displayName="File Path" type="file" required="true" readOnly="true"
                              default="/etc/postfix/main.cf"
                              description="the absolute path of the postfix configuration"/>

           <c:simple-property name="resourceConfigurationRootNode" required="true" readOnly="true"
                              default="/files/etc/postfix/main.cf"/>
       </plugin-configuration>

      <resource-configuration>
        <c:group name="Basic Configurations">
            <c:simple-property displayName="Hostname" name="myhostname" description="Server's fully qualified domain name" required="false"/>
            <c:simple-property displayName="Origin" name="myorigin" description="Domain used in outgoing mail" required="false"/>
            <c:simple-property displayName="Networks" name="mynetworks" description="List of clients that can relay mail" required="false"/>
            <c:simple-property displayName="Destinations" name="mydestination" description="Space delimited list of domains for which server will accept delivered. Postfix must be restarted." required="false"/>
            <c:simple-property displayName="Interfaces" name="inet_interfaces" description="Network interfaces that Postfix will bind to" required="false"/>
            <c:simple-property displayName="Banner" name="smtpd_banner" description="SMTP Banner (RFC requires hostname and ESMTP prompt)" default="$myhostname ESMTP" required="true"/>
        </c:group>
        <c:group name="Security">
            <c:simple-property displayName="Suppress VRFY" name="disable_vrfy_command" type="boolean"  default="true" required="false" description="Supress Response to SMTP VRFY requests by default"/>
            <c:simple-property displayName="Force HELO" name="smtpd_helo_required" type="boolean"  default="true" required="false" description="Force clients to start connection with HELO"/>
            <c:simple-property displayName="Always send EHLO" name="smtp_always_send_ehlo" type="boolean"  default="true" required="true" description="Always send a correct EHLO greeting"/>
            <c:simple-property displayName="In Flow Delay" name="in_flow_delay" required="false" description="Number of seconds to delay before accepting messages if arriving faster than delivering"/>
            <c:simple-property displayName="Concurrency Delivery" name="local_destination_concurrency_limit" required="false" description="Number of messages delivered simultaneously to the same local recipient"/>
        </c:group>
       </resource-configuration>

      <service name="Access" discovery="PostfixAccessDiscoveryComponent" class="PostfixAccessComponent"               
               description="Access List in the  Postfix System">
       <plugin-configuration>
           <c:simple-property name="augeasModuleName" displayName="Augeas Module Name" default="Postfix_Access" required="true" readOnly="true"
                              description="the name of the Augeas module/lens to use for loading and updating this resource's configuration"/>

           <c:simple-property name="configurationFilesInclusionPatterns" displayName="File Path" type="file" required="true" readOnly="true"
                              default="/etc/postfix/access"
                              description="the absolute path of the postfix configuration"/>

           <c:simple-property name="resourceConfigurationRootNode" required="true" readOnly="true"
                              default="/files/etc/postfix/access"/>
       </plugin-configuration>
      <resource-configuration>
         <c:list-property name="." displayName="Entries">
            <c:map-property name="*[pattern]">
               <c:simple-property name="pattern" displayName="Filtering Pattern" type="string" required="true" 
                                  description="The filtering pattern. Example  Ip address 1.2.3"/>

               <c:simple-property name="action" displayName="Action" type="string" required="true"
                                  description="The action to undergo, for example REJECT/ACCEPT"/>

				<c:simple-property name="parameters" displayName="Arguments" type="string" required="false"
                                  description="These depend on the action selected. For example you may choose to use this to be the message for 'DISCARD' action. "/>                                  
            </c:map-property>
         </c:list-property>
      </resource-configuration>
      </service>
   </server>

</plugin>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy