Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644886 - mail-client/mailx- breaks ancient uuencode attachment possibility
Summary: mail-client/mailx- breaks ancient uuencode attachment possibility
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2018-01-17 20:44 UTC by Toralf Förster
Modified: 2019-03-26 20:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-01-17 20:44:01 UTC
With the stable mailx this workes:

    (echo -e "text1\ntext2\n"; echo "baz" | uuencode x.txt) | mail -s subject mail@domain

But with the unstable Thunderbird doesn't longer recognize the atatchment, instead it shows the uuencoded text inline. Adding "-a" helps, eg.:

    (echo -e "text1\ntext2\n"; echo "baz" | uuencode x.txt) | mail -s subject mail@domain -a ''

but that has the ugly side effect, that now the (unwanted) 3 SMTP-header lines are part of the body:

    MIME-Version: 1.0
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: 8bit

Is there any chance to suppress the 3 additional header lines ?
Comment 1 Sylvain CANOINE 2018-05-06 10:37:29 UTC
mail-client/mailx- is stable now ( Is there a workaround ?
Comment 2 Toralf Förster gentoo-dev 2018-05-06 10:51:31 UTC
(In reply to Sylvain CANOINE from comment #1)
a quick&dirty is to add
    -a ""
to the mailx command line. This yields into 3 additional lines in the mail body but at least thunderbird here detects now those attachements again.