Re: [exim] Behaviour change in 4.83?

Góra strony
Delete this message
Reply to this message
Autor: George Klein
Data:  
Dla: exim-users
Temat: Re: [exim] Behaviour change in 4.83?
On 30/07/14 14:24, Jeremy Harris wrote:
> On 30/07/14 11:46, George wrote:
>>
>> On 30/07/14 11:19, Graeme Fowler wrote:
>>> On Tue, 2014-07-29 at 16:09 +0100, George wrote:
>>>> I've noticed that my mime checking is not working as expected since I
>>>> upgraded from 4.82.1 to 4.83 (on Arch Linux if that is significant).
>>>>
>>>> Starting to try and work out why, I've logged $mime_filename for all
>>>> attachments. I see that it is now quoted but looking back through
>>>> older
>>>> logs, it wasn't before.
>>>>
>>>> I can't see anything relevant in the changelog so I see 3
>>>> possibilities:
>>>
>>> I think this might be your answer, from doc/Changelog:
>>>
>>> JH/28 Fix parsing of MIME headers for parameters with quoted semicolons.
>>>
>>> http://git.exim.org/exim.git/commitdiff/1bd0d12bcbf4f51bd78c60d5bae01f1ff38c5a84
>>>
>>>
>>>
>>> Graeme
>>>
>>>
>> I did see that but I don't think that's the same issue, unless it's a
>> side-effect, as there are no quoted characters involved. I've looked
>> further into this and with a test email I see the following:
>>
>> logging $mime_decoded_filename - "test.zip"
>>
>> changing my exim config to cope with the quotes, passing
>> $mime_decoded_filename to my checking script and then logging $1 -
>> /var/spool/exim/scan/1XCP7U-00009C-8d/"test.zip"
>
> Can you pull the relevant header line out of the mail item?


Not sure which of these, so here are both:

Content-Type: application/zip; name="test.zip"
Content-Disposition: attachment; filename="test.zip"

Seeing the quotes and Graeme's pointer to the semicolon change, I have
already gone back and checked older emails which are similar.

George.