[CentOS] Re: looking for stunnel configuration file for /etc/xinetd.d/
Tom G. Christensen
tgc at statsbiblioteket.dk
Wed Oct 22 07:30:12 UTC 2008
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
More information about the CentOS
mailing list