Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
3.0.1
-
None
-
None
-
Ubuntu Server 18.04
Java 1.8.0_171
Description
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>