Re: mailx and selinux not co-operating

2023-08-22 Thread Bhasker C V
For future reference There is another package mailutils which also provides /usr/bin/mail. This is working fine with selinux in enforcing mode. This is a good alternative On Mon, Aug 21, 2023 at 2:56 AM Bhasker C V wrote: > Thanks Nicholas > However, it doesnt to my knowledge looks like an

Re: mailx and selinux not co-operating

2023-08-20 Thread Bhasker C V
Thanks Nicholas However, it doesnt to my knowledge looks like an issue with mailx or sendmail (I use exim4). The reason i derive at at is because the whole thing works the moment i disable selinux. What i wonder is why selinux is not complaining about the failure ? No logs whatsoever ... On

Re: mailx and selinux not co-operating

2023-08-20 Thread Nicholas Geovanis
On Sun, Aug 20, 2023, 9:20 AM Bhasker C V wrote: > Finally i switched on the enforcing mode on my linux system > Pretty much everything is working except > > ``` > $ echo hello | mail -s test x...@yyy.xyz > 2023-08-20 14:39:30 1qXieQ-000Bpa-1P 1qXieQ-000Bpa-1P no recipients found > in headers >

mailx and selinux not co-operating

2023-08-20 Thread Bhasker C V
Finally i switched on the enforcing mode on my linux system Pretty much everything is working except ``` $ echo hello | mail -s test x...@yyy.xyz 2023-08-20 14:39:30 1qXieQ-000Bpa-1P 1qXieQ-000Bpa-1P no recipients found in headers Can't send mail: sendmail process failed with error code 1 ```