>If I forward to my iCloud account, it works. If I forward to my >Proton account wHat I get is an empty message with an attachment; the >attachment consisting of a string of numb...@eddie.fios-router data 8 KB > >I have stumbled upon the fact that if I use MH-E within emacs I >can forward in-line instead of as an attachment and that works. >Unfortunately, I can't seem to find how to use nmh to forward in-line.
What does "forward in-line" mean, exactly? "forw -mime" does not mark it as an attachment; technically, it does not put a disposition at all. It may be that Proton Mail sees a MIME message with a disposition header as an attachment (disposition headers are optional; in theory the MUA is allowed to do whatever it wants with it). I believe that if you modify the forw line with a disposition, the right thing will happen. That would look like this: #forw [forwarded message] {inline} ... rest of forw line >Finally, using dist to send to the iCloud account works. Using dist to >send to Proton fails with: > >Rejected due to unmatching envelope and header sender. Sigh, THAT is completely wrong in that Proton Mail isn't looking at the Resent-From header. You could add an Envelope-From header to set the Envelope from header to match the original message, but that will probably fail some other anti-spam feature. --Ken