mailchk bug
Submitted by saurabh on Mon, 2006-09-18 15:22
- There had been a problem eariler at AZB wherein the mailchk script deployed at mumbai location had tried to restart mfilter i.e. stop it and start it again.
- Mfilter was stopped but it could not be started
- Mfilter is killed by mailchk executing command
kill -9 /etc/init.d/mfilter
and started by mailchk executing command
$rcmfilter start.
- The value of this variable $rcmfilter is "/etc/init.d/mfilterd" instead of "/etc/init.d/mfilter" and hence mfilter was killed but could not be started.
- The fix for the same has to be deployed across all locations on which mailchk was put up.
- HOW TO FIX THIS
- Log on the server where mailchk script has been deployed
- cd /usr/local/lib/mailcheck/conf/
- mkdir RCS
- ci -l mailcheck.conf
- Please remember that you have already taken a backup of the configuration file so that we can revert back to it when the need arises. For your information, a file checked into RCS is checked out by
co -l- vi mailcheck.conf
- search for word rcmfilter
- The line will be of type
rcmfilter='/etc/init.d/mfilterd'- Change this line to
rcmfilter='/etc/init.d/mfilter'- Save and quit.
»
- Login to post comments
- Printer-friendly version
- Send to friend