Hello,

Thanks for your reply. My initial theory was that the attachment was being stripped out of the message before it got to Amavis, hence asking here on the Postfix list. I will ask on the Amavis list in that case.

Cheers,

Alex.

On 05/15/2012 08:21 PM, Jeroen Geilman wrote:
On 05/15/2012 06:11 PM, Alex Dyas wrote:
Hello,

Environment :
- Ubuntu - 10.04.3 LTS
- Postfix - 2.7.0-1ubuntu0.2
- Amavis - 1:2.6.4-1ubuntu5
- Spam Assassin - 3.3.1-1
- ClamAV - 0.96.5+dfsg-1ubuntu1.10.04.3

Symptoms - A couple of emails per day come through the system with empty attachments. They have the following line in their header:

X-Amavis-Alert: BAD HEADER SECTION, MIME error: error: part did not end with expected boundary

This is the postfix users mailing list; perhaps you should ask this on an amavisd-new related list.

- I have not been able to reproduce the problem myself
- Problematic mails re-sent often come through without problem, ie with the attachment - The offending mails generate ClamAV quarentine files, but even these don't contain the attachments - If I receive the same emails at a different account on an unrelated system I see the attachment perfectly well
- We see the same issue from a number of unrelated senders

Please see the welcome message you received when joining this list on how to receive help:

http://www.postfix.org/DEBUG_README.html#mail

Sample header (anonymised):

We'd need to see the output of postconf -n, and a relevant section of the mail log, at minimum.



--
Alex Dyas, Manager - Systems Administration
Tel: +41 22 348 30 15
www.linalis.com | twitter.com/linalis | www.linkedin.com/company/linalis

Expert en Services, Formation et Recrutement BI et Applications Web (CMS, CRM)
Partenaires certifies de Pentaho (BI), Jedox (Palo), Acquia (Drupal), SugarCRM 
et Infobright

Reply via email to