• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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