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

Closed
aka7 opened this issue Dec 20, 2023 · 0 comments · Fixed by #345
Closed

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

aka7 opened this issue Dec 20, 2023 · 0 comments · Fixed by #345
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants