Re: SA-exim 4.0 crashes on discard

John Horne <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Organization University of Plymouth
Message-ID <[email protected]>
On Fri, 2004-03-26 at 13:18, Sander Smeenk wrote:
> Quoting John Horne ([email protected]):
> 
> > > 2004-03-26 10:22:13 1B6oTd-00066Y-Lr local_scan() function crashed with
> > > signal 11 - message temporarily rejected (size 736)
> > I modified sa-exim. to simply say (at line 721):
> >    /* Initialize the list of recipients here */
> >         if (recipients_count == 0) {
> >                 return LOCAL_SCAN_ACCEPT;
> 
> Hmm. Isn't this an exim bug, rather than a sa-exim bug?
> 
> I mean, if the message has been disgarded, what is the use of passing it
> to local_scan() in the first place?
> 
Because local_scan may create recipients. However, in our case we don't
so the patch above works, but it obviously won't work for everyone. The
point is that some check needs to occur because it is valid to send a
message to local_scan with no recipients on the basis that it may create
some.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: [email protected]       Fax: +44 (0)1752 233839
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.