Articles in this section

Emails sent to a Plesk server are deferred: Unable to read message content

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

All inbound emails are deferred by Postfix. The following messages appear in /var/log/maillog.

CONFIG_TEXT: status=deferred (Unable to read message content )
...
postfix-local: cannot create temporary file - (30) Read-only file system

Cause

Postfix is installed from OS vendor repository:

# rpm -qi postfix | grep Packager
Packager : CentOS Buildsys bugs@centos.org

Resolution

  1. Connect to the Plesk server via SSH.

  2. Open the file /usr/lib/systemd/system/postfix.service in a text editor. In this example, we are using the vi editor:

    # vi /usr/lib/systemd/system/postfix.service

  3. Comment the following lines out by placing a # (hash) character at the beginning of the line:

    CONFIG_TEXT: #PrivateTmp=true
    #CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE
    #ProtectSystem=true
    #PrivateDevices=true

  4. Save the changes and close the file.

  5. Reload systemd unit file:

    # systemctl daemon-reload

  6. Restart the Postfix service:

    # systemctl restart postfix

Was this article helpful?

Comments

1 comment
Date Votes
  • This happened on a fresh almalinux 10 again.

    Product version: Plesk Obsidian 18.0.73.3

         OS version: AlmaLinux 10.0 x86_64

         Build date: 2025/10/09 17:00

           Revision: 02428526e4b72b7901f6fba310b46fb9d07c2990

     

     

    0

Please sign in to leave a comment.