You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/18 09:16:00 UTC

[jira] [Resolved] (CAMEL-17812) camel-mail - MaxMessagesPerPoll / FetchSize should ignore unfetchable mails

     [ https://issues.apache.org/jira/browse/CAMEL-17812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-17812.
---------------------------------
    Fix Version/s: 3.16.0
       Resolution: Fixed

> camel-mail - MaxMessagesPerPoll / FetchSize should ignore unfetchable mails
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-17812
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17812
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mail
>    Affects Versions: 3.15.0
>            Reporter: Manuel Shenavai
>            Priority: Minor
>             Fix For: 3.16.0
>
>
> Mailboxes can contain mails that can not be fetched and therefore can not be processed. These mails will not be processed but will be counted as part of the poll (MaxMessagesPerPoll / FetchSize). Unfetchable mails should not be part of the poll to avoid that message processing is blocked due to these mails.
>  
> Example for unfetchable mail:
>  - mails with attachments that have an empty name
>  
> Example Mail:
> Return-Path: <so...@mail.com>
> Received: from host.docker.internal ([xxx.xx.xx.xx])
> by smtp.somemail.com with ESMTPSA id gs18-20020a170906f19200b006d03cfb15e4sm1396942ejb.xxx.xxx.xxx.xx
> for <so...@mail.com>
> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
> Fri, 25 Feb 2022 11:55:31 -0800 (PST)
> Date: Fri, 25 Feb 2022 20:55:29 +0100 (CET)
> From: some@mail.com
> To: some@mail.com
> Message-ID: <51...@host.docker.internal>
> Subject: This is the mail subject
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="----=_Part_0_932607259.1645818929513"
> ------=_Part_0_932607259.1645818929513
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> This is the message body
> ------=_Part_0_932607259.1645818929513
> Content-Type: image/jpeg; name=""
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename=""
> ---{-}{{-}}{{-}}=_Part_0_932607259.1645818929513{{-}}\{-}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)