#930712 mailutils: mail -A does not correctly attach files with space in the name

Package:
mailutils
Source:
mailutils
Description:
GNU mailutils utilities for handling mail
Submitter:
Jason Lewis
Date:
2026-06-30 17:51:00 UTC
Severity:
normal
Tags:
#930712#5
Date:
2019-06-19 05:27:36 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

ending an email with attachment from the command line using mail

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

touh some\ file.txt
echo "hello world" | mail -s "test from mailutils" your@emailaddress -A some\ file.txt

   * What was the outcome of this action?

email will have an attachment called "some"

   * What outcome did you expect instead?

email should have an attachment called "some file.txt"

This seems fixed in buster

*** End of the template - remove these template lines ***