Tellier Benoit created JAMES-2372:

             Summary: Multiple accounts for a fetch mail entry are not taken 
into account
                 Key: JAMES-2372
             Project: James Server
          Issue Type: Bug
          Components: configuration, FetchMail
            Reporter: Tellier Benoit

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 

I believe the issue lies down in 
 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:
For additional commands, e-mail:

Reply via email to