[
https://issues.apache.org/jira/browse/JAMES-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569939#comment-16569939
]
John Bester commented on JAMES-2515:
------------------------------------
Found the problem - this one is on me. There was duplicate remotereceivedheader
elements lower down in the configuration I did not see. So my element name with
camel caps was not interpreted and it caused james not to start when I changed
it to all lower case. Emails are now downloaded.
> Fetchmail rejects messages
> --------------------------
>
> Key: JAMES-2515
> URL: https://issues.apache.org/jira/browse/JAMES-2515
> Project: James Server
> Issue Type: Bug
> Components: FetchMail
> Affects Versions: 3.0.1
> Environment: Ubuntu Server 18.04
> Java 1.8.0_171
> Reporter: John Bester
> Priority: Major
>
> Some emails are rejected by FetchMail and there seems to be no way around
> this. In the fetchmail logs, the following type of error can be found
> repeatedly:
> INFO | Rejected mail with an invalid Received: header at index 1. Message ID:
> <...>. Flags: Seen = false, Delete = false.
> INFO | Ignoring recipient header. Using configured recipient as new envelope
> recipient: <email@address>. Message ID: <...>. Flags: Seen = false, Delete =
> false.
> I need an urgent workaround to force emails to be downloaded in cases like
> this. Emails that seems perfectly ok in webmail are not downloaded.
> From a web search I found the following possible solution, but it does not
> work for me:
> <fetchmail ...>
> <fetch ...>
> <remoteReceivedHeader index="1" reject="false" leaveonserver="true"
> markseen="true"/>
> </fetch>
> </fetchmail>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]