STDIN discarded when using -A to attach a file
Bug #1838461 reported by
Tim Bishop
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mailutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
mail discards STDIN when using -A to attach a file. For example:
echo "My message body." | mail -s "Hello!" -A /some/data <email address hidden>
The file /some/data is attached, but the message body is discarded.
This is at least broken on 18.04.
Debian has fixed this bug and it has been fixed upstream. I expect their patch can be used:
summary: |
- STDIN discard when using -A to attach a file + STDIN discarded when using -A to attach a file |
To post a comment you must log in.
This is indeed still a bug, which i have tested in versions 3.5, 3.6 and 3.8. /savannah. gnu.org/ bugs/index. php?54992
I reported this bug again on https:/
Only NOW it was fixed with the patch on this comment https:/ /savannah. gnu.org/ bugs/index. php?54992# comment9
This patch was applied to v3.8 and confirmed working.
Please can you apply this fix to the repo's of Ubuntu 18.04?
This is actually a major bug when attaching files.