07 Sep 2010 
Support Center » Knowledgebase » Linux v10.x SMTP problems
 Linux v10.x SMTP problems
Solution

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:

  • smtp
  • scripts/inc/daemonlib.sh
  • icewarp.sh
  1. stop IceWarp services:

    /opt/icewarp/icewarpd.sh --stop

  2. download the 9.4.3 smtp daemon
  3. extract 9.4.3 smtp daemon to IceWarp install folder:

    tar -xzf smtp-9.4.3-10.tar.gz -C /opt/icewarp

  4. modify file - replace this line:
    • "${IWS_INSTALL_DIR}/${DAEMON}" "--installdir=${IWS_INSTALL_DIR}" &> /dev/null

    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

  5. modify file icewarpd.sh - before line:

       

    • "${IWS_INSTALL_DIR}/icewarpd" $*
    •  

  6. add these 2 lines:

       

    • #for SMTP from 9.4.3

    • export MERAKDIR=$IWS_INSTALL_DIR

  7. start services:

    /opt/icewarp/icewarpd.sh --start



Article Details
Article ID: 171
Created On: 19 Jul 2010 04:21 PM

 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | News
Language:

Help Desk Software By Kayako SupportSuite v3.04.10