I would appreciate knowing whether the exiwhat utility is working for someone
who has built Exim 3.31 under RedHat Linux 7.1 (preferably updated with the
current RH update CD for 7.1).
It appears to me that for this platform, the wrong value of
EXIWHAT_EGREP_ARG
is being selected.
To make exiwhat work, I just had to modify the egrep_arg variable by
changing this line
egrep_arg='/exim( |$)'
to
egrep_arg='exim( |$)'
(dropping the /.) The major platform-dependent forms of this value seem to
differ by the presence or absence of the /.
We seem to be building the i386 variant on our Intel-based HP machine. We
haven't had this issue in RedHat versions prior to 7.1.
After that edit (and with a few handy debugging echos added), I now get a
sensible result from exiwhat:
# ./exiwhat
log is /var/local/exim/spool/exim-process.info
exim_path is /usr/local/bin/exim/exim
config is /config/current/thisServer/exim/exim.conf
ps_cmd is /bin/ps
ps_arg is ax
egrep_arg is exim( |$)
kill_arg is -USR1
17834 daemon: -q15m, listening on port 25
As built, the exiwhat outcome was the error near the bottom of the script
(only the daemon process is running in each test)
# ./exiwhat
No exim process data
[I don't remember seeing this issue...the list archive searching seems
rather broken at the moment.]
--John
--
John Baxter jwblist@??? Port Ludlow, WA, USA