Changeset 146
- Timestamp:
- 04/29/06 14:00:04 (3 years ago)
- Files:
-
- trunk/jsmtpd/CHANGELOG (modified) (2 diffs)
- trunk/jsmtpd/jsmtpd.sh (moved) (moved from trunk/jsmtpd/startup.sh) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/jsmtpd/CHANGELOG
r130 r146 1 Version ()1 Version 0.6a 2 2 Simplified plugin loader code + long type support 3 3 Changed the way to handle silent smtp extension 4 4 LMTP dummy plugin (it's a modified smtp sender) 5 Maildir delivery plugin ( untested !)5 Maildir delivery plugin (experimental, tested with solid-pop3d) 6 6 Generic memory cache 7 7 Cache in RBL plugin. 8 8 Bugg fix in dns resolver 9 Debug mode in linux startup script to attach a debugger10 9 SPF plugin (not in distribution, on svn repository) 11 10 Fix in ldap plugins (close cnx + vdomain fix) 12 Moved to commons loggin 11 Moved to commons logging 13 12 To Test: Removed Sun's Javamail implementation, replaced with https://sourceforge.net/projects/tjmail/ (LGPL) 14 13 -> Seems to be a modified gnu classpath impl ? … … 16 15 Added GrowableThreadPool (Jsmtpd will no longer keep so much unused threads). This also needs testing ! 17 16 Refactored DeliveryService to QueueService (just a name change as someone suggested). 18 17 Linux startup script changed (start foreground, background, attach a remote jvm debug port). 19 18 20 19 Version 0.5b (Fafnir, maintenance) trunk/jsmtpd/jsmtpd.sh
r112 r146 1 #!/bin/sh -e 2 #-XX:+PrintGCDetails -XX:+PrintGCTimeStamps 1 #!/bin/sh 2 3 export JSMTPD_DIR=`dirname "$0"`; 4 JAVA_OPTS="-Xmx512m" 5 6 CDIR=`pwd` 7 8 cd $JSMTPD_DIR 9 10 if [ -z "$1" ] ; then 11 echo "Usage: jsmtpd.sh option"; 12 echo "jsmtpd.sh debug : run attached with debug port (8000) enabled"; 13 echo "jsmtpd.sh run : run attached"; 14 echo "jsmtpd.sh start : run jsmtpd as daemon process" 15 echo "jsmtpd.sh stop : stop previously started jsmtpd as daemon "; 16 exit 0; 17 fi 18 3 19 CP=.:etc/ 4 20 … … 21 37 CP=$CP:plugins/inputIPFilters/jsmtpd-inputIPFilters.jar 22 38 23 JAVA_OPTS="-Xmx512m"24 39 25 40 if [ "$1" = "debug" ] ; then 26 JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"41 JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" 27 42 fi 28 43 29 exec java $JAVA_OPTS -cp $CP org.jsmtpd.Launcher 44 45 if [ "$1" = "run" ] ; then 46 echo "Starting jsmtpd (attached)"; 47 exec java $JAVA_OPTS -cp $CP org.jsmtpd.Launcher 48 cd $CDIR 49 exit 0; 50 fi 51 52 53 if [ "$1" = "start" ] ; then 54 if [ -f $JSMTPD_DIR/jsmtpd.pid ] ; then 55 echo "Can't start Jsmtpd, there is pid file indicating it should already be running"; 56 echo "Use jsmtpd stop first"; 57 cd $CDIR 58 exit 0 59 fi 60 echo "Starting jsmtpd (daemon)"; 61 exec java $JAVA_OPTS -cp $CP org.jsmtpd.Launcher 2>&1 > /dev/null & 62 echo $! > $JSMTPD_DIR/jsmtpd.pid 63 echo "JVM pid is $!"; 64 echo "Log file should be $JSMTPD_DIR/log/jsmtpd.log"; 65 cd $CDIR 66 exit 0; 67 fi 68 69 if [ "$1" == "stop" ] ; then 70 if [ -f $JSMTPD_DIR/jsmtpd.pid ] ; then 71 echo "Stopping Jsmtpd"; 72 PID=`cat $JSMTPD_DIR/jsmtpd.pid`; 73 rm "$JSMTPD_DIR/jsmtpd.pid" 74 kill $PID 75 cd $CDIR 76 exit 0; 77 else 78 echo "No pid file ? Is jsmtpd running ?"; 79 cd $CDIR 80 exit 0; 81 fi 82 fi 83
