• Filtering the entire email message

    From cjsmall@21:1/5 to All on Wed Jan 30 19:41:26 2019
    I'm finding an occasional message received from certain sources where the Microsoft Exchange server mangles some headers by joining the Content-Type: line to the preceding header line. This keeps mutt from properly parsing the content.

    I've written a filter utility to fix the problem, but I'm not sure how to force mutt to submit the entire email -- header and body -- to the filter and then resync the output. Is this possible, and if so, how?

    Thanks.
    --
    Jeff

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jorgen Grahn@21:1/5 to cjsmall on Thu Jan 31 20:27:42 2019
    On Thu, 2019-01-31, cjsmall wrote:
    I'm finding an occasional message received from certain sources
    where the Microsoft Exchange server mangles some headers by joining
    the Content-Type: line to the preceding header line. This keeps
    mutt from properly parsing the content.

    I've written a filter utility to fix the problem, but I'm not sure
    how to force mutt to submit the entire email -- header and body --
    to the filter and then resync the output. Is this possible, and if
    so, how?

    Sounds like something you'd want to fix as the mail enters the
    mailbox, rather than compensate for in a single MUA. Do you have any
    way to add filters at that point, or do you just have IMAP or similar
    access to the mailboxes?

    (Also, the sender needs to fix their Exchange server, unless they
    want to seem incompetent and arrogant.)

    /Jorgen

    --
    // Jorgen Grahn <grahn@ Oo o. . .
    \X/ snipabacken.se> O o .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)