• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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