• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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 mail@domain.com < /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