# Description # This script is supposed to start the James Mail server by killing # sendmail processes first and then changing the runlevels /usr/bin/james-2.1.1/bin/phoenix.sh stop for n in $(ps -el | awk -F" " '/sendmail/{print $4}'); do kill $n; done for n in $(ps -el | awk -F" " '/poprelayd/{print $4}'); do kill $n; done telinit 4 telinit 3 echo " Now you can check if james is running by typing telnet localhost 4555 or just james.manage"