Re: Problems with downloads from hotmail

Ian Neal <[email protected]> Thu, 1 Jan 2026 14:00:17 +0000
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------C46C221BA7011067F7713915
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I've attached a trimmed down redacted version of one such email. 
Hopefully you can see it is at the top of the original message with the 
fetchmail rewrite above it.

Regards,

Ian

On 01/01/2026 1:10 pm, Matthias Andree wrote:
> Hi Ian,
>
> where exactly is the BOM? Can you show an example? Feel free to 
> replace any printable character by x to mask private information.
>
> POP3 and IMAP headers clearly are not UTF-8 or UTF-16 according to 
> standards, so a provider's inserting 0xFF or 0xFE characters is a 
> blatant violation of the protocol and I guess not just fetchmail will 
> have trouble with that.
>
>
> Am 31. Dezember 2025 18:09:15 UTC schrieb Ian Neal 
> <[email protected]>:
>
>     Hi, I currently use fetchmail 7.0.0-alpha13 running on Fedora 42
>     to pull emails down from hotmail with OAuth2 and delivery to my
>     local dovecot email server. Up until the last few weeks I've not
>     had any issues with downloading emails, but now I've started
>     having an issue where an <feff> character gets inserted just
>     before the start of the main header (so after the local part
>     inserted by fetchmail). My fetchmailrc file is along the lines of:
>     poll pop-mail.outlook.com proto POP3 port 995 auth oauthbearer
>     username "[email protected]" passwordfile "fetchmail-token" is
>     "user" here nokeep fetchall sslmode wrapped sslcertck Anyone got
>     any ideas/suggestions? Thanks, Ian
>     ------------------------------------------------------------------------
>     Fetchmail-users mailing list [email protected]
>     https://lists.sourceforge.net/lists/listinfo/fetchmail-users
>


--------------C46C221BA7011067F7713915
Content-Type: text/plain; charset=UTF-8;
 name="1234567Sd"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="1234567Sd"

UmV0dXJuLVBhdGg6IDx6enp6ekB1cGRhdGVzLndlc3RtaWRsYW5kc3JhaWx3YXkuY28udWs+
ClgtT3JpZ2luYWwtVG86IHVzZXJAbG9jYWxob3N0CkRlbGl2ZXJ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VSUDE5Mi5QUk9ELk9VVExPT0suQ09NICgyNjAzOjEwYTY6MTA6NDk0Ojox
NSkgd2l0aAogTWljcm9zb2Z0IFNNVFAgU2VydmVyICh2ZXJzaW9uPVRMUzFfMiwKIGNpcGhl
cj1UTFNfRUNESEVfUlNBX1dJVEhfQUVTXzI1Nl9HQ01fU0hBMzg0KSBpZCAxNS4yMC45NDc4
LjQ7IFRodSwgMSBKYW4KIDIwMjYgMTE6MDk6MzkgKzAwMDAKUmVjZWl2ZWQ6IGZyb20gVFky
UEVQRjAwMDBBQjhBLmFwY3ByZDAzLnByb2Qub3V0bG9vay5jb20KICgyNjAzOjEwOTY6NDA1
OjI6Y2FmZTo6YmQpIGJ5IFRZQ1BSMDFDQTAwNzEub3V0bG9vay5vZmZpY2UzNjUuY29tCiAo
MjYwMzoxMDk2OjQwNToyOjozNSkgd2l0aCBNaWNyb3NvZnQgU01UUCBTZXJ2ZXIgKHZlcnNp
b249VExTMV8zLAogY2lwaGVyPVRMU19BRVNfMjU2X0dDTV9TSEEzODQpIGlkIDE1LjIwLjk0
NzguNCB2aWEgRnJvbnRlbmQgVHJhbnNwb3J0OyBUaHUsIDEKIEphbiAyMDI2IDExOjA5OjM2
ICswMDAwCg==
--------------C46C221BA7011067F7713915
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--------------C46C221BA7011067F7713915
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users

--------------C46C221BA7011067F7713915--