Rudi Ahlers
2008-Oct-21 07:14 UTC
[CentOS] looking for stunnel configuration file for /etc/xinetd.d/
Hi all Does anyone have a config file for stunnel, to work with /etc/xinetd.d? Stunnel's man page does mention it can work with xinetd, but there's no sample configuration for it. -- Kind Regards Rudi Ahlers
Tom G. Christensen
2008-Oct-22 07:30 UTC
[CentOS] Re: looking for stunnel configuration file for /etc/xinetd.d/
Rudi Ahlers wrote:> Hi all > > Does anyone have a config file for stunnel, to work with /etc/xinetd.d? >I use the following setup to allow normal IMAP access to an Exchange system that only speaks IMAP+TLS/SSL. /etc/xinetd.d/exhange-imaps: # Redirect IMAP on port 143 using stunnel service exchange { type = UNLISTED port = 143 socket_type = stream wait = no user = root protocol = tcp server = /usr/sbin/stunnel server_args = /etc/stunnel/exchange-imaps.conf log_on_success += USERID log_on_failure += USERID } /etc/stunnel/exchange-imaps.conf: client = yes connect = imap.example.com:993 -tgc