• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

sendmail not functioning - only works when disabling selinux

W

webcustoms

Guest
Hi Everyone,

I am running Red Hat ES4 PLSK 8.1

I have PERL scripts that use sendmail. I have the path set as /usr/sbin/sendmail -i -t. When I run one of the web scripts that sends mail, here is an example of what I get in the maillog:

Jun 23 14:22:20 forumexample qmail-queue[24442]: mail: all addreses are uncheckable - need to skip scanning (by deny mode)
Jun 23 14:22:20 forumexample qmail-queue[24442]: scan: the message(drweb.tmp.q131aW) sent by [email protected] to [email protected] should be passed without checks, because contains uncheckable addresses
Jun 23 14:22:20 forumexample qmail-queue-handlers[24443]: cannot create temporary file - (13) Permission denied
Jun 23 14:22:20 forumexample qmail-queue-handlers[24443]: cannot read message from stdin
Jun 23 14:22:20 forumexample qmail-queue[24442]: starter: submitter[24443] with error code 54
Jun 23 14:22:20 forumexample qmail-queue[24442]: mailsend: wait for submitter failed
Jun 23 14:22:20 forumexample qmail-queue[24442]: cannot reinject message to mail system

Now, when I disable selinux (Permissive) everything works fine.

Although I am not an expert at selinux or how to configure it, I get the feeling that disabling it on a permanent basis is a bad idea.

Where can I find information or how do I configure my box to run sendmail properly while keeping selinux in enforcing mode? Some of the stuff I turned up on google I am having trouble understanding.

Thanks,
Ray.
 
Back
Top