Re: [exim] Local_Scan Question...

Top Page
Delete this message
Reply to this message
Author: Fred Viles
Date:  
To: exim-users
Subject: Re: [exim] Local_Scan Question...
On 19 Jan 2005 at 9:52, Philip Hazel wrote about
    "Re: [exim] Local_Scan Question...":


|...
| That there is no core is probably because Exim is a setuid binary.


Um, in the case of local_scan code, isn't it more likely because of
this? (from Ch 39):

Exim applies a timeout to calls of the local scan function, and there is an
option called "local_scan_timeout" for setting it. The default is 5 minutes.
Zero means 'no timeout'. Exim also sets up signal handlers for SIGSEGV,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SIGILL, SIGFPE, and SIGBUS before calling the local scan function, so that the
most common types of crash are caught. If the timeout is exceeded or one of
those signals is caught, the incoming message is rejected with a temporary
error if it is an SMTP message. For a non-SMTP message, the message is dropped
and Exim ends with a non-zero code. The incident is logged on the main and
reject logs.


- Fred