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

Issue with sending mail to local mailboxes using web forms

izghitu

New Pleskian
FedoraCore 6
Plesk 8.1.1

Hi,

When using any web email from from my server to send an email to a mailbox from my server I get the following in the mail logs:
May 15 00:05:36 sage qmail-queue-handlers[29774]: cannot create temporary file - (13) Permission denied
May 15 00:05:36 sage qmail-queue-handlers[29774]: cannot read message from stdin

OR:
May 14 23:50:09 sage qmail-queue-handlers[27990]: cannot create temporary file - (13) Permission denied
May 14 23:50:09 sage qmail-queue-handlers[27990]: cannot read message from stdin
May 14 23:50:09 sage qmail-queue[27989]: files: write buf 0xbfe46820[164] to fd (5) error - (32) Broken pipe
May 14 23:50:09 sage qmail-queue[27989]: files: cannot write chuck from 4 to 5 - (32) Broken pipe
May 14 23:50:09 sage qmail-queue[27989]: files: cannot write file /var/drweb/spool/drweb.tmp.U1sjEK to 5
May 14 23:50:09 sage qmail-queue[27989]: mailsend: cannot write message from file to submitter /var/qmail/bin/qmail-queue.origin
May 14 23:50:09 sage qmail-queue[27989]: starter: submitter[27990] with error code 54
May 14 23:50:09 sage qmail-queue[27989]: mailsend: wait for submitter failed
May 14 23:50:09 sage qmail-queue[27989]: cannot reinject message to mail system

Note: When I send mail from my server to a mailbox on my server in any other way(IMAP client, SMTP client, sendmail [email protected] < /dev/null) it works fine.

The issue is NOT related to what is described here:
http://forum.swsoft.com/showthread.php?threadid=17360&perpage=15&pagenumber=1

Please help

Thanks
 
We have the same problem

We have the same problem.

Also Fedora Core 6, Also Plesk 8.1.1

May 25 16:46:01 plesk3 qmail-queue-handlers[14646]: cannot create temporary file - (13) Permission denied
May 25 16:46:01 plesk3 qmail-queue-handlers[14646]: cannot read message from stdin


In /var/log/messages we get:

May 25 16:46:51 plesk3 kernel: audit(1180108011.213:2546): avc: denied { write } for pid=14725 comm="qmail-queue" name="spool" dev=sda1 ino=44138821 scontext=user_u:system_r:system_mail_t:s0 tcontext=user_u:eek:bject_r:var_t:s0 tclass=dir
 
Problem solved - well, sort of

I had an engineer look at the server, and it seems that the problem was caused by "SELINUX" which was installed before, but doing a "yum update" on things like Apache and BIND, modified it in some way which prevented permission being given to CGI scripts which sent emails. We've done a "setenforce=Permissive", which effectively disables it. Not sure if this would also affect PHP scripts. Also, not sure what side-effects this might have on the reset of the server - so far, so good.
 
I had this same problem. I fixed it running shell command # /usr/sbin/setenforce permissive

/var/log/messages:
Jun 21 14:06:35 tetrahost kernel: audit(1182398795.156:4389): avc: denied { read } for pid=6339 comm="sendmail" name="[494491]" dev=eventpollfs ino=49449$
Jun 21 14:06:35 tetrahost kernel: audit(1182398795.162:4390): avc: denied { write } for pid=6340 comm="qmail-queue" name="spool" dev=dm-0 ino=4023872 sco$


/usr/local/psa/var/log/maillog
Jun 21 14:00:28 tetrahost qmail-queue-handlers[6295]: cannot create temporary file - (13) Permission denied
Jun 21 14:00:28 tetrahost qmail-queue-handlers[6295]: cannot read message from stdin

System:
Fedora Core 6
Plesk 8.1.1
selinux-policy-2.4.6-74.fc6
selinux-policy-targeted-2.4.6-74.fc6.
 
Back
Top