Hello Xavier.

Xavier Maillard wrote in
 <[email protected]>:
 |Another day, other questions.
 |
 |I have defined an alias (in fact it was you, Stefen ;)) to send an \
 |email to mailx mailing list.
 |
 |I just did: m mailx
 |
 |I typed my mail and sent it.
 |
 |I got a message informing me that the mail could not reach the ML (it \
 |just expanded to [email protected]).
 |
 |How am I supposed to use aliases ?

I have an alias

  alias mailx [email protected]

and when i type "m mailx:

  $ mailx -R -Snorecord -Smta=test -X'alias mailx [email protected]'
  mailx version v14.9.25.  Type `?' for help
...
  ? m mailx
  Subject: test
...
  "/tmp/mailx-edbasebydtKd" 5L, 140B written
  (continue)
  !.
  mailx: Program too old: on-compose-leave
  mailx: exit: delayed until compose mode is left
  From steffen Wed Apr  9 19:23:02 2025
  Date: Wed, 09 Apr 2025 19:23:02 +0200
  To: [email protected]
  Subject: test
  User-Agent: mailx v14.9.25

then this expands to the alias.  So it should work.
What does the MUA say when you type "alias" on the prompt?

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to