• 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.

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