s-nail warning messages were shown while using old-style mail command.
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
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.