• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Qmail & PHP mail issue

L

lxhicks4

Guest
I'm not able to send mail via the PHP mail() function.

/usr/local/psa/log/maillog shows:

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


/var/log/messages shows:

Date 11:43:36 web1 kernel: audit(1186505016.867:194262): avc: denied { execute } for pid=23286 comm="qmail-queue" name="ld.so.cache" dev=sda1 ino=6639376 scontext=root:system_r:system_mail_t tcontext=root:eek:bject_r:ld_so_cache_t tclass=file
Date 11:43:36 web1 kernel: audit(1186505016.875:194263): avc: denied { write } for pid=23287 comm="qmail-queue.ori" name="spool" dev=sda1 ino=24723597 scontext=root:system_r:system_mail_t tcontext=root:eek:bject_r:var_t tclass=dir


I tried the selinux policy updates process recommended in KB # 1002 but no luck?

Any suggestions?

Thanks
 
Unless you want to use SELinux, just disable it:

* Edit /etc/selinux/config

* Make sure the SELINUX line reads:
SELINUX=disabled

* save the file

* reboot
 
Back
Top