RFE: SELinux boolean to allow tomcat_t to send mail

Solution Verified - Updated -

Issue

Currently, creating a custom policy or turning on the nis_enabled boolean is required to grant tomcat_t the permission to send mails. This update can add e. g. the tomcat_can_sendmail SELinux boolean to the SELinux policy. Enabling such a boolean would permit tomcat_t to name_connect to smtp_port_t.

Environment

Red Hat Enterprise Linux 7
selinux-policy-3.13.1-192.el7_5.3.noarch

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