View | Details | Raw Unified | Return to bug 243859 | Differences between
and this patch

Collapse All | Expand All

(-)UIDs (-1 / +1 lines)
Lines 448-454 Link Here
448
# free: 500
448
# free: 500
449
# free: 501
449
# free: 501
450
# free: 502
450
# free: 502
451
# free: 503
451
james:*:503:503::0:0:Apache James Mail Server:/nonexistent:/usr/sbin/nologin
452
# free: 504
452
# free: 504
453
_bbstored:*:505:505::0:0:Box Backup Store Daemon:/nonexistent:/usr/sbin/nologin
453
_bbstored:*:505:505::0:0:Box Backup Store Daemon:/nonexistent:/usr/sbin/nologin
454
radmind:*:506:506::0:0:radmind User:/var/radmind:/usr/sbin/nologin
454
radmind:*:506:506::0:0:radmind User:/var/radmind:/usr/sbin/nologin
(-)GIDs (-2 / +2 lines)
Lines 4-10 Link Here
4
# /usr/src/etc/group
4
# /usr/src/etc/group
5
daemon:*:1:
5
daemon:*:1:
6
operator:*:5:amanda
6
operator:*:5:amanda
7
mail:*:6:postfix,clamav
7
mail:*:6:postfix,clamav,james
8
ftp:*:14:
8
ftp:*:14:
9
smmsp:*:25:
9
smmsp:*:25:
10
video:*:44:lightdm
10
video:*:44:lightdm
Lines 443-449 Link Here
443
# free: 500
443
# free: 500
444
# free: 501
444
# free: 501
445
birdvty:*:502:
445
birdvty:*:502:
446
# free: 503
446
james:*:503:
447
# free: 504
447
# free: 504
448
_bbstored:*:505:
448
_bbstored:*:505:
449
radmind:*:506:
449
radmind:*:506:
(-)mail/james/Makefile (-27 / +63 lines)
Lines 2-62 Link Here
2
# $FreeBSD: head/mail/james/Makefile 518482 2019-11-26 21:46:12Z jkim $
2
# $FreeBSD: head/mail/james/Makefile 518482 2019-11-26 21:46:12Z jkim $
3
3
4
PORTNAME=	james
4
PORTNAME=	james
5
PORTVERSION=	2.3.2.1
5
PORTVERSION=	3.4.0
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	mail java
7
CATEGORIES=	mail java
8
MASTER_SITES=	APACHE/${PORTNAME}/server/
8
MASTER_SITES=	APACHE/${PORTNAME}/server/${PORTVERSION}/ \
9
DISTNAME=	${PORTNAME}-binary-${PORTVERSION}
9
		https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-api/2.13.1/:log4jAPI \
10
		https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-core/2.13.1/:log4jCore \
11
		https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-1.2-api/2.13.1/:log4jV1 \
12
		https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-jcl/2.13.1/:log4jJcl \
13
		https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.13.1/:log4jSlf4j \
14
		https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.30/:slf4j
15
DISTNAME=	${PORTNAME}-server-app-${PORTVERSION}-app
16
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
17
		log4j-api-2.13.1.jar:log4jAPI \
18
		log4j-core-2.13.1.jar:log4jCore \
19
		log4j-1.2-api-2.13.1.jar:log4jV1 \
20
		log4j-jcl-2.13.1.jar:log4jJcl \
21
		log4j-slf4j-impl-2.13.1.jar:log4jSlf4j \
22
		slf4j-api-1.7.30.jar:slf4j
23
DIST_SUBDIR=	${PORTNAME}
24
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
10
25
11
MAINTAINER=	ports@FreeBSD.org
26
MAINTAINER=	tommyhp2@gmail.com
12
COMMENT=	Java SMTP and POP3 Mail server and NNTP News server
27
COMMENT=	Java IMAP, SMTP and POP3 Mail server and DNS server
13
28
14
LICENSE=	APACHE20
29
LICENSE=	APACHE20
15
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
30
LICENSE_FILE=	${WRKSRC}/LICENSE
16
31
17
USES=		cpe
32
USES=		cpe zip
18
CPE_VENDOR=	apache
33
CPE_VENDOR=	apache
19
USE_JAVA=	yes
34
USE_JAVA=	yes
35
JAVA_VERSION=	8+
36
37
USE_RC_SUBR=	${PKGBASE:C/-/_/}
38
20
NO_ARCH=	yes
39
NO_ARCH=	yes
21
NO_BUILD=	yes
40
NO_BUILD=	yes
22
41
23
USE_RC_SUBR=	james
42
PID_FILE=       /var/run/${PORTNAME}.pid
43
JAMES_SUBDIR?=  apache-${PKGBASE}-${PORTVERSION:R}
44
JAMES_HOME=     ${PREFIX}/${JAMES_SUBDIR}
45
WRKSRC=         ${WRKDIR}/${PORTNAME}-server-app-${PORTVERSION}
24
46
25
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
47
PLIST_SUB=	T=${JAMES_SUBDIR} \
26
APP_HOME?=	${PREFIX}/${PKGBASE}${PORTVERSION}
48
		JAMESOWN=${JAMESOWN} \
27
PID_FILE=	/var/run/${PORTNAME}.pid
49
		JAMESGRP=${JAMESGRP}
28
PLIST_SUB+=	T=${APP_HOME:S/^${PREFIX}\///}
50
SUB_LIST=	JAMES_HOME=${JAMES_HOME} \
51
		JAVA_HOME=${JAVA_HOME} \
52
		JAMES_USER=${JAMESOWN} \
53
		PID_FILE=${PID_FILE}
29
54
30
SUB_LIST=	JAVA_HOME=${JAVA_HOME} \
55
USERS=          james
31
		PID_FILE=${PID_FILE} \
56
GROUPS=         mail maildrop james
32
		JAMES_HOME=${APP_HOME}
33
57
34
pre-patch:
58
pre-patch:
35
	@${ECHO_MSG} "Installation settings:"
59
	@${ECHO_MSG} "Installation settings:"
36
	@${ECHO_MSG} "   Destination directory:    ${APP_HOME}"
60
	@${ECHO_MSG} "   Destination directory:    ${JAMES_HOME}"
37
	@${ECHO_MSG} "   Location of JDK:          ${JAVA_HOME}"
61
	@${ECHO_MSG} "   Location of JDK:          ${JAVA_HOME}"
38
	@${ECHO_MSG} "   Location of Java port:    ${JAVA_PORT}"
62
	@${ECHO_MSG} "   Location of Java port:    ${JAVA_PORT}"
39
63
40
post-patch:
64
post-patch:
41
	@${ECHO_MSG} -n ">> Removing unneeded files..."
65
	@${ECHO_MSG} ">> Updating logging and other dependencies:"
42
	@${RM} `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.exe'`
66
	@${REINPLACE_CMD} -e 's|%%VERSION%%|${PORTVERSION}|g; s|%%JAVA_HOME%%|${JAVA_HOME}|g' ${WRKSRC}/bin/daemon.sh
67
	@${CHMOD} +x ${WRKSRC}/bin/daemon.sh
68
	@${RM} `${FIND} ${WRKSRC}/lib -name '*slf4j*.jar'` `${FIND} ${WRKSRC}/lib -name '*log4j*.jar'`
69
.for FILE in ${DISTFILES}
70
.  if "${FILE:C/^(.*)(\:.*)/\1/}" != "${EXTRACT_ONLY}"
71
.    if exists(${PORTSDIR}${DISTDIR}/${DIST_SUBDIR})
72
	${CP} ${PORTSDIR}${DISTDIR}/${DIST_SUBDIR}/${FILE:C/^(.*)(\:.*)/\1/} ${WRKSRC}/lib
73
.    elif exists(${DISTDIR}/${DIST_SUBDIR})
74
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${FILE:C/^(.*)(\:.*)/\1/} ${WRKSRC}/lib
75
.    else
76
	@${ECHO_MSG} "[ERROR] File not found: ${FILE:C/^(.*)(\:.*)/\1/}"
77
.    endif
78
.  endif
79
.endfor
80
	@${ECHO_MSG} ">> Removing unneeded files..."
81
	@${RM} ${WRKSRC}/conf/log4j.properties
82
	@${RM} `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.exe'`
83
	@${RM} `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.bak'`
84
	@${RM} `${FIND} ${WRKSRC} -name '*wrapper*'`
43
	@${ECHO_MSG} " [ DONE ]"
85
	@${ECHO_MSG} " [ DONE ]"
44
86
45
do-install:
87
do-install:
46
	@${ECHO_MSG} -n ">> Creating destination directory..."
88
	@${ECHO_MSG} -n ">> Creating destination directory..."
47
	@${MKDIR} ${STAGEDIR}${APP_HOME}
89
	@${MKDIR} ${STAGEDIR}${JAMES_HOME}
48
	@${ECHO_MSG} " [ DONE ]"
90
	@${ECHO_MSG} " [ DONE ]"
49
91
50
	@${ECHO_MSG} ">> Copying files to destination directory..."
92
	@${ECHO_MSG} ">> Copying files to destination directory..."
51
	@${CP} -R ${WRKSRC}/* ${STAGEDIR}${APP_HOME}
93
	@${CP} -R ${WRKSRC}/* ${STAGEDIR}${JAMES_HOME}
52
	@${MKDIR} ${STAGEDIR}${APP_HOME}/logs
53
	@${MKDIR} ${STAGEDIR}${APP_HOME}/apps
54
	@${ECHO_MSG} " [ DONE ]"
94
	@${ECHO_MSG} " [ DONE ]"
55
95
56
	@${ECHO_MSG} -n ">> Creating symlink to tools.jar..."
96
	@${ECHO_MSG} "${PORTNAME} ${PORTVERSION} has been installed in ${JAMES_HOME}."
57
	@${LN} -sf ${JAVA_HOME}/lib/tools.jar ${STAGEDIR}${APP_HOME}/lib/tools.jar
58
	@${ECHO_MSG} " [ DONE ]"
59
60
	@${ECHO_MSG} "${PORTNAME} ${PORTVERSION} has been installed in ${APP_HOME}."
61
97
62
.include <bsd.port.mk>
98
.include <bsd.port.mk>
(-)mail/james/distinfo (-2 / +19 lines)
Lines 1-2 Link Here
1
SHA256 (james-binary-2.3.2.1.tar.gz) = dc7ada2846e2fbbcdb0613240170e89cc61ae66ec89cecd9805dbd24cefcf119
1
TIMESTAMP = 1585264644
2
SIZE (james-binary-2.3.2.1.tar.gz) = 7661407
2
SHA256 (james/james-server-app-3.4.0-app.zip) = 6012054d54bd775225755fa11044c20e7aecb7570babeed0043469e9e12c21a5
3
SIZE (james/james-server-app-3.4.0-app.zip) = 88416045
4
SHA256 (james/log4j-api-2.13.1.jar) = 307fffc2623d010e3fe67d9f6b101c14bae33ec310e5f56960d491885fd59630
5
SIZE (james/log4j-api-2.13.1.jar) = 292244
6
SHA256 (james/log4j-core-2.13.1.jar) = 88ebd503b35a0debe18c2707db9de33a8c6d96491270b7f02dd086b8072426b2
7
SIZE (james/log4j-core-2.13.1.jar) = 1702809
8
SHA256 (james/log4j-1.2-api-2.13.1.jar) = eadc675c802bc3ec372c627511b2d92e7c1e4da9dd9c703cfcbaeb385070b771
9
SIZE (james/log4j-1.2-api-2.13.1.jar) = 201684
10
SHA256 (james/log4j-jcl-2.13.1.jar) = 8d35e0a5c152966ff042ccd2fd66496c1ec7563a01bc529edf98cc9d63af5212
11
SIZE (james/log4j-jcl-2.13.1.jar) = 12657
12
SHA256 (james/log4j-slf4j-impl-2.13.1.jar) = 066f6585ec1a8a75d40e303f11b15c8c8c99a1ea6ea32028d217f4678a877587
13
SIZE (james/log4j-slf4j-impl-2.13.1.jar) = 23591
14
SHA256 (james/slf4j-api-1.7.30.jar) = cdba07964d1bb40a0761485c6b1e8c2f8fd9eb1d19c53928ac0d7f9510105c57
15
SIZE (james/slf4j-api-1.7.30.jar) = 41472
16
SHA256 (james/jakarta.xml.bind-api-2.3.3.jar) = c04539f472e9a6dd0c7685ea82d677282269ab8e7baca2e14500e381e0c6cec5
17
SIZE (james/jakarta.xml.bind-api-2.3.3.jar) = 115638
18
SHA256 (james/jaxb-runtime-2.3.3-b02.jar) = a66c28a3f74a6ee1b4a91cb83cc83206b68831bf00a7f146742fee0cf37ff969
19
SIZE (james/jaxb-runtime-2.3.3-b02.jar) = 1035485
(-)mail/james/files/james.in (-46 / +2 lines)
Lines 20-38 Link Here
20
#   Set to "%%JAMES_HOME%%" by default.
20
#   Set to "%%JAMES_HOME%%" by default.
21
#   Set the JAMES_BASE variable for the James process
21
#   Set the JAMES_BASE variable for the James process
22
#
22
#
23
# james_tmpdir (str)
24
#   Set to "/tmp" by default.
25
#
26
# james_stop_timeout (num)
23
# james_stop_timeout (num)
27
#   Set to "10" by default.
24
#   Set to "10" by default.
28
#   Sets the timeout in seconds to allow james to shutdown.
25
#   Sets the timeout in seconds to allow james to shutdown.
29
#   After the timeout has elapsed, james will be killed.
26
#   After the timeout has elapsed, james will be killed.
30
#
27
#
31
# james_java_home (str):
28
# james_java_home (str):
32
# james_java_vendor (str):
33
# james_java_version (str):
34
# james_java_os (str):
35
#   Specify the requirements of the Java VM to use. See javavm(1).
36
#
29
#
37
# james_classpath (str):
30
# james_classpath (str):
38
#   Set to "" by default.
31
#   Set to "" by default.
Lines 46-52 Link Here
46
james_enable="${james_enable:-"NO"}"
39
james_enable="${james_enable:-"NO"}"
47
james_home="${james_home:-"%%JAMES_HOME%%"}"
40
james_home="${james_home:-"%%JAMES_HOME%%"}"
48
james_base="${james_base:-"%%JAMES_HOME%%"}"
41
james_base="${james_base:-"%%JAMES_HOME%%"}"
49
james_tmpdir="${james_tmpdir:-"/tmp"}"
50
james_stop_timeout="${james_stop_timeout:-"10"}"
42
james_stop_timeout="${james_stop_timeout:-"10"}"
51
43
52
. /etc/rc.subr
44
. /etc/rc.subr
Lines 64-88 Link Here
64
56
65
JAVA_HOME="%%JAVA_HOME%%"
57
JAVA_HOME="%%JAVA_HOME%%"
66
JRE_HOME="$JAVA_HOME/jre"
58
JRE_HOME="$JAVA_HOME/jre"
67
JVM_EXT_DIRS="${james_home}/lib:${james_home}/tools/lib"
68
JVM_OPTS="-Djava.ext.dirs=$JVM_EXT_DIRS"
69
59
70
if [ -n "${james_java_home}" ] ; then
60
if [ -n "${james_java_home}" ] ; then
71
	export JAVA_HOME="${james_java_home}"
61
	export JAVA_HOME="${james_java_home}"
72
fi
62
fi
73
63
74
if [ -n "${james_java_version}" ] ; then
75
	export JAVA_VERSION="${james_java_version}"
76
fi
77
78
if [ -n "${james_java_vendor}" ] ; then
79
	export JAVA_VENDOR="${james_java_vendor}"
80
fi
81
82
if [ -n "${james_java_os}" ] ; then
83
	export JAVA_OS="${james_java_os}"
84
fi
85
86
if [ "$JAVA_HOME" = "" ] ; then
64
if [ "$JAVA_HOME" = "" ] ; then
87
	echo "ERROR: JAVA_HOME not found in your environment."
65
	echo "ERROR: JAVA_HOME not found in your environment."
88
	echo
66
	echo
Lines 91-102 Link Here
91
	return 1
69
	return 1
92
fi
70
fi
93
71
94
if [ -z "${james_tmpdir}" ] ; then
95
	# Define the java.io.tmpdir to use for Phoenix
96
	james_tmpdir="${james_home}"/temp
97
	mkdir -p "${james_tmpdir}"
98
fi
99
100
java_cmd=
72
java_cmd=
101
if [ -z "${JAVA_HOME}" ] ; then
73
if [ -z "${JAVA_HOME}" ] ; then
102
	java_cmd=%%LOCALBASE%%/bin/java
74
	java_cmd=%%LOCALBASE%%/bin/java
Lines 104-125 Link Here
104
	java_cmd=${JAVA_HOME}/bin/java
76
	java_cmd=${JAVA_HOME}/bin/java
105
fi
77
fi
106
78
107
108
java_command="$java_cmd $JVM_OPTS \
109
    -Djava.security.policy=jar:file:${james_home}/bin/phoenix-loader.jar!/META-INF/java.policy \
110
    -Dphoenix.home=${james_home} \
111
    -Djava.io.tmpdir=${james_tmpdir} \
112
    -jar ${james_home}/bin/phoenix-loader.jar >/dev/null"
113
114
PHOENIX_CONSOLE="$PHOENIX_TMPDIR/phoenix.console"
115
if [ -z "$PHOENIX_CONSOLE" ] ; then
116
	if [ -w /dev/console ]; then
117
		PHOENIX_CONSOLE=/dev/console
118
	else
119
		PHOENIX_CONSOLE=/dev/tty
120
	fi
121
fi
122
123
# Subvert the check_pid_file procname check.
79
# Subvert the check_pid_file procname check.
124
if [ -f $pidfile ] ; then
80
if [ -f $pidfile ] ; then
125
	read rc_pid junk < $pidfile
81
	read rc_pid junk < $pidfile
Lines 141-148 Link Here
141
	fi
97
	fi
142
98
143
	echo "Starting ${name}."
99
	echo "Starting ${name}."
144
        nohup sh -c "exec $java_command >>$PHOENIX_CONSOLE 2>&1" >/dev/null &
100
        cd $james_home/bin
145
        echo $! > $pidfile
101
        ./daemon.sh start
146
}
102
}
147
103
148
james_status() {
104
james_status() {
(-)mail/james/files/patch-bin_daemon.sh (+259 lines)
Line 0 Link Here
1
--- bin/daemon.sh.orig	2020-03-27 13:56:13 UTC
2
+++ bin/daemon.sh
3
@@ -0,0 +1,256 @@
4
+#!/bin/sh
5
+
6
+# Licensed to the Apache Software Foundation (ASF) under one or more
7
+# contributor license agreements.  See the NOTICE file distributed with
8
+# this work for additional information regarding copyright ownership.
9
+# The ASF licenses this file to You under the Apache License, Version 2.0
10
+# (the "License"); you may not use this file except in compliance with
11
+# the License.  You may obtain a copy of the License at
12
+#
13
+#     http://www.apache.org/licenses/LICENSE-2.0
14
+#
15
+# Unless required by applicable law or agreed to in writing, software
16
+# distributed under the License is distributed on an "AS IS" BASIS,
17
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+# See the License for the specific language governing permissions and
19
+# limitations under the License.
20
+#
21
+# -----------------------------------------------------------------------------
22
+# Commons Daemon wrapper script.
23
+# -----------------------------------------------------------------------------
24
+
25
+# resolve links - $0 may be a softlink
26
+PRG="$0"
27
+
28
+while [ -h "$PRG" ]; do
29
+  ls=`ls -ld "$PRG"`
30
+  link=`expr "$ls" : '.*-> \(.*\)$'`
31
+  if expr "$link" : '/.*' > /dev/null; then
32
+    PRG="$link"
33
+  else
34
+    PRG=`dirname "$PRG"`/"$link"
35
+  fi
36
+done
37
+
38
+DIRNAME="`dirname "$PRG"`"
39
+PROGRAM="`basename "$PRG"`"
40
+while [ ".$1" != . ]
41
+do
42
+  case "$1" in
43
+    --java-home )
44
+        JAVA_HOME="$2"
45
+        shift; shift;
46
+        continue
47
+    ;;
48
+    --james-home )
49
+        JAMES_HOME="$2"
50
+        shift; shift;
51
+        continue
52
+    ;;
53
+    --james-base )
54
+        JAMES_BASE="$2"
55
+        shift; shift;
56
+        continue
57
+    ;;
58
+    --james-pid )
59
+        JAMES_PID="$2"
60
+        shift; shift;
61
+        continue
62
+    ;;
63
+    --james-user )
64
+        JAMES_USER="$2"
65
+        shift; shift;
66
+        continue
67
+    ;;
68
+    --service-start-wait-time )
69
+        SERVICE_START_WAIT_TIME="$2"
70
+        shift; shift;
71
+        continue
72
+    ;;
73
+    * )
74
+        break
75
+    ;;
76
+  esac
77
+done
78
+# OS specific support (must be 'true' or 'false').
79
+cygwin=false;
80
+darwin=false;
81
+case "`uname`" in
82
+    CYGWIN*)
83
+        cygwin=true
84
+        ;;
85
+    Darwin*)
86
+        darwin=true
87
+        ;;
88
+esac
89
+
90
+# Use the maximum available, or set MAX_FD != -1 to use that
91
+test ".$MAX_FD" = . && MAX_FD="maximum"
92
+# Setup parameters for running the jsvc
93
+#
94
+test ".$JAMES_USER" = . && JAMES_USER=james
95
+
96
+# Ensure that any user defined CLASSPATH variables are not used on startup,
97
+# but allow them to be specified in setenv.sh, in rare case when it is needed.
98
+CLASSPATH=
99
+JAVA_OPTS=
100
+if [ -r "$JAMES_BASE/bin/setenv.sh" ]; then
101
+  . "$JAMES_BASE/bin/setenv.sh"
102
+elif [ -r "$JAMES_HOME/bin/setenv.sh" ]; then
103
+  . "$JAMES_HOME/bin/setenv.sh"
104
+fi
105
+
106
+if [ -z "$JAVA_HOME" ]; then
107
+    JAVA_HOME=%%JAVA_HOME%%
108
+#    JAVA_BIN="`which java 2>/dev/null || type java 2>&1`"
109
+#    while [ -h "$JAVA_BIN" ]; do
110
+#        ls=`ls -ld "$JAVA_BIN"`
111
+#        link=`expr "$ls" : '.*-> \(.*\)$'`
112
+#        if expr "$link" : '/.*' > /dev/null; then
113
+#            JAVA_BIN="$link"
114
+#        else
115
+#            JAVA_BIN="`dirname "$JAVA_BIN"`/$link"
116
+#        fi
117
+#    done
118
+#    test -x "$JAVA_BIN" && JAVA_HOME="`dirname "$JAVA_BIN"`"
119
+#    test ".$JAVA_HOME" != . && JAVA_HOME=`cd "$JAVA_HOME/.." >/dev/null; pwd`
120
+#else
121
+#    JAVA_BIN="$JAVA_HOME/bin/java"
122
+fi
123
+JAVA_BIN="$JAVA_HOME/bin/java"
124
+
125
+# Only set JAMES_HOME if not already set
126
+test ".$JAMES_HOME" = . && JAMES_HOME=`cd "$DIRNAME/.." >/dev/null; pwd`
127
+test ".$JAMES_BASE" = . && JAMES_BASE="$JAMES_HOME"
128
+test ".$JAMES_MAIN" = . && JAMES_MAIN=org.apache.james.app.spring.JamesAppSpringMain
129
+# If not explicitly set, look for jsvc in /usr/local
130
+if [ -z "$JSVC" ]; then
131
+    JSVC="/usr/local/bin/jsvc"
132
+fi
133
+# Set the default service-start wait time if necessary
134
+test ".$SERVICE_START_WAIT_TIME" = . && SERVICE_START_WAIT_TIME=10
135
+
136
+REPO="$JAMES_BASE"/lib
137
+
138
+# Add on extra jar files to CLASSPATH
139
+test ".$CLASSPATH" != . && CLASSPATH="$CLASSPATH:"
140
+CLASSPATH="$CLASSPATH$JAMES_HOME/conf:$JAMES_BASE/conf/lib/*:$REPO/*"
141
+#/lib/james-server-app-3.4.0.jar
142
+
143
+JAMES_OPTS="-XX:+HeapDumpOnOutOfMemoryError -Xms128m -Xmx512m"
144
+JAMES_OPTS="$JAMES_OPTS -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false"
145
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.address.strict=false"
146
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.base64.ignoreerrors=true"
147
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.decodeparameters=true"
148
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.encodeparameters=true"
149
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.ignoreunknownencoding=true"
150
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.multipart.ignoremissingboundaryparameter=true"
151
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.multipart.ignoremissingendboundary=true"
152
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.multipart.allowempty=true"
153
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.uudecode.ignoreerrors=true"
154
+JAMES_OPTS="$JAMES_OPTS -Dmail.mime.uudecode.ignoremissingbeginend=true"
155
+JAMES_OPTS="$JAMES_OPTS -Djames.message.usememorycopy=false"
156
+JAMES_OPTS="$JAMES_OPTS -Dapp.repo=\"$REPO\" -Dapp.home=\"$JAMES_HOME\" -Dbasedir=\"$JAMES_BASE\""
157
+
158
+test ".$JAMES_OUT" = . && JAMES_OUT="$JAMES_BASE/log/james-daemon.out"
159
+
160
+# Set -pidfile
161
+test ".$JAMES_PID" = . && JAMES_PID="/var/run/james.pid"
162
+
163
+# Increase the maximum file descriptors if we can
164
+if [ "$cygwin" = "false" ]; then
165
+    MAX_FD_LIMIT=`ulimit -H -n`
166
+    if [ "$?" -eq 0 ]; then
167
+        # Darwin does not allow RLIMIT_INFINITY on file soft limit
168
+        if [ "$darwin" = "true" ] && [ "$MAX_FD_LIMIT" = "unlimited" ]; then
169
+            MAX_FD_LIMIT=`/usr/sbin/sysctl -n kern.maxfilesperproc`
170
+        fi
171
+        test ".$MAX_FD" = ".maximum" && MAX_FD="$MAX_FD_LIMIT"
172
+        ulimit -n $MAX_FD
173
+        if [ "$?" -ne 0 ]; then
174
+            echo "$PROGRAM: Could not set maximum file descriptor limit: $MAX_FD"
175
+        fi
176
+    else
177
+        echo "$PROGRAM: Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
178
+    fi
179
+fi
180
+
181
+# ----- Execute The Requested Command -----------------------------------------
182
+case "$1" in
183
+    run     )
184
+      shift
185
+#      eval exec "\"$JSVC\"" $* \
186
+#      "$JSVC_OPTS" \
187
+#      -java-home "\"$JAVA_HOME\"" \
188
+#      -pidfile "\"$JAMES_PID\"" \
189
+#      -wait $SERVICE_START_WAIT_TIME \
190
+#      -nodetach \
191
+#      -outfile "\"&1\"" \
192
+#      -errfile "\"&2\"" \
193
+#      -Dapp.name="run" \
194
+echo "JAVA_HOME:   ${JAVA_HOME}"
195
+echo "JAMES_BASE:  ${JAMES_BASE}"
196
+echo "JAMES_HOME:  ${JAMES_HOME}"
197
+      eval exec $JAVA_BIN \
198
+      -classpath "\"$CLASSPATH\"" \
199
+          "$JAVA_OPTS" "$JAMES_OPTS" \
200
+      -Dapp.name="run" \
201
+      -Dapp.pid="$$" \
202
+      $JAMES_MAIN
203
+      exit $?
204
+    ;;
205
+    start   )
206
+      shift
207
+#      eval "\"$JSVC\"" \
208
+#      "$JSVC_OPTS" \
209
+#      -java-home "\"$JAVA_HOME\"" \
210
+#      -user $JAMES_USER \
211
+#      -pidfile "\"$JAMES_PID\"" \
212
+#      -wait $SERVICE_START_WAIT_TIME \
213
+#      -outfile "\"$JAMES_OUT\"" \
214
+#      -errfile "\"&1\"" \
215
+      eval exec $JAVA_BIN \
216
+      -classpath "\"$CLASSPATH\"" \
217
+          "$JAVA_OPTS" "$JAMES_OPTS" \
218
+      -Dapp.name="start" \
219
+      -Dapp.pid="$$" \
220
+      $JAMES_MAIN >> $JAMES_OUT 2>&1 &
221
+      echo $! > $JAMES_PID
222
+      exit $?
223
+    ;;
224
+    stop    )
225
+#      eval "\"$JSVC\"" \
226
+#      "$JSVC_OPTS" \
227
+#      -stop \
228
+#      -pidfile "\"$JAMES_PID\"" \
229
+#      -classpath "\"$CLASSPATH\"" \
230
+#      -Djames.base="\"$JAMES_BASE\"" \
231
+#      -Djames.home="\"$JAMES_HOME\"" \
232
+#      -Djava.io.tmpdir="\"$JAMES_TMP\"" \
233
+#      eval exec $JAVA_BIN \
234
+#      -classpath "\"$CLASSPATH\"" \
235
+#          "$JAVA_OPTS" "$JAMES_OPTS" \
236
+#      -Dapp.name="stop" \
237
+#      -Dapp.pid="${JAMES_PID}" \
238
+#      $JAMES_MAIN
239
+      kill `cat ${JAMES_PID}`
240
+#      rm -f ${JAMES_PID}
241
+      exit $?
242
+    ;;
243
+    version  )
244
+      echo "Apache James Server v%%VERSION%%."
245
+      $JAVA_BIN --version
246
+      exit $?
247
+    ;;
248
+    *       )
249
+      echo "Unknown command: '$1'"
250
+      echo "Usage: $PROGRAM ( commands ... )"
251
+      echo "commands:"
252
+      echo "  run               Start James without detaching from console"
253
+      echo "  start             Start James"
254
+      echo "  stop              Stop James"
255
+      echo "  version           What version of commons daemon and James"
256
+      echo "                    are you running?"
257
+      exit 1
258
+    ;;
259
+esac
(-)mail/james/files/patch-conf_log4j2.xml (+452 lines)
Line 0 Link Here
1
--- conf/log4j2.xml.orig	2020-03-27 13:57:05 UTC
2
+++ conf/log4j2.xml
3
@@ -0,0 +1,449 @@
4
+<?xml version="1.0" encoding="UTF-8"?>
5
+<Configuration status="INFO" monitorInterval="30">
6
+	<!-- TRACE DEBUG INFO WARN ERROR FATAL OFF -->
7
+	<Properties>
8
+		<Property name="logDir">${sys:app.home}/log</Property>
9
+		<Property name="logFilePrefix">james</Property>
10
+		<Property name="logLayoutTomcat">%d{dd-MMM-yyyy HH:mm:ss.SSS} %level [%t] %C.%M:%L - %msg%n</Property>
11
+		<Property name="logLayout1">%d %-7level %logger{36} - %msg%n</Property>
12
+		<Property name="logLayout2">%d %-7level [%t] %C.%M:%L - %msg%n</Property>
13
+	</Properties>
14
+
15
+	<Appenders>
16
+		<Console name="Console" target="SYSTEM_OUT">
17
+			<PatternLayout pattern="${logLayoutTomcat}" />
18
+		</Console>
19
+		<RollingFile name="SHARED" fileName="${logDir}/${logFilePrefix}_shared.log"
20
+			filePattern="${logDir}/${logFilePrefix}_shared.%d{yyyy-MM-dd}-%i.log.gz"
21
+			ignoreExceptions="false">
22
+			<PatternLayout pattern="${logLayoutTomcat}"
23
+				charset="UTF-8" />
24
+			<Policies>
25
+<!-- 				<OnStartupTriggeringPolicy /> -->
26
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
27
+<!-- 				<TimeBasedTriggeringPolicy /> -->
28
+			</Policies>
29
+<!-- 			<DefaultRolloverStrategy> -->
30
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
31
+<!-- 					<IfFileName -->
32
+<!-- 						glob="target/log4j2/roll-by-time-and-size/shared.*.log.gz" /> -->
33
+<!-- 					<IfLastModified age="20d" /> -->
34
+<!-- 				</Delete> -->
35
+<!-- 			</DefaultRolloverStrategy> -->
36
+		</RollingFile>
37
+
38
+		<RollingFile name="Springframework" fileName="${logDir}/${logFilePrefix}_springframework.log"
39
+			filePattern="${logDir}/${logFilePrefix}_springframework.%d{yyyy-MM-dd}-%i.log.gz"
40
+			ignoreExceptions="false">
41
+			<PatternLayout pattern="${logLayoutTomcat}"
42
+				charset="UTF-8" />
43
+			<Policies>
44
+<!-- 				<OnStartupTriggeringPolicy /> -->
45
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
46
+<!-- 				<TimeBasedTriggeringPolicy /> -->
47
+			</Policies>
48
+<!-- 			<DefaultRolloverStrategy> -->
49
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
50
+<!-- 					<IfFileName -->
51
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_springframework.*.log.gz" /> -->
52
+<!-- 					<IfLastModified age="20d" /> -->
53
+<!-- 				</Delete> -->
54
+<!-- 			</DefaultRolloverStrategy> -->
55
+		</RollingFile>
56
+		<RollingFile name="Apache" fileName="${logDir}/${logFilePrefix}_apache.log"
57
+			filePattern="${logDir}/${logFilePrefix}_apache.%d{yyyy-MM-dd}-%i.log.gz"
58
+			ignoreExceptions="false">
59
+			<PatternLayout pattern="${logLayoutTomcat}"
60
+				charset="UTF-8" />
61
+			<Policies>
62
+<!-- 				<OnStartupTriggeringPolicy /> -->
63
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
64
+<!-- 				<TimeBasedTriggeringPolicy /> -->
65
+			</Policies>
66
+<!-- 			<DefaultRolloverStrategy> -->
67
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
68
+<!-- 					<IfFileName -->
69
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_apache.*.log.gz" /> -->
70
+<!-- 					<IfLastModified age="20d" /> -->
71
+<!-- 				</Delete> -->
72
+<!-- 			</DefaultRolloverStrategy> -->
73
+		</RollingFile>
74
+		<RollingFile name="OpenJPA" fileName="${logDir}/${logFilePrefix}_openjpa.log"
75
+			filePattern="${logDir}/${logFilePrefix}_openjpa.%d{yyyy-MM-dd}-%i.log.gz"
76
+			ignoreExceptions="false">
77
+			<PatternLayout pattern="${logLayoutTomcat}"
78
+				charset="UTF-8" />
79
+			<Policies>
80
+<!-- 				<OnStartupTriggeringPolicy /> -->
81
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
82
+<!-- 				<TimeBasedTriggeringPolicy /> -->
83
+			</Policies>
84
+<!-- 			<DefaultRolloverStrategy> -->
85
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
86
+<!-- 					<IfFileName -->
87
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_openjpa.*.log.gz" /> -->
88
+<!-- 					<IfLastModified age="20d" /> -->
89
+<!-- 				</Delete> -->
90
+<!-- 			</DefaultRolloverStrategy> -->
91
+		</RollingFile>
92
+		<RollingFile name="James" fileName="${logDir}/${logFilePrefix}_james.log"
93
+			filePattern="${logDir}/${logFilePrefix}_james.%d{yyyy-MM-dd}-%i.log.gz"
94
+			ignoreExceptions="false">
95
+			<PatternLayout pattern="${logLayoutTomcat}"
96
+				charset="UTF-8" />
97
+			<Policies>
98
+<!-- 				<OnStartupTriggeringPolicy /> -->
99
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
100
+<!-- 				<TimeBasedTriggeringPolicy /> -->
101
+			</Policies>
102
+<!-- 			<DefaultRolloverStrategy> -->
103
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
104
+<!-- 					<IfFileName -->
105
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_james.*.log.gz" /> -->
106
+<!-- 					<IfLastModified age="20d" /> -->
107
+<!-- 				</Delete> -->
108
+<!-- 			</DefaultRolloverStrategy> -->
109
+		</RollingFile>
110
+		<RollingFile name="ProtocolsTransport" fileName="${logDir}/${logFilePrefix}_protocolstransport.log"
111
+			filePattern="${logDir}/${logFilePrefix}_protocolstransport.%d{yyyy-MM-dd}-%i.log.gz"
112
+			ignoreExceptions="false">
113
+			<PatternLayout pattern="${logLayoutTomcat}"
114
+				charset="UTF-8" />
115
+			<Policies>
116
+<!-- 				<OnStartupTriggeringPolicy /> -->
117
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
118
+<!-- 				<TimeBasedTriggeringPolicy /> -->
119
+			</Policies>
120
+<!-- 			<DefaultRolloverStrategy> -->
121
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
122
+<!-- 					<IfFileName -->
123
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_protocolstransport.*.log.gz" /> -->
124
+<!-- 					<IfLastModified age="20d" /> -->
125
+<!-- 				</Delete> -->
126
+<!-- 			</DefaultRolloverStrategy> -->
127
+		</RollingFile>
128
+		<RollingFile name="MAILBOXMANAGER" fileName="${logDir}/${logFilePrefix}_mailboxmanager.log"
129
+			filePattern="${logDir}/${logFilePrefix}_mailboxmanager.%d{yyyy-MM-dd}-%i.log.gz"
130
+			ignoreExceptions="false">
131
+			<PatternLayout pattern="${logLayoutTomcat}"
132
+				charset="UTF-8" />
133
+			<Policies>
134
+<!-- 				<OnStartupTriggeringPolicy /> -->
135
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
136
+<!-- 				<TimeBasedTriggeringPolicy /> -->
137
+			</Policies>
138
+<!-- 			<DefaultRolloverStrategy> -->
139
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
140
+<!-- 					<IfFileName -->
141
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_mailboxmanager.*.log.gz" /> -->
142
+<!-- 					<IfLastModified age="20d" /> -->
143
+<!-- 				</Delete> -->
144
+<!-- 			</DefaultRolloverStrategy> -->
145
+		</RollingFile>
146
+		<RollingFile name="MAILETCONTAINER" fileName="${logDir}/${logFilePrefix}_mailetcontainer.log"
147
+			filePattern="${logDir}/${logFilePrefix}_mailetcontainer.%d{yyyy-MM-dd}-%i.log.gz"
148
+			ignoreExceptions="false">
149
+			<PatternLayout pattern="${logLayoutTomcat}"
150
+				charset="UTF-8" />
151
+			<Policies>
152
+<!-- 				<OnStartupTriggeringPolicy /> -->
153
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
154
+<!-- 				<TimeBasedTriggeringPolicy /> -->
155
+			</Policies>
156
+<!-- 			<DefaultRolloverStrategy> -->
157
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
158
+<!-- 					<IfFileName -->
159
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_mailetcontainer.*.log.gz" /> -->
160
+<!-- 					<IfLastModified age="20d" /> -->
161
+<!-- 				</Delete> -->
162
+<!-- 			</DefaultRolloverStrategy> -->
163
+		</RollingFile>
164
+		<RollingFile name="DNSSERVICE" fileName="${logDir}/${logFilePrefix}_dnsservice.log"
165
+			filePattern="${logDir}/${logFilePrefix}_dnsservice.%d{yyyy-MM-dd}-%i.log.gz"
166
+			ignoreExceptions="false">
167
+			<PatternLayout pattern="${logLayoutTomcat}"
168
+				charset="UTF-8" />
169
+			<Policies>
170
+<!-- 				<OnStartupTriggeringPolicy /> -->
171
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
172
+<!-- 				<TimeBasedTriggeringPolicy /> -->
173
+			</Policies>
174
+<!-- 			<DefaultRolloverStrategy> -->
175
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
176
+<!-- 					<IfFileName -->
177
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_dnsservice.*.log.gz" /> -->
178
+<!-- 					<IfLastModified age="20d" /> -->
179
+<!-- 				</Delete> -->
180
+<!-- 			</DefaultRolloverStrategy> -->
181
+		</RollingFile>
182
+		<RollingFile name="IMAPSERVER" fileName="${logDir}/${logFilePrefix}_imapserver.log"
183
+			filePattern="${logDir}/${logFilePrefix}_imapserver.%d{yyyy-MM-dd}-%i.log.gz"
184
+			ignoreExceptions="false">
185
+			<PatternLayout pattern="${logLayoutTomcat}"
186
+				charset="UTF-8" />
187
+			<Policies>
188
+<!-- 				<OnStartupTriggeringPolicy /> -->
189
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
190
+<!-- 				<TimeBasedTriggeringPolicy /> -->
191
+			</Policies>
192
+<!-- 			<DefaultRolloverStrategy> -->
193
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
194
+<!-- 					<IfFileName -->
195
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_imapserver.*.log.gz" /> -->
196
+<!-- 					<IfLastModified age="20d" /> -->
197
+<!-- 				</Delete> -->
198
+<!-- 			</DefaultRolloverStrategy> -->
199
+		</RollingFile>
200
+		<RollingFile name="POP3SERVER" fileName="${logDir}/${logFilePrefix}_pop3server.log"
201
+			filePattern="${logDir}/${logFilePrefix}_pop3server.%d{yyyy-MM-dd}-%i.log.gz"
202
+			ignoreExceptions="false">
203
+			<PatternLayout pattern="${logLayoutTomcat}"
204
+				charset="UTF-8" />
205
+			<Policies>
206
+<!-- 				<OnStartupTriggeringPolicy /> -->
207
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
208
+<!-- 				<TimeBasedTriggeringPolicy /> -->
209
+			</Policies>
210
+<!-- 			<DefaultRolloverStrategy> -->
211
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
212
+<!-- 					<IfFileName -->
213
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_pop3server.*.log.gz" /> -->
214
+<!-- 					<IfLastModified age="20d" /> -->
215
+<!-- 				</Delete> -->
216
+<!-- 			</DefaultRolloverStrategy> -->
217
+		</RollingFile>
218
+		<RollingFile name="SMTPSERVER" fileName="${logDir}/${logFilePrefix}_smtpserver.log"
219
+			filePattern="${logDir}/${logFilePrefix}_smtpserver.%d{yyyy-MM-dd}-%i.log.gz"
220
+			ignoreExceptions="false">
221
+			<PatternLayout pattern="${logLayoutTomcat}"
222
+				charset="UTF-8" />
223
+			<Policies>
224
+<!-- 				<OnStartupTriggeringPolicy /> -->
225
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
226
+<!-- 				<TimeBasedTriggeringPolicy /> -->
227
+			</Policies>
228
+<!-- 			<DefaultRolloverStrategy> -->
229
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
230
+<!-- 					<IfFileName -->
231
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_smtpserver.*.log.gz" /> -->
232
+<!-- 					<IfLastModified age="20d" /> -->
233
+<!-- 				</Delete> -->
234
+<!-- 			</DefaultRolloverStrategy> -->
235
+		</RollingFile>
236
+		<RollingFile name="LMTPSERVER" fileName="${logDir}/${logFilePrefix}_lmtpserver.log"
237
+			filePattern="${logDir}/${logFilePrefix}_lmtpserver.%d{yyyy-MM-dd}-%i.log.gz"
238
+			ignoreExceptions="false">
239
+			<PatternLayout pattern="${logLayoutTomcat}"
240
+				charset="UTF-8" />
241
+			<Policies>
242
+<!-- 				<OnStartupTriggeringPolicy /> -->
243
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
244
+<!-- 				<TimeBasedTriggeringPolicy /> -->
245
+			</Policies>
246
+<!-- 			<DefaultRolloverStrategy> -->
247
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
248
+<!-- 					<IfFileName -->
249
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_lmtpserver.*.log.gz" /> -->
250
+<!-- 					<IfLastModified age="20d" /> -->
251
+<!-- 				</Delete> -->
252
+<!-- 			</DefaultRolloverStrategy> -->
253
+		</RollingFile>
254
+		<RollingFile name="MAILREPOSITORYSTORE" fileName="${logDir}/${logFilePrefix}_mailrepositorystore.log"
255
+			filePattern="${logDir}/${logFilePrefix}_mailrepositorystore.%d{yyyy-MM-dd}-%i.log.gz"
256
+			ignoreExceptions="false">
257
+			<PatternLayout pattern="${logLayoutTomcat}"
258
+				charset="UTF-8" />
259
+			<Policies>
260
+<!-- 				<OnStartupTriggeringPolicy /> -->
261
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
262
+<!-- 				<TimeBasedTriggeringPolicy /> -->
263
+			</Policies>
264
+<!-- 			<DefaultRolloverStrategy> -->
265
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
266
+<!-- 					<IfFileName -->
267
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_mailrepositorystore.*.log.gz" /> -->
268
+<!-- 					<IfLastModified age="20d" /> -->
269
+<!-- 				</Delete> -->
270
+<!-- 			</DefaultRolloverStrategy> -->
271
+		</RollingFile>
272
+		<RollingFile name="USERSREPOSITORY" fileName="${logDir}/${logFilePrefix}_usersrepository.log"
273
+			filePattern="${logDir}/${logFilePrefix}_usersrepository.%d{yyyy-MM-dd}-%i.log.gz"
274
+			ignoreExceptions="false">
275
+			<PatternLayout pattern="${logLayoutTomcat}"
276
+				charset="UTF-8" />
277
+			<Policies>
278
+<!-- 				<OnStartupTriggeringPolicy /> -->
279
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
280
+<!-- 				<TimeBasedTriggeringPolicy /> -->
281
+			</Policies>
282
+<!-- 			<DefaultRolloverStrategy> -->
283
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
284
+<!-- 					<IfFileName -->
285
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_usersrepository.*.log.gz" /> -->
286
+<!-- 					<IfLastModified age="20d" /> -->
287
+<!-- 				</Delete> -->
288
+<!-- 			</DefaultRolloverStrategy> -->
289
+		</RollingFile>
290
+		<RollingFile name="FETCHMAIL" fileName="${logDir}/${logFilePrefix}_fetchmail.log"
291
+			filePattern="${logDir}/${logFilePrefix}_fetchmail.%d{yyyy-MM-dd}-%i.log.gz"
292
+			ignoreExceptions="false">
293
+			<PatternLayout pattern="${logLayoutTomcat}"
294
+				charset="UTF-8" />
295
+			<Policies>
296
+<!-- 				<OnStartupTriggeringPolicy /> -->
297
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
298
+<!-- 				<TimeBasedTriggeringPolicy /> -->
299
+			</Policies>
300
+<!-- 			<DefaultRolloverStrategy> -->
301
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
302
+<!-- 					<IfFileName -->
303
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_fetchmail.*.log.gz" /> -->
304
+<!-- 					<IfLastModified age="20d" /> -->
305
+<!-- 				</Delete> -->
306
+<!-- 			</DefaultRolloverStrategy> -->
307
+		</RollingFile>
308
+		<RollingFile name="DOMAINLIST" fileName="${logDir}/${logFilePrefix}_domainlist.log"
309
+			filePattern="${logDir}/${logFilePrefix}_domainlist.%d{yyyy-MM-dd}-%i.log.gz"
310
+			ignoreExceptions="false">
311
+			<PatternLayout pattern="${logLayoutTomcat}"
312
+				charset="UTF-8" />
313
+			<Policies>
314
+<!-- 				<OnStartupTriggeringPolicy /> -->
315
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
316
+<!-- 				<TimeBasedTriggeringPolicy /> -->
317
+			</Policies>
318
+<!-- 			<DefaultRolloverStrategy> -->
319
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
320
+<!-- 					<IfFileName -->
321
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_domainlist.*.log.gz" /> -->
322
+<!-- 					<IfLastModified age="20d" /> -->
323
+<!-- 				</Delete> -->
324
+<!-- 			</DefaultRolloverStrategy> -->
325
+		</RollingFile>
326
+		<RollingFile name="VIRTUALUSERTABLE" fileName="${logDir}/${logFilePrefix}_virtualusertable.log"
327
+			filePattern="${logDir}/${logFilePrefix}_virtualusertable.%d{yyyy-MM-dd}-%i.log.gz"
328
+			ignoreExceptions="false">
329
+			<PatternLayout pattern="${logLayoutTomcat}"
330
+				charset="UTF-8" />
331
+			<Policies>
332
+<!-- 				<OnStartupTriggeringPolicy /> -->
333
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
334
+<!-- 				<TimeBasedTriggeringPolicy /> -->
335
+			</Policies>
336
+<!-- 			<DefaultRolloverStrategy> -->
337
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
338
+<!-- 					<IfFileName -->
339
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_virtualusertable.*.log.gz" /> -->
340
+<!-- 					<IfLastModified age="20d" /> -->
341
+<!-- 				</Delete> -->
342
+<!-- 			</DefaultRolloverStrategy> -->
343
+		</RollingFile>
344
+		<RollingFile name="MAILQUEUEFACTORY" fileName="${logDir}/${logFilePrefix}_mailqueuefactory.log"
345
+			filePattern="${logDir}/${logFilePrefix}_mailqueuefactory.%d{yyyy-MM-dd}-%i.log.gz"
346
+			ignoreExceptions="false">
347
+			<PatternLayout pattern="${logLayoutTomcat}"
348
+				charset="UTF-8" />
349
+			<Policies>
350
+<!-- 				<OnStartupTriggeringPolicy /> -->
351
+<!-- 				<SizeBasedTriggeringPolicy size="20 MB" /> -->
352
+<!-- 				<TimeBasedTriggeringPolicy /> -->
353
+			</Policies>
354
+<!-- 			<DefaultRolloverStrategy> -->
355
+<!-- 				<Delete basePath="${logDir}" maxDepth="2"> -->
356
+<!-- 					<IfFileName -->
357
+<!-- 						glob="target/log4j2/roll-by-time-and-size/${logFilePrefix}_mailqueuefactory.*.log.gz" /> -->
358
+<!-- 					<IfLastModified age="20d" /> -->
359
+<!-- 				</Delete> -->
360
+<!-- 			</DefaultRolloverStrategy> -->
361
+		</RollingFile>
362
+	</Appenders>
363
+
364
+	<Loggers>
365
+		<!-- Update the FQDN of the class "name" for each "Logger" accordingly -->
366
+		<Logger name="org.springframework" additivity="false">
367
+			<AppenderRef ref="Console" level="info" />
368
+			<AppenderRef ref="Springframework" level="warn" />
369
+		</Logger>
370
+		<Logger name="org.apache" additivity="false">
371
+			<AppenderRef ref="Console" level="info" />
372
+			<AppenderRef ref="Apache" level="warn" />
373
+		</Logger>
374
+		<Logger name="openjpa.Runtime" additivity="false">
375
+			<AppenderRef ref="Console" level="info" />
376
+			<AppenderRef ref="OpenJPA" level="trace" />
377
+		</Logger>
378
+		<Logger name="org.apache.openjpa" additivity="false">
379
+			<AppenderRef ref="Console" level="info" />
380
+			<AppenderRef ref="OpenJPA" level="trace" />
381
+		</Logger>
382
+		<Logger name="org.apache.james" additivity="false">
383
+			<AppenderRef ref="Console" level="info" />
384
+			<AppenderRef ref="James" level="debug" />
385
+		</Logger>
386
+		<Logger name="org.apache.james.protocols" additivity="false">
387
+			<AppenderRef ref="Console" level="info" />
388
+			<AppenderRef ref="ProtocolsTransport" level="debug" />
389
+		</Logger>
390
+		<Logger name="org.apache.james.transport" additivity="false">
391
+			<AppenderRef ref="Console" level="info" />
392
+			<AppenderRef ref="ProtocolsTransport" level="debug" />
393
+		</Logger>
394
+		<Logger name="org.apache.james.mailboxmanager" additivity="false">
395
+			<AppenderRef ref="Console" level="info" />
396
+			<AppenderRef ref="MAILBOXMANAGER" level="debug" />
397
+		</Logger>
398
+		<Logger name="org.apache.james.mailetcontainer" additivity="false">
399
+			<AppenderRef ref="Console" level="info" />
400
+			<AppenderRef ref="MAILETCONTAINER" level="debug" />
401
+		</Logger>
402
+		<Logger name="org.apache.james.dnsservice" additivity="false">
403
+			<AppenderRef ref="Console" level="info" />
404
+			<AppenderRef ref="DNSSERVICE" level="debug" />
405
+		</Logger>
406
+		<Logger name="org.apache.james.imapserver" additivity="false">
407
+			<AppenderRef ref="Console" level="info" />
408
+			<AppenderRef ref="IMAPSERVER" level="debug" />
409
+		</Logger>
410
+		<Logger name="org.apache.james.pop3server" additivity="false">
411
+			<AppenderRef ref="Console" level="info" />
412
+			<AppenderRef ref="POP3SERVER" level="debug" />
413
+		</Logger>
414
+		<Logger name="org.apache.james.smtpserver" additivity="false">
415
+			<AppenderRef ref="Console" level="info" />
416
+			<AppenderRef ref="SMTPSERVER" level="debug" />
417
+		</Logger>
418
+		<Logger name="org.apache.james.lmtpserver" additivity="false">
419
+			<AppenderRef ref="Console" level="info" />
420
+			<AppenderRef ref="LMTPSERVER" level="debug" />
421
+		</Logger>
422
+		<Logger name="org.apache.james.mailrepositorystore" additivity="false">
423
+			<AppenderRef ref="Console" level="info" />
424
+			<AppenderRef ref="MAILREPOSITORYSTORE" level="debug" />
425
+		</Logger>
426
+		<Logger name="org.apache.james.usersrepository" additivity="false">
427
+			<AppenderRef ref="Console" level="info" />
428
+			<AppenderRef ref="USERSREPOSITORY" level="debug" />
429
+		</Logger>
430
+		<Logger name="org.apache.james.fetchmail" additivity="false">
431
+			<AppenderRef ref="Console" level="info" />
432
+			<AppenderRef ref="FETCHMAIL" level="debug" />
433
+		</Logger>
434
+		<Logger name="org.apache.james.domainlist" additivity="false">
435
+			<AppenderRef ref="Console" level="info" />
436
+			<AppenderRef ref="DOMAINLIST" level="debug" />
437
+		</Logger>
438
+		<Logger name="org.apache.james.virtualusertable" additivity="false">
439
+			<AppenderRef ref="Console" level="info" />
440
+			<AppenderRef ref="VIRTUALUSERTABLE" level="debug" />
441
+		</Logger>
442
+		<Logger name="org.apache.james.mailqueuefactory" additivity="false">
443
+			<AppenderRef ref="Console" level="info" />
444
+			<AppenderRef ref="MAILQUEUEFACTORY" level="debug" />
445
+		</Logger>
446
+
447
+		<Root level="trace">
448
+			<AppenderRef ref="Console" level="info" />
449
+			<AppenderRef ref="SHARED" level="info" />
450
+		</Root>
451
+	</Loggers>
452
+</Configuration>
(-)mail/james/files/patch-conf_mailetcontainer.xml (+11 lines)
Line 0 Link Here
1
--- conf/mailetcontainer.xml.orig	2020-03-27 13:57:18 UTC
2
+++ conf/mailetcontainer.xml
3
@@ -57,7 +57,7 @@
4
        <mailet match="RelayLimit=30" class="Null"/>
5
 
6
         <mailet matcher="All" class="WithPriority">
7
-            <value>8</value>
8
+            <priority>8</priority>
9
         </mailet>
10
 
11
         <mailet matcher="HasPriority=8" class="Null"/>
(-)mail/james/pkg-message (+26 lines)
Line 0 Link Here
1
[
2
{
3
  message: <<EOM
4
5
The official distribution is built with Java 8 and uses log4j.  It does not 
6
work on Java 9+ since log4j is broken with Java 9+ [1].  Furthermore,
7
log4j is EOL in 2015 [2].  Thus, it's been replaced with log4j2 for security
8
and can now run on Java 8+.
9
10
NOTICE:
11
12
This port was developed using Springframework version 3.2.18 which is
13
EOL 2016 [3]. This has only one CVE-2016-5007 thus far:
14
15
    "... rely on URL pattern mappings for authorization and for mapping
16
    requests to controllers respectively."
17
18
Since this port does not utilize Web MVC, it should not be at risk.
19
20
[1] https://blogs.apache.org/logging/entry/moving_on_to_log4j_2
21
[2] https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces
22
[3] https://spring.io/blog/2015/06/15/spring-framework-3-2-x-eol-on-dec-31-2016
23
24
EOM
25
}
26
]
(-)mail/james/pkg-plist (-77 / +259 lines)
Lines 1-78 Link Here
1
%%T%%/LICENSE.txt
1
%%T%%/LICENSE
2
%%T%%/NOTICE.txt
2
%%T%%/NOTICE
3
%%T%%/README.txt
3
%%T%%/README.crypto
4
%%T%%/RELEASE_NOTES.txt
4
%%T%%/bin/daemon.sh
5
%%T%%/UPGRADE.txt
5
%%T%%/bin/james
6
%%T%%/apps/dummy.txt
6
%%T%%/bin/james-cli.sh
7
%%T%%/apps/james.sar
8
%%T%%/bin/Wrapper.LICENSE
9
%%T%%/bin/Wrapper.dll
10
%%T%%/bin/derby.properties
11
%%T%%/bin/lib/excalibur-cli-1.0.jar
12
%%T%%/bin/lib/excalibur-extension-1.0a.jar
13
%%T%%/bin/lib/excalibur-instrument-manager-1.0.jar
14
%%T%%/bin/lib/excalibur-io-1.1.jar
15
%%T%%/bin/lib/excalibur-logger-2.1.jar
16
%%T%%/bin/lib/excalibur-monitor-2.1.jar
17
%%T%%/bin/lib/jakarta-oro-2.0.8.jar
18
%%T%%/bin/lib/mx4j-jmx.jar
19
%%T%%/bin/lib/mx4j-tools.jar
20
%%T%%/bin/lib/mx4j.LICENSE
21
%%T%%/bin/lib/phoenix-engine.jar
22
%%T%%/bin/lib/spice-classman-1.0.jar
23
%%T%%/bin/lib/spice-loggerstore-0.5.jar
24
%%T%%/bin/lib/spice-salt-0.8.jar
25
%%T%%/bin/lib/spice-xmlpolicy-1.0.jar
26
%%T%%/bin/lib/spice.LICENSE
27
%%T%%/bin/phoenix-loader.jar
28
%%T%%/bin/phoenix.sh
29
%%T%%/bin/run.sh
7
%%T%%/bin/run.sh
30
%%T%%/bin/sendmail.py
8
%%T%%/bin/setenv.sh
31
%%T%%/bin/wrapper.jar
9
%%T%%/conf/META-INF/jpa-mappings-template.xml
32
%%T%%/conf/kernel.xml
10
%%T%%/conf/META-INF/persistence-template.xml
33
%%T%%/conf/phoenix-service.xml
11
%%T%%/conf/META-INF/persistence.xml
34
%%T%%/conf/wrapper.conf
12
%%T%%/conf/dnsservice.xml
35
%%T%%/ext/README.txt
13
%%T%%/conf/domainlist.xml
36
%%T%%/lib/avalon-framework-api-4.3.jar
14
%%T%%/conf/fetchmail.xml
37
%%T%%/lib/avalon-framework-impl-4.3.jar
15
%%T%%/conf/imapserver.xml
38
%%T%%/lib/avalon-logkit-2.1.jar
16
%%T%%/conf/indexer.xml
39
%%T%%/lib/commons-collections-2.1.1.jar
17
%%T%%/conf/james-database.properties
40
%%T%%/lib/concurrent-1.3.4.jar
18
%%T%%/conf/jetm-monitoring.xml
41
%%T%%/lib/excalibur-cli-1.0.jar
19
%%T%%/conf/jmx.properties
42
%%T%%/lib/excalibur-extension-1.0a.jar
20
%%T%%/conf/lib/README.txt
43
%%T%%/lib/excalibur-instrument-api-2.1.jar
21
%%T%%/conf/lmtpserver.xml
44
%%T%%/lib/excalibur-instrument-manager-1.0.jar
22
%%T%%/conf/log4j2.xml
45
%%T%%/lib/excalibur-io-1.1.jar
23
%%T%%/conf/mailbox-maildir.properties
46
%%T%%/lib/excalibur-logger-2.1.jar
24
%%T%%/conf/mailbox.xml
47
%%T%%/lib/excalibur-monitor-2.1.jar
25
%%T%%/conf/mailetcontainer.xml
48
%%T%%/lib/excalibur-pool-api-2.1.jar
26
%%T%%/conf/mailrepositorystore.xml
49
%%T%%/lib/excalibur-pool-impl-2.1.jar
27
%%T%%/conf/managesieveserver.xml
50
%%T%%/lib/excalibur-thread-api-2.1.jar
28
%%T%%/conf/pop3server.xml
51
%%T%%/lib/excalibur-thread-impl-2.1.jar
29
%%T%%/conf/quota.xml
52
%%T%%/lib/jakarta-oro-2.0.8.jar
30
%%T%%/conf/recipientrewritetable.xml
53
%%T%%/lib/mx4j-jmx.jar
31
%%T%%/conf/setenv.sh
54
%%T%%/lib/mx4j-tools.jar
32
%%T%%/conf/sieverepository.xml
55
%%T%%/lib/mx4j.LICENSE
33
%%T%%/conf/smtpserver.xml
56
%%T%%/lib/phoenix-client.jar
34
%%T%%/conf/sqlResources.xml
57
%%T%%/lib/phoenix-engine.jar
35
%%T%%/conf/usersrepository.xml
58
%%T%%/lib/spice-classman-1.0.jar
36
%%T%%/conf/usersrepository23.xml
59
%%T%%/lib/spice-loggerstore-0.5.jar
37
%%T%%/lib/activation-1.1.1.jar
60
%%T%%/lib/spice-salt-0.8.jar
38
%%T%%/lib/activemq-broker-5.15.9.jar
61
%%T%%/lib/spice-xmlpolicy-1.0.jar
39
%%T%%/lib/activemq-client-5.15.9.jar
62
%%T%%/lib/spice.LICENSE
40
%%T%%/lib/activemq-jms-pool-5.15.9.jar
63
%%T%%/lib/tools.jar
41
%%T%%/lib/activemq-kahadb-store-5.15.9.jar
64
%%T%%/logs/readme.txt
42
%%T%%/lib/activemq-openwire-legacy-5.15.9.jar
65
%%T%%/tools/lib/excalibur-i18n-1.0.jar
43
%%T%%/lib/activemq-pool-5.15.9.jar
66
%%T%%/tools/lib/isorelax-20020414.jar
44
%%T%%/lib/activemq-protobuf-1.1.jar
67
%%T%%/tools/lib/isorelax.LICENSE
45
%%T%%/lib/activemq-spring-5.15.9.jar
68
%%T%%/tools/lib/msv-20020414.jar
46
%%T%%/lib/amqp-client-5.7.3.jar
69
%%T%%/tools/lib/msv.LICENSE
47
%%T%%/lib/animal-sniffer-annotations-1.14.jar
70
%%T%%/tools/lib/phoenix-tools.jar
48
%%T%%/lib/aopalliance-1.0.jar
71
%%T%%/tools/lib/qdox-1.1.jar
49
%%T%%/lib/apache-james-backends-jpa-3.4.0.jar
72
%%T%%/tools/lib/qdox.LICENSE
50
%%T%%/lib/apache-james-mailbox-api-3.4.0.jar
73
%%T%%/tools/lib/relaxngDatatype-20020414.jar
51
%%T%%/lib/apache-james-mailbox-event-memory-3.4.0.jar
74
%%T%%/tools/lib/relaxngDatatype.LICENSE
52
%%T%%/lib/apache-james-mailbox-jpa-3.4.0.jar
75
%%T%%/tools/lib/spice-configkit-1.1.2.jar
53
%%T%%/lib/apache-james-mailbox-lucene-3.4.0.jar
76
%%T%%/tools/lib/spice.LICENSE
54
%%T%%/lib/apache-james-mailbox-maildir-3.4.0.jar
77
%%T%%/tools/lib/xsdlib-20020414.jar
55
%%T%%/lib/apache-james-mailbox-memory-3.4.0.jar
78
%%T%%/tools/lib/xsdlib.LICENSE
56
%%T%%/lib/apache-james-mailbox-spring-3.4.0.jar
57
%%T%%/lib/apache-james-mailbox-store-3.4.0.jar
58
%%T%%/lib/apache-james-mailbox-tools-copier-3.4.0.jar
59
%%T%%/lib/apache-james-mailbox-tools-indexer-3.4.0.jar
60
%%T%%/lib/apache-james-spamassassin-3.4.0.jar
61
%%T%%/lib/apache-jdkim-library-0.2.jar
62
%%T%%/lib/apache-jsieve-core-0.7.jar
63
%%T%%/lib/apache-jspf-resolver-1.0.1.jar
64
%%T%%/lib/apache-mailet-api-3.4.0.jar
65
%%T%%/lib/apache-mailet-base-3.4.0.jar
66
%%T%%/lib/apache-mailet-standard-3.4.0.jar
67
%%T%%/lib/apache-mime4j-core-0.8.3.jar
68
%%T%%/lib/apache-mime4j-dom-0.8.3.jar
69
%%T%%/lib/apache-mime4j-james-utils-0.8.3.jar
70
%%T%%/lib/api-asn1-api-1.0.3.jar
71
%%T%%/lib/api-asn1-ber-1.0.3.jar
72
%%T%%/lib/api-i18n-1.0.3.jar
73
%%T%%/lib/api-ldap-model-1.0.3.jar
74
%%T%%/lib/api-util-1.0.3.jar
75
%%T%%/lib/artemis-commons-2.9.0.jar
76
%%T%%/lib/artemis-core-client-2.9.0.jar
77
%%T%%/lib/artemis-jms-client-2.9.0.jar
78
%%T%%/lib/artemis-selector-2.9.0.jar
79
%%T%%/lib/asm-7.1.jar
80
%%T%%/lib/asm-analysis-7.1.jar
81
%%T%%/lib/asm-tree-7.1.jar
82
%%T%%/lib/asm-util-7.1.jar
83
%%T%%/lib/assertj-core-3.12.2.jar
84
%%T%%/lib/bcpkix-jdk15on-1.62.jar
85
%%T%%/lib/bcprov-jdk15on-1.62.jar
86
%%T%%/lib/byteunits-0.9.1.jar
87
%%T%%/lib/camel-core-2.24.1.jar
88
%%T%%/lib/camel-spring-2.24.1.jar
89
%%T%%/lib/checker-qual-2.0.0.jar
90
%%T%%/lib/commons-beanutils-1.9.3.jar
91
%%T%%/lib/commons-cli-1.4.jar
92
%%T%%/lib/commons-codec-1.11.jar
93
%%T%%/lib/commons-collections-3.2.2.jar
94
%%T%%/lib/commons-collections4-4.4.jar
95
%%T%%/lib/commons-configuration2-2.5.jar
96
%%T%%/lib/commons-daemon-1.2.0.jar
97
%%T%%/lib/commons-dbcp-1.4.jar
98
%%T%%/lib/commons-io-2.6.jar
99
%%T%%/lib/commons-lang-2.6.jar
100
%%T%%/lib/commons-lang3-3.9.jar
101
%%T%%/lib/commons-logging-1.2.jar
102
%%T%%/lib/commons-net-3.6.jar
103
%%T%%/lib/commons-pool-1.5.4.jar
104
%%T%%/lib/commons-pool2-2.7.0.jar
105
%%T%%/lib/commons-text-1.7.jar
106
%%T%%/lib/derby-10.14.2.0.jar
107
%%T%%/lib/dnsjava-2.1.9.jar
108
%%T%%/lib/error_prone_annotations-2.1.3.jar
109
%%T%%/lib/event-sourcing-core-3.4.0.jar
110
%%T%%/lib/event-sourcing-event-store-api-3.4.0.jar
111
%%T%%/lib/event-sourcing-pojo-3.4.0.jar
112
%%T%%/lib/fluent-hc-4.5.9.jar
113
%%T%%/lib/fst-2.57.jar
114
%%T%%/lib/geronimo-activation_1.1_spec-1.0.2.jar
115
%%T%%/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar
116
%%T%%/lib/geronimo-javamail_1.4_mail-1.6.jar
117
%%T%%/lib/geronimo-jms_1.1_spec-1.1.1.jar
118
%%T%%/lib/geronimo-jms_2.0_spec-1.0-alpha-2.jar
119
%%T%%/lib/geronimo-jpa_2.2_spec-1.0.jar
120
%%T%%/lib/geronimo-json_1.0_spec-1.0-alpha-1.jar
121
%%T%%/lib/geronimo-jta_1.0.1B_spec-1.0.1.jar
122
%%T%%/lib/geronimo-jta_1.1_spec-1.1.1.jar
123
%%T%%/lib/guava-25.1-jre.jar
124
%%T%%/lib/guavate-1.0.0.jar
125
%%T%%/lib/hamcrest-core-1.3.jar
126
%%T%%/lib/hawtbuf-1.11.jar
127
%%T%%/lib/httpclient-4.5.9.jar
128
%%T%%/lib/httpclient-cache-4.5.9.jar
129
%%T%%/lib/httpclient-osgi-4.5.9.jar
130
%%T%%/lib/httpcore-4.4.11.jar
131
%%T%%/lib/httpmime-4.5.9.jar
132
%%T%%/lib/icu4j-64.2.jar
133
%%T%%/lib/j2objc-annotations-1.1.jar
134
%%T%%/lib/jackson-annotations-2.9.9.jar
135
%%T%%/lib/jackson-core-2.9.9.jar
136
%%T%%/lib/jackson-databind-2.9.9.jar
137
%%T%%/lib/jackson-datatype-guava-2.9.9.jar
138
%%T%%/lib/jackson-datatype-jdk8-2.9.9.jar
139
%%T%%/lib/jackson-datatype-jsr310-2.9.9.jar
140
%%T%%/lib/james-core-3.4.0.jar
141
%%T%%/lib/james-json-3.4.0.jar
142
%%T%%/lib/james-mdn-3.4.0.jar
143
%%T%%/lib/james-server-app-3.4.0.jar
144
%%T%%/lib/james-server-cli-3.4.0.jar
145
%%T%%/lib/james-server-core-3.4.0.jar
146
%%T%%/lib/james-server-data-api-3.4.0.jar
147
%%T%%/lib/james-server-data-file-3.4.0.jar
148
%%T%%/lib/james-server-data-jdbc-3.4.0.jar
149
%%T%%/lib/james-server-data-jpa-3.4.0.jar
150
%%T%%/lib/james-server-data-ldap-3.4.0.jar
151
%%T%%/lib/james-server-data-library-3.4.0.jar
152
%%T%%/lib/james-server-dnsservice-api-3.4.0.jar
153
%%T%%/lib/james-server-dnsservice-dnsjava-3.4.0.jar
154
%%T%%/lib/james-server-dnsservice-library-3.4.0.jar
155
%%T%%/lib/james-server-fetchmail-3.4.0.jar
156
%%T%%/lib/james-server-filesystem-api-3.4.0.jar
157
%%T%%/lib/james-server-lifecycle-api-3.4.0.jar
158
%%T%%/lib/james-server-mailbox-adapter-3.4.0.jar
159
%%T%%/lib/james-server-mailbox-jmx-3.4.0.jar
160
%%T%%/lib/james-server-mailet-dkim-3.4.0.jar
161
%%T%%/lib/james-server-mailetcontainer-api-3.4.0.jar
162
%%T%%/lib/james-server-mailetcontainer-camel-3.4.0.jar
163
%%T%%/lib/james-server-mailets-3.4.0.jar
164
%%T%%/lib/james-server-mailrepository-api-3.4.0.jar
165
%%T%%/lib/james-server-protocols-imap4-3.4.0.jar
166
%%T%%/lib/james-server-protocols-library-3.4.0.jar
167
%%T%%/lib/james-server-protocols-lmtp-3.4.0.jar
168
%%T%%/lib/james-server-protocols-managesieve-3.4.0.jar
169
%%T%%/lib/james-server-protocols-pop3-3.4.0.jar
170
%%T%%/lib/james-server-protocols-smtp-3.4.0.jar
171
%%T%%/lib/james-server-queue-activemq-3.4.0.jar
172
%%T%%/lib/james-server-queue-api-3.4.0.jar
173
%%T%%/lib/james-server-queue-file-3.4.0.jar
174
%%T%%/lib/james-server-queue-jms-3.4.0.jar
175
%%T%%/lib/james-server-spring-3.4.0.jar
176
%%T%%/lib/james-server-task-3.4.0.jar
177
%%T%%/lib/james-server-task-json-3.4.0.jar
178
%%T%%/lib/james-server-util-3.4.0.jar
179
%%T%%/lib/jasypt-1.9.3.jar
180
%%T%%/lib/javassist-3.21.0-GA.jar
181
%%T%%/lib/javax-mail-extension-3.4.0.jar
182
%%T%%/lib/javax.activation-1.2.0.jar
183
%%T%%/lib/javax.activation-api-1.2.0.jar
184
%%T%%/lib/javax.annotation-api-1.3.2.jar
185
%%T%%/lib/javax.inject-1.jar
186
%%T%%/lib/javax.mail-1.6.2.jar
187
%%T%%/lib/jaxb-api-2.3.1.jar
188
%%T%%/lib/jaxb-core-2.3.0.1.jar
189
%%T%%/lib/jaxb-impl-2.3.1.jar
190
%%T%%/lib/jboss-logging-3.4.0.Final.jar
191
%%T%%/lib/jgroups-3.6.13.Final.jar
192
%%T%%/lib/johnzon-core-0.9.5.jar
193
%%T%%/lib/jsoup-1.11.3.jar
194
%%T%%/lib/jsr305-3.0.2.jar
195
%%T%%/lib/junit-4.12.jar
196
%%T%%/lib/jutf7-1.0.0.jar
197
%%T%%/lib/log4j-1.2-api-2.13.1.jar
198
%%T%%/lib/log4j-api-2.13.1.jar
199
%%T%%/lib/log4j-core-2.13.1.jar
200
%%T%%/lib/log4j-jcl-2.13.1.jar
201
%%T%%/lib/log4j-slf4j-impl-2.13.1.jar
202
%%T%%/lib/logback-core-1.2.3.jar
203
%%T%%/lib/lucene-analyzers-3.6.2.jar
204
%%T%%/lib/lucene-core-3.6.2.jar
205
%%T%%/lib/lucene-smartcn-3.6.2.jar
206
%%T%%/lib/metrics-api-3.4.0.jar
207
%%T%%/lib/metrics-core-4.1.0.jar
208
%%T%%/lib/metrics-dropwizard-3.4.0.jar
209
%%T%%/lib/metrics-jmx-4.1.0.jar
210
%%T%%/lib/metrics-jvm-4.1.0.jar
211
%%T%%/lib/metrics-logger-3.4.0.jar
212
%%T%%/lib/mina-core-2.0.21.jar
213
%%T%%/lib/netty-3.10.6.Final.jar
214
%%T%%/lib/netty-buffer-4.1.34.Final.jar
215
%%T%%/lib/netty-codec-4.1.34.Final.jar
216
%%T%%/lib/netty-codec-http-4.1.34.Final.jar
217
%%T%%/lib/netty-common-4.1.34.Final.jar
218
%%T%%/lib/netty-handler-4.1.34.Final.jar
219
%%T%%/lib/netty-resolver-4.1.34.Final.jar
220
%%T%%/lib/netty-transport-4.1.34.Final.jar
221
%%T%%/lib/netty-transport-native-epoll-4.1.34.Final-linux-x86_64.jar
222
%%T%%/lib/netty-transport-native-kqueue-4.1.34.Final-osx-x86_64.jar
223
%%T%%/lib/netty-transport-native-unix-common-4.1.34.Final.jar
224
%%T%%/lib/objenesis-2.5.1.jar
225
%%T%%/lib/openjpa-3.1.0.jar
226
%%T%%/lib/org.apache.servicemix.bundles.antlr-2.7.7_5.jar
227
%%T%%/lib/parboiled-core-1.3.1.jar
228
%%T%%/lib/parboiled-java-1.3.1.jar
229
%%T%%/lib/protocols-api-3.4.0.jar
230
%%T%%/lib/protocols-imap-3.4.0.jar
231
%%T%%/lib/protocols-lmtp-3.4.0.jar
232
%%T%%/lib/protocols-managesieve-3.4.0.jar
233
%%T%%/lib/protocols-netty-3.4.0.jar
234
%%T%%/lib/protocols-pop3-3.4.0.jar
235
%%T%%/lib/protocols-smtp-3.4.0.jar
236
%%T%%/lib/reactive-streams-1.0.2.jar
237
%%T%%/lib/reactor-core-3.2.11.RELEASE.jar
238
%%T%%/lib/scala-java8-compat_2.12-0.9.0.jar
239
%%T%%/lib/scala-library-2.12.8.jar
240
%%T%%/lib/serp-1.15.1.jar
241
%%T%%/lib/slf4j-api-1.7.30.jar
242
%%T%%/lib/spring-aop-3.2.18.RELEASE.jar
243
%%T%%/lib/spring-beans-3.2.18.RELEASE.jar
244
%%T%%/lib/spring-context-3.2.18.RELEASE.jar
245
%%T%%/lib/spring-core-3.2.18.RELEASE.jar
246
%%T%%/lib/spring-expression-5.1.6.RELEASE.jar
247
%%T%%/lib/spring-jdbc-3.2.18.RELEASE.jar
248
%%T%%/lib/spring-jms-3.2.18.RELEASE.jar
249
%%T%%/lib/spring-orm-3.2.18.RELEASE.jar
250
%%T%%/lib/spring-tx-3.2.18.RELEASE.jar
251
%%T%%/lib/spring-web-3.2.18.RELEASE.jar
252
%%T%%/lib/threeten-extra-1.5.0.jar
253
%%T%%/lib/throwing-lambdas-0.5.0.jar
254
%%T%%/lib/xbean-asm7-shaded-4.12.jar
255
%%T%%/lib/xbean-spring-4.9.jar
256
%%T%%/log/.dummy
257
%%T%%/var/README.txt
258
%%T%%/var/mail/README.txt
259
%%T%%/var/store/README.txt
260

Return to bug 243859