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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to