pop3proxy is a POP3 proxycache server useful for use with webmail clients
This commit is contained in:
parent
41726bea73
commit
84b2d4156f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108934
8 changed files with 95 additions and 0 deletions
|
@ -282,6 +282,7 @@
|
|||
SUBDIR += pop-before-smtp
|
||||
SUBDIR += pop3gwd
|
||||
SUBDIR += pop3lite
|
||||
SUBDIR += pop3proxy
|
||||
SUBDIR += pop3vscan
|
||||
SUBDIR += popa3d
|
||||
SUBDIR += popa3d-before-sendmail
|
||||
|
|
41
mail/pop3proxy/Makefile
Normal file
41
mail/pop3proxy/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# New ports collection makefile for: pop3proxy
|
||||
# Date created: 11.05.04
|
||||
# Whom: Martin Blapp
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pop3proxy
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://people.freebsd.org/~mbr/distfiles/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= mbr@FreeBSD.org
|
||||
COMMENT= POP3 Proxy Server derived from UP IMAP Proxy
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
USE_AUTOCONF= YES
|
||||
USE_RC_SUBR= YES
|
||||
|
||||
SAMPLE_EXT= sample
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
|
||||
RC_SUBR=${RC_SUBR}
|
||||
|
||||
post-install:
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
< ${FILESDIR}/pop3proxyd.conf > ${WRKSRC}/pop3proxyd.conf ;
|
||||
@if [ ! -f ${PREFIX}/etc/pop3proxyd.conf ]; then \
|
||||
@${INSTALL} -c ${WRKSRC}/pop3proxyd.conf ${PREFIX}/etc/pop3proxyd.conf ; \
|
||||
fi
|
||||
@${INSTALL} -c ${WRKSRC}/pop3proxyd.conf ${PREFIX}/etc/pop3proxyd.conf.${SAMPLE_EXT} ;
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
< ${FILESDIR}/pop3proxyd.sh > ${WRKSRC}/pop3proxyd.sh
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/pop3proxyd.sh ${PREFIX}/etc/rc.d/pop3proxyd.sh
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
mail/pop3proxy/distinfo
Normal file
2
mail/pop3proxy/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (pop3proxy-1.1.tgz) = 28404e5f595f68b5b66c92ba4f93bc1f
|
||||
SIZE (pop3proxy-1.1.tgz) = 167942
|
11
mail/pop3proxy/files/pop3proxyd.conf
Normal file
11
mail/pop3proxy/files/pop3proxyd.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
server_hostname yourserver.host.com
|
||||
cache_size 10000
|
||||
listen_port 10110
|
||||
server_port 110
|
||||
cache_expiration_time 60
|
||||
proc_username nobody
|
||||
proc_groupname nogroup
|
||||
stat_filename /var/run/pop3proxystats
|
||||
protocol_log_filename /var/log/pop3proxy_protocol.log
|
||||
syslog_facility LOG_MAIL
|
||||
send_tcp_keepalives no
|
25
mail/pop3proxy/files/pop3proxyd.sh
Normal file
25
mail/pop3proxy/files/pop3proxyd.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: pop3proxyd
|
||||
# REQUIRE: LOGIN
|
||||
# BEFORE: mail
|
||||
# KEYWORD: FreeBSD shutdown
|
||||
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable pop3proxyd:
|
||||
#
|
||||
#pop3proxyd_enable="YES"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=pop3proxyd
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=%%PREFIX%%/sbin/pop3proxyd
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
2
mail/pop3proxy/pkg-descr
Normal file
2
mail/pop3proxy/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
|||
This is a POP3 proxycache server useful for use with webmail clients.
|
||||
It keeps track of existing connections and caches them.
|
9
mail/pop3proxy/pkg-message
Normal file
9
mail/pop3proxy/pkg-message
Normal file
|
@ -0,0 +1,9 @@
|
|||
****************************************************************************
|
||||
|
||||
Please change the name of your mailserver in the pop3proxyd.conf and setup
|
||||
the correct ports.
|
||||
|
||||
To run the pop3proxyd from startup, add pop3proxyd_enable="YES" in your
|
||||
/etc/rc.conf.
|
||||
|
||||
****************************************************************************
|
4
mail/pop3proxy/pkg-plist
Normal file
4
mail/pop3proxy/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
sbin/pop3proxystat
|
||||
sbin/pop3proxyd
|
||||
etc/rc.d/pop3proxyd.sh
|
||||
etc/pop3proxyd.conf.sample
|
Loading…
Reference in a new issue