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>
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
34 <service_bundle type='manifest' name='service/network/smtp/postfix:postfix'>
35 <service name="network/smtp" type="service" version="1">
39 <dependency name="fs-local" grouping="require_all" restart_on="none" type="service">
40 <service_fmri value="svc:/system/filesystem/local"/>
43 <dependency name="network-service" grouping="require_all" restart_on="none" type="service">
44 <service_fmri value="svc:/network/service"/>
47 <dependency name="name-services" grouping="require_all" restart_on="refresh" type="service">
48 <service_fmri value="svc:/milestone/name-services"/>
51 <dependency name="identity" grouping="optional_all" restart_on="refresh" type="service">
52 <service_fmri value="svc:/system/identity:domain"/>
55 <dependency name="system-log" grouping="optional_all" restart_on="none" type="service">
56 <service_fmri value="svc:/system/system-log"/>
59 <property_group name="firewall_context" type="com.sun,fw_definition">
60 <propval name="name" type="astring" value="smtp"/>
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"/>
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"/>
81 <dependency name="nsswitch" grouping="require_all" restart_on="refresh" type="path">
82 <service_fmri value="file://localhost/etc/nsswitch.conf"/>
85 <dependency name="autofs" grouping="optional_all" restart_on="none" type="service">
86 <service_fmri value="svc:/system/filesystem/autofs"/>
89 <dependent name="smtp-postfix_multi-user" grouping="optional_all" restart_on="none">
90 <service_fmri value="svc:/milestone/multi-user"/>
93 <exec_method type="method" name="start" exec="/usr/sbin/postfix start" timeout_seconds="60">
95 <method_credential user='root' group='postfix' privileges='basic,net_privaddr,proc_setid,file_dac_read,file_dac_search'/>
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"/>
107 <property_group name="general" type="framework">
108 <propval name="action_authorization" type="astring" value="solaris.smf.manage.postfix"/>
113 <loctext xml:lang="C">
114 postfix SMTP mail transfer agent
118 <manpage title="postfix" section="1M" manpath="/usr/share/man"/>
124 <stability value="Unstable"/>