On 30 Sep 2009, at 11:44, thomy@??? wrote:
>
>> As a follow-up to my previous question. How does one go about
>> creating a filter that would match all bounce messages?
>>
>> I have tried:
>>
>> if error_message then
>> seen save /nm_var/bounces/
>> endif
> why not look for x-failed-recipients in the header?
That's a brilliant idea, thank you. I'll try that out post haste.
For the moment, checking that the return path contains my server name
appears to work, but obviously isn't going to be correct in all
cases. Yours is a much better solution.
Thanks
Ed