<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type='manifest' name='courier-imap'>

<service
    name='network/courier-imap'
    type='service'
    version='1'>

<single_instance />
    <dependency
        name='courier-authlib'
        grouping='require_all'
        restart_on='none'
        type='service'>
        <service_fmri value='svc:/network/courier-authlib' />
    </dependency>

    <instance name='courier-imap' enabled='false'>
        <exec_method
            type='method'
            name='start'
            exec='/lib/svc/method/courier-imap start'
            timeout_seconds='180' />
        <exec_method
            type='method'
            name='stop'
            exec='/lib/svc/method/courier-imap stop'
            timeout_seconds='120' />
        <exec_method
            type='method'
            name='refresh'
            exec='/lib/svc/method/courier-imap refresh'
            timeout_seconds='120' />
        <property_group name='startd' type='framework'>
            <propval name='ignore_error' type='astring'
                value='core,signal' />
        </property_group>
        <property_group name='general' type='framework'>
            <propval name='action_authorization' type='astring'
                value='solaris.smf.manage.courier-imap' />
        </property_group>

        <template>
	<common_name>
	    <loctext xml:lang='C'>
                courier-imap POP3 mail agent
	    </loctext>
	</common_name>
	<documentation>
	    <manpage title='courier-imap' section='1M'
	        manpath='/usr/lib/courier-imap/share/man' />
        </documentation>
        </template>
    </instance>
        <stability value='Unstable' />
    </service>
</service_bundle>

