5605e23cc4
general idea is that the client should never know that it's not talking to the real IMAP server. The only thing that makes this a slightly unique Imap Proxy server is that it caches server connections.
19 lines
348 B
Bash
19 lines
348 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: upimapproxy.sh,v 1.1.1.1 2006/05/08 21:58:31 adrianp Exp $
|
|
#
|
|
|
|
# PROVIDE: upimapproxy
|
|
# REQUIRE: DAEMON
|
|
|
|
if [ -f /etc/rc.subr ]; then
|
|
. /etc/rc.subr
|
|
fi
|
|
|
|
name="upimapproxy"
|
|
rcvar=$name
|
|
command="@PREFIX@/sbin/in.imapproxyd"
|
|
required_files="@PKG_SYSCONFDIR@/imapproxy.conf"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|