Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for s-nail (mailx replacement) syntax on el9 #342

Open
aka7 opened this issue Dec 20, 2023 · 0 comments
Open

support for s-nail (mailx replacement) syntax on el9 #342

aka7 opened this issue Dec 20, 2023 · 0 comments
Milestone

Comments

@aka7
Copy link

aka7 commented Dec 20, 2023

mailx pkg is no loner available on rhel9. its been replaced with s-nail, however its syntax is different.
therefore following syntax is no longer valid which is generated by aii.

env MAILRC=/dev/null from=root\@$fqdn $mailx_smtp mailx -s "\\\$subject" $rootmail

as a result failure email does not work. provide support for new format.

quick test check on cli suggests following may work

env MAILRC=/dev/null mailx -:/ -Sfrom=root@$fqdn -Smta=smtp://<smtp_address>:<port> -s "Boot record for uname -n" $rootmail

@jrha jrha added this to the 24.next milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants