On Fri, 13 Mar 1998, Paul Mansfield wrote:
> Date: Fri, 13 Mar 1998 17:58:38 +0000 (GMT)
> From: Paul Mansfield <paulm@???>
> To: djc@???
> Subject: Re: [EXIM] What about setproctitle?
>
> On Fri, 13 Mar 1998, Dave C. wrote:
>
> > First off, I it sounds like you handle a lot more mail than we do.
> > Second, I had just restarted exim becuase it died because it was unable
> > to write the processlog. There are normally up to ten or fifteen
> > running....
>
> tongue was in cheek :-)
Understood.. FYI, I have found and managed a work-around for my problem
of exim not having permission to write the processlog.
---------------------------------------------------------------------
David J. Chiodo \ Microwave Systems \ Campbell Network Systems
<djc@???> <davec@???> \ 820 Monroe NW Ste 411
Domain Administrator <dns@???> \ Grand Rapids MI 49503
Customer Support <support@???> \ 616-774-3131 <info@???>
Fax 616-774-3933 Tollfree 1-888-694-INET http://www.cns.net
*** exiwhat.orig Fri Mar 13 12:57:38 1998
--- exiwhat Fri Mar 13 12:56:44 1998
***************
*** 56,71 ****
--- 56,76 ----
# Now do the job.
/bin/rm -f ${log}
if [ -f ${log} ]; then
echo "** Failed to remove ${log}"
exit 1
fi
+ exim_user=`grep '^[ ]*exim_user' $config | sed 's/.*=[ ]*//'`
+
+ touch ${log}
+
+ chown ${exim_user} ${log}
ps $ps_arg | egrep "$egrep_arg" | cut -c1-6 | sed -e "s/^/kill $kill_arg /" | sh
sleep 1
if [ ! -s ${log} ] ; then echo "No exim process data" ;
else cut -c20-999 ${log} ; fi