2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
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]
23 Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 Use is subject to license terms.
26 NOTE: This service manifest is not editable; its contents will
27 be overwritten by package or patch operations, including
28 operating system upgrade. Make customizations in a different
32 <service_bundle type='manifest' name='spamassassin'>
35 name='network/spamassassin'
43 grouping='require_all'
46 <service_fmri value='svc:/system/filesystem/local' />
50 name='network-service'
51 grouping='require_all'
54 <service_fmri value='svc:/network/service' />
59 grouping='require_all'
62 <service_fmri value='svc:/milestone/name-services' />
67 grouping='optional_all'
70 <service_fmri value='svc:/system/identity:domain' />
75 grouping='optional_all'
78 <service_fmri value='svc:/system/system-log' />
81 <property_group name='firewall_context' type='com.sun,fw_definition'>
82 <propval name='name' type='astring' value='smtp' />
85 <property_group name='firewall_config' type='com.sun,fw_configuration'>
86 <propval name='policy' type='astring' value='use_global' />
87 <propval name='apply_to' type='astring' value='' />
88 <propval name='exceptions' type='astring' value='' />
89 <propval name='value_authorization' type='astring'
90 value='solaris.smf.value.firewall.config' />
93 <instance name='spamassassin' enabled='false'>
97 grouping='require_all'
101 value='file://localhost/etc/mail/spamassassin/local.cf' />
106 grouping='require_all'
110 value='file://localhost/etc/nsswitch.conf' />
114 If autofs is enabled, wait for it to get users' home
119 grouping='optional_all'
122 <service_fmri value='svc:/system/filesystem/autofs' />
126 name='spamassassin_multi-user'
127 grouping='optional_all'
130 value='svc:/milestone/multi-user' />
136 exec='/lib/svc/method/spamassassin start'
137 timeout_seconds='120' />
142 exec='/lib/svc/method/spamassassin stop %{restarter/contract}'
143 timeout_seconds='60' />
148 exec='/lib/svc/method/spamassassin refresh'
149 timeout_seconds='60' />
151 <property_group name='startd' type='framework'>
152 <propval name='ignore_error' type='astring'
153 value='core,signal' />
156 <property_group name='general' type='framework'>
157 <propval name='action_authorization' type='astring'
158 value='solaris.smf.manage.spamassassin' />
163 <loctext xml:lang='C'>
164 spamassassin The Powerful #1 Open-Source Spam Filter
168 <manpage title='spamassassin' section='1M'
169 manpath='/usr/share/man' />
175 <stability value='Unstable' />