pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / mail / postfix / files / postfix.xml
blob1447200b990603b2d9adf4e1d4ebb486374e5f0b
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4     CDDL HEADER START
6     The contents of this file are subject to the terms of the
7     Common Development and Distribution License (the "License").
8     You may not use this file except in compliance with the License.
10     You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11     or http://www.opensolaris.org/os/licensing.
12     See the License for the specific language governing permissions
13     and limitations under the License.
15     When distributing Covered Code, include this CDDL HEADER in each
16     file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17     If applicable, add the following below this CDDL HEADER, with the
18     fields enclosed by brackets "[]" replaced with your own identifying
19     information: Portions Copyright [yyyy] [name of copyright owner]
21     CDDL HEADER END
23     Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24     Use is subject to license terms.
26     Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
27     Copyright 2016 Adam Stevko <adam.stevko@gmail.com>
29     NOTE:  This service manifest is not editable; its contents will
30     be overwritten by package or patch operations, including
31     operating system upgrade.  Make customizations in a different
32     file.
33 -->
34 <service_bundle type='manifest' name='service/network/smtp/postfix:postfix'>
35 <service name="network/smtp" type="service" version="1">
37         <single_instance/>
39         <dependency name="fs-local" grouping="require_all" restart_on="none" type="service">
40                 <service_fmri value="svc:/system/filesystem/local"/>
41         </dependency>
43         <dependency name="network-service" grouping="require_all" restart_on="none" type="service">
44                 <service_fmri value="svc:/network/service"/>
45         </dependency>
47         <dependency name="name-services" grouping="require_all" restart_on="refresh" type="service">
48                 <service_fmri value="svc:/milestone/name-services"/>
49         </dependency>
51         <dependency name="identity" grouping="optional_all" restart_on="refresh" type="service">
52                 <service_fmri value="svc:/system/identity:domain"/>
53         </dependency>
55         <dependency name="system-log" grouping="optional_all" restart_on="none" type="service">
56                 <service_fmri value="svc:/system/system-log"/>
57         </dependency>
59         <property_group name="firewall_context" type="com.sun,fw_definition">
60                 <propval name="name" type="astring" value="smtp"/>
61         </property_group>
63         <property_group name="firewall_config" type="com.sun,fw_configuration">
64                 <propval name="policy" type="astring" value="use_global"/>
65                 <propval name="block_policy" type="astring" value="use_global"/>
66                 <propval name="apply_to" type="astring" value=""/>
67                 <propval name="apply_to_6" type="astring" value=""/>
68                 <propval name="exceptions" type="astring" value=""/>
69                 <propval name="exceptions_6" type="astring" value=""/>
70                 <propval name="target" type="astring" value=""/>
71                 <propval name="target_6" type="astring" value=""/>
72                 <propval name="value_authorization" type="astring" value="solaris.smf.value.firewall.config"/>
73         </property_group>
75         <instance name="postfix" enabled="false">
77                 <dependency name="config-file" grouping="require_all" restart_on="refresh" type="path">
78                         <service_fmri value="file://localhost/etc/postfix/main.cf"/>
79                 </dependency>
81                 <dependency name="nsswitch" grouping="require_all" restart_on="refresh" type="path">
82                         <service_fmri value="file://localhost/etc/nsswitch.conf"/>
83                 </dependency>
85                 <dependency name="autofs" grouping="optional_all" restart_on="none" type="service">
86                         <service_fmri value="svc:/system/filesystem/autofs"/>
87                 </dependency>
89                 <dependent name="smtp-postfix_multi-user" grouping="optional_all" restart_on="none">
90                                 <service_fmri value="svc:/milestone/multi-user"/>
91                 </dependent>
93                 <exec_method type="method" name="start" exec="/usr/sbin/postfix start" timeout_seconds="60">
94                         <method_context>
95                                  <method_credential user='root' group='postfix' privileges='basic,net_privaddr,proc_setid,file_dac_read,file_dac_search'/>
96                         </method_context>
97                 </exec_method>
99                 <exec_method type="method" name="stop" exec="/usr/sbin/postfix stop" timeout_seconds="60"/>
101                 <exec_method type="method" name="refresh" exec="/usr/sbin/postfix reload" timeout_seconds="60"/>
103                 <property_group name="startd" type="framework">
104                         <propval name="ignore_error" type="astring" value="core,signal"/>
105                 </property_group>
107                 <property_group name="general" type="framework">
108                         <propval name="action_authorization" type="astring" value="solaris.smf.manage.postfix"/>
109                 </property_group>
111                 <template>
112                         <common_name>
113                                 <loctext xml:lang="C">
114                                 postfix SMTP mail transfer agent
115                                 </loctext>
116                         </common_name>
117                         <documentation>
118                                 <manpage title="postfix" section="1M" manpath="/usr/share/man"/>
119                         </documentation>
120                 </template>
122         </instance>
124         <stability value="Unstable"/>
126 </service>
128 </service_bundle>