s-nail warning messages were shown while using old-style mail command.

Solution Verified - Updated -

Issue

  • s-nail warning messages were shown while using old-style mail command.
# echo "TEST `date`" | mail -s "Test mail from RHEL9-01" -S mta=127.0.0.1:25 root@localhost
s-nail: Obsoletion warning: Use of old-style credentials, which will vanish in v15!
s-nail:   Please read the manual section "On URL syntax and credential lookup"
  • How to prevent warning messages from being sent when using the mail command in RHEL9.

Environment

  • Red Hat Enterprise Linux 9
  • s-nail
  • mail

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content