On 5/30/2008 12:55 PM, John Jetmore wrote:
> On Fri, 30 May 2008, Gordon wrote:
>
>> I have an inside and outside mta.  The outside server succeeds the
>> inside server fails when executing this crontab command...
>
>> 5  5 * * * /usr/sbin/eximstats  -nr -nt  /var/log/exim/main.log.1
>
>> panic.log entry
>> 2008-05-29 05:05:04 1K1e4G-0007oa-7J Failed to create spool file
>> /var/spool/exim/input/G/1K1e4G-0007oa-7J-D: Permission denied
>
> make sure your exim binary is SUID.
I have this running in root crontab, would SUID apply?

I tried
03 14 * * * root  /usr/sbin/eximstats  -nr -nt  /var/log/exim/main.log.1

and got an additional log lin in /var/log/cron
May 30 14:03:01 mta-eye crond[7823]: (root) CMD (root 
/usr/sbin/eximstats  -nr -nt  /var/log/exim/main.log.1)
May 30 14:03:01 mta-eye crond[7822]: (root) MAIL (mailed 35 bytes of 
output but got status 0x0001 )

I also tried creating a crontab for user exim, no change.



-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to