On 06/08/2011 07:50 PM, David Woodhouse wrote:
> On Wed, 2011-06-08 at 13:49 -0300, Patrick Boutilier wrote:
>>
>> #1 0x00002b2d3d98a92c in smtp_respond (code=0x2b2d3d9e8906 "550",
>> codelen=<value optimized out>, final=1, msg=0x0) at smtp_in.c:2045
>> esclen = 0
>> esc = 0x2b2d3da0413e ""
>> #2 0x00002b2d3d97adf5 in receive_msg (extract_recip=0) at receive.c:3739
>
> 3739: smtp_respond((fake_response == DEFER)? US"450" : US"550", 3, TRUE,
> 3740: fake_response_text);
>
> So fake_response_text is NULL. How?
>
> There are three places it's set in acl.c. Can you show your config and
> instrument all three of them? Either it's one of those, or something
> else scribbling on it...
>
This is the part of the "acl_smtp_data" that is causing the problem. But
not all messages that get fake rejected cause a segfault. What did you
mean by "instrument all three of them" ?
warn message=X-this-is-spam-to-put-in-folder:
condition = ${if >{$spam_score_int}{47}{1}{0}}
control = fakereject/"Message rejected because of a high SPAM score
$spam_score\n$spam_report"