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 Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
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
34 <service_bundle type='manifest' name='SUNWsndmr:sendmail'>
45 grouping='require_all'
48 <service_fmri value='svc:/system/filesystem/local' />
52 name='network-service'
53 grouping='require_all'
56 <service_fmri value='svc:/network/service' />
61 grouping='require_all'
64 <service_fmri value='svc:/milestone/name-services' />
69 grouping='optional_all'
72 <service_fmri value='svc:/system/identity:domain' />
77 grouping='optional_all'
80 <service_fmri value='svc:/system/system-log' />
83 <property_group name='firewall_context' type='com.sun,fw_definition'>
84 <propval name='name' type='astring' value='smtp' />
87 <property_group name='firewall_config' type='com.sun,fw_configuration'>
88 <propval name='policy' type='astring' value='use_global' />
89 <propval name='block_policy' type='astring'
91 <propval name='apply_to' type='astring' value='' />
92 <propval name='apply_to_6' type='astring' value='' />
93 <propval name='exceptions' type='astring' value='' />
94 <propval name='exceptions_6' type='astring' value='' />
95 <propval name='target' type='astring' value='' />
96 <propval name='target_6' type='astring' value='' />
97 <propval name='value_authorization' type='astring'
98 value='solaris.smf.value.firewall.config' />
101 <instance name='sendmail' enabled='false'>
105 grouping='require_all'
109 value='file://localhost/etc/mail/sendmail.cf' />
114 grouping='require_all'
118 value='file://localhost/etc/nsswitch.conf' />
122 If autofs is enabled, wait for it to get users' home
127 grouping='optional_all'
130 <service_fmri value='svc:/system/filesystem/autofs' />
134 name='smtp-sendmail_multi-user'
135 grouping='optional_all'
138 value='svc:/milestone/multi-user' />
142 Sendmail is hard-coded to sleep for 60 seconds if it cannot
143 determine the FQHN, so the timeout for start must be longer
144 than that. For details, see
145 http://www.sendmail.org/vendor/sun/differences.html#3.2
151 exec='/lib/svc/method/smtp-sendmail start'
152 timeout_seconds='120' />
157 exec='/lib/svc/method/smtp-sendmail stop %{restarter/contract}'
158 timeout_seconds='60' />
163 exec='/lib/svc/method/smtp-sendmail refresh'
164 timeout_seconds='60' />
166 <property_group name='startd' type='framework'>
167 <propval name='ignore_error' type='astring'
168 value='core,signal' />
171 <property_group name='general' type='framework'>
172 <propval name='action_authorization' type='astring'
173 value='solaris.smf.manage.sendmail' />
176 <property_group name='config' type='application'>
177 <propval name='include_info'
178 type='boolean' value='false' />
179 <propval name='local_only'
180 type='boolean' value='true' />
181 <propval name='path_to_sendmail_mc'
182 type='astring' value='' />
183 <propval name='value_authorization' type='astring'
184 value='solaris.smf.value.sendmail' />
189 <loctext xml:lang='C'>
190 sendmail SMTP mail transfer agent
194 <manpage title='sendmail' section='1M'
195 manpath='/usr/share/man' />
201 <stability value='Unstable' />