pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / mail / spfmilter / files / spfmilter.xml
blob658ee2cb3dba97d26cbf8557731442c575133de9
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 2021 Friedrich Kink <friedrich.kink@gmail.com>
28     NOTE:  This service manifest is not editable; its contents will
29     be overwritten by package or patch operations, including
30     operating system upgrade.  Make customizations in a different
31     file.
32 -->
33 <service_bundle type='manifest' name='service/network/smtp/spfmilter:spfmilter'>
34 <service name="network/smtp" type="service" version="1">
36         <single_instance/>
38         <dependency name="fs-local" grouping="require_all" restart_on="none" type="service">
39                 <service_fmri value="svc:/system/filesystem/local"/>
40         </dependency>
42         <dependency name="network-service" grouping="require_all" restart_on="none" type="service">
43                 <service_fmri value="svc:/network/service"/>
44         </dependency>
46         <dependency name="name-services" grouping="require_all" restart_on="refresh" type="service">
47                 <service_fmri value="svc:/milestone/name-services"/>
48         </dependency>
50         <dependency name="identity" grouping="optional_all" restart_on="refresh" type="service">
51                 <service_fmri value="svc:/system/identity:domain"/>
52         </dependency>
54         <dependency name="system-log" grouping="optional_all" restart_on="none" type="service">
55                 <service_fmri value="svc:/system/system-log"/>
56         </dependency>
58         <property_group name="firewall_context" type="com.sun,fw_definition">
59                 <propval name="name" type="astring" value="smtp"/>
60         </property_group>
62         <property_group name="firewall_config" type="com.sun,fw_configuration">
63                 <propval name="policy" type="astring" value="use_global"/>
64                 <propval name="block_policy" type="astring" value="use_global"/>
65                 <propval name="apply_to" type="astring" value=""/>
66                 <propval name="apply_to_6" type="astring" value=""/>
67                 <propval name="exceptions" type="astring" value=""/>
68                 <propval name="exceptions_6" type="astring" value=""/>
69                 <propval name="target" type="astring" value=""/>
70                 <propval name="target_6" type="astring" value=""/>
71                 <propval name="value_authorization" type="astring" value="solaris.smf.value.firewall.config"/>
72         </property_group>
74         <instance name="spfmilter" enabled="false">
76                 <dependency name="nsswitch" grouping="require_all" restart_on="refresh" type="path">
77                         <service_fmri value="file://localhost/etc/nsswitch.conf"/>
78                 </dependency>
80                 <dependency name="autofs" grouping="optional_all" restart_on="none" type="service">
81                         <service_fmri value="svc:/system/filesystem/autofs"/>
82                 </dependency>
84                 <dependent name="smtp-spfmilter_multi-user" grouping="optional_all" restart_on="none">
85                                 <service_fmri value="svc:/milestone/multi-user"/>
86                 </dependent>
88                 <exec_method type="method" name="start" exec="/usr/sbin/spfmilter inet:8896@localhost" timeout_seconds="60">
89                         <method_context>
90                                  <method_credential user='spfmilter' group='spfmilter' privileges='basic,net_privaddr,proc_setid,file_dac_read,file_dac_search'/>
91                         </method_context>
92                 </exec_method>
94                 <exec_method
95                         type='method'
96                         name='stop'
97                         exec=':kill'
98                         timeout_seconds='60'/>
100                 <property_group name="startd" type="framework">
101                         <propval name="ignore_error" type="astring" value="core,signal"/>
102                 </property_group>
104                 <property_group name="general" type="framework">
105                         <propval name="action_authorization" type="astring" value="solaris.smf.manage.spfmilter"/>
106                 </property_group>
108                 <template>
109                         <common_name>
110                                 <loctext xml:lang="C">
111                                 SPF mail filter module
112                                 </loctext>
113                         </common_name>
114                         <documentation>
115                                 <manpage title="spfmilter" section="8" manpath="/usr/share/man"/>
116                         </documentation>
117                 </template>
119         </instance>
121         <stability value="Unstable"/>
123 </service>
125 </service_bundle>