On 7/10/09 2:37 PM, Mark Martinec wrote:
> Mike,
>
>> I saw this today in the logs:
>>
>> Jul  9 02:09:27 glacier amavis[17707]: (17707-13) LMTP::10024
>> /var/amavis/tmp/amavis-20090708T235357-17707:
>> <bugzilla-dae...@mozilla.org>  ->  <m...@cappella.us>  SIZE=2909 Received:
>> from glacier.mikecappella.com ([127.0.0.1]) by localhost
>> (glacier.mikecappella.com [127.0.0.1]) (amavisd-new, port 10024) with
>> LMTP for<m...@cappella.us>; Thu,  9 Jul 2009 02:09:27 -0700 (PDT)
>> Jul  9 02:09:27 glacier amavis[17707]: (17707-13) Checking: D4HKAqV2JfxO
>> [63.245.208.146]<bugzilla-dae...@mozilla.org>  ->  <m...@cappella.us>
>> Jul  9 02:09:27 glacier amavis[17707]: (17707-13) p001 1 Content-Type:
>> text/plain, size: 1241 B, name:
>> Jul  9 02:09:27 glacier amavis[17707]: (17707-13) Error reading mail
>> header section: Bad file descriptor
>>
>> which seems like it came from from:
>>
>>      $!==0  or   # returning EBADF at EOF is a perl bug
>>        $!==EBADF ? do_log(0,"Error reading mail header section: $!")
>>
>>                  : die "Error reading mail header section: $!";
>>
>> in inspect_a_bounce_message().  The message was not a bounce message (it
>> came from the mozilla bugzilla mailing list).
>>
>> So, the question is: did amavis mis-interpret the content?  This is the
>> first time I've have seen this error.
>
>> did amavis mis-interpret the content?
>
> Probably not. See 'sub inspect_a_bounce_message'. Apart from recognizing
> standard notifications, it tries to guess on some other auto-notification
> nonstandard forms. Perhaps the 'From' was a 'postmaster'?
 >
 >    Mark
 >

I finally received another that trigger the message.

The From header wasn't postmaster, but the message was a single part, 
auto-notification message, containing header:

     Auto-Submitted: auto-generated

which sets triggered is_auto.

I duplicated the code segment that detected the error condition, and fed 
it the single-part mail message but was unable to reproduce the error. 
There's probably something I'm not doing correctly to reproduce/simulate.

I suppose the real question I had, since the error is output at log 
level 0, was about whether it is of concern, and understanding what is 
triggering it.

I can forward the message offlist.

Thanks,
Mike

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to