If your smtp daemon is unstable, you are
experiencing random smtp restarts or unresponsive smtp you might use
this workaround. The workaround consists in replacing smtp daemon with
the older version of smtp from version 9.4.3.
Before that please backup these files:
smtpscripts/inc/daemonlib.shicewarp.sh
- stop IceWarp services:
/opt/icewarp/icewarpd.sh --stop
- download the 9.4.3 smtp daemon
- extract 9.4.3 smtp daemon to IceWarp install folder:
tar
-xzf smtp-9.4.3-10.tar.gz -C /opt/icewarp
- modify file
-
replace this line:
with these lines:
#for SMTP from 9.4.3
export MERAKDIR=$IWS_INSTALL_DIR
"${IWS_INSTALL_DIR}/${DAEMON}" "--user=$(id -u
${IWS_PROCESS_USER})" "--group=$(id -g ${IWS_PROCESS_USER})"
"--installdir=${IWS_INSTALL_DIR}" "--noservices" &> /dev/null
- modify file
icewarpd.sh - before line:
-
"${IWS_INSTALL_DIR}/icewarpd" $*
add these 2 lines:
-
start services:
/opt/icewarp/icewarpd.sh --start