james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-2372) Multiple accounts for a fetch mail entry are not taken into account
Date Mon, 16 Apr 2018 03:18:00 GMT

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

Tellier Benoit updated JAMES-2372:
    Labels: bug easy-fix newbie  (was: )

> Multiple accounts for a fetch mail entry are not taken into account
> -------------------------------------------------------------------
>                 Key: JAMES-2372
>                 URL: https://issues.apache.org/jira/browse/JAMES-2372
>             Project: James Server
>          Issue Type: Bug
>          Components: configuration, FetchMail
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: bug, easy-fix, newbie
> As reported on Gitter by @viuha8 , the fetch mail account entries are ignored and the
first one is duplicated.
> A temporary work around is to create one <fetch> section per email account (leading
to wasting resources as it launches several fetchmail deamons).
> This buggy behaviour seems to be due to a bad, out of loop variable incrementation:
> I believe the issue lies down in **server/protocols/fetchmail/src/main/java/org/apache/james/fetchmail/FetchMail.java**
l.  425 -> 455
> A `i` variable is used in order to iterate the entries but this `i` variable is never
incremented (as it is incremented outside of the loop).
> We need to write simple configuration tests, then fix this issue.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message