service imaps
{
	socket_type		= stream
	protocol		= tcp
	wait			= no
	user			= root
	#user			= nobody
	#server			= /usr/sbin/stunnel
	#server_args		= -l /usr/sbin/imapd
	# imaps will work without stunnel if you have /etc/ssl/certs/imapd.pem
	server			= /usr/sbin/imapd
	# server_args	=
	per_source		= 4
	log_type		= FILE /var/log/xinetd/imapd-stunnel
	log_on_success		= PID HOST USERID EXIT DURATION
	log_on_failure		= USERID ATTEMPT
}
