Bug 57422 - /bin/mail not expanding multiple aliases on command line
/bin/mail not expanding multiple aliases on command line
Product: Red Hat Linux
Classification: Retired
Component: mailx (Show other bugs)
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Ivana Varekova
Depends On:
  Show dependency treegraph
Reported: 2001-12-11 21:56 EST by Robert M. Riches Jr.
Modified: 2007-04-18 12:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-04 07:40:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert M. Riches Jr. 2001-12-11 21:56:45 EST
Description of Problem:
When using /bin/mail to send messages, putting multiple
comma-separated personal aliases (defined in .mailrc) as
to-addr fails in the shell command.  This contrasts with
putting multiple comma-separated aliases at the '&' prompt,
putting a single alias in either the shell command or at
the '&' prompt.

Version-Release number of selected component (if applicable):

How Reproducible:
fully reproducible

Steps to Reproduce:
1. at shell prompt, type "mail <alias1>,<alias2>" where <alias1> and
   <alias2> are each defined as aliases in the .mailrc file.

Actual Results:
A "User unknown" error message for each of the aliases.

Expected Results:
The message should be sent to the expansion of the aliases, which is
what happens when typing the same command at the '&' prompt inside

Additional Information:
Comment 1 Ivana Varekova 2004-11-04 07:40:10 EST
Thank you for your notice.
If you want to mail to two aliases use command 
mail <alias1> <alias2>
where aliases are separated by spaces.

Note You need to log in before you can comment on or make changes to this bug.