Search Engine: Elastic

Article ID: 128079, created on Jan 17, 2016, last review on May 28, 2016

  • Applies to:
  • Plesk Automation 11.5


Cannot view the mail queue in the PA Provider Panel at Infrastructure > Service Nodes > mail node > Mail Server Settings > Mail Queue. One of the following errors is displayed:

    Internal error:
    File JsonRpc.php
    Line 117
    Type Service_Agent_Exception


    Internal error:
    File JsonRpc.php
    Line 120
    Type Service_Agent_Exception


The mail queue contains an email which has a non-unicode and non-latin characters in the subject field. This behavior is considered as a software issue PPA-3055. The fix is planned to be included in one of the next PA updates.


(Re)move the problem email from the mail queue. The messages are stored in /var/spool/postfix/deferred/.

To find an ID of the message that has to be removed, execute the command on the mail node:

# /usr/local/psa/admin/bin/mailqueuemng --queue DHIAC -P1 -C25 -s

EFA421085 (E, D)
  Return-path: Eletr▒nica <
  From: Eletr▒nica
  To: info@recipient.tld
  Subject: Eletr▒nica n▒mero 044121
  Date: Mon,  4 Jan 2016 21:12:18 +0100 (CET)
  Size: 7287
  Message-Id: <>
Timestamp: 1451935472
  Queue time: 1451935472
  Envelope Recipients (D): info@rcpt1.tld

As a result, the mail queue will be displayed. The message with unparsed symbols in its headers is most probably the one that causing the problem (see example above).

Use it's id to remove from the queue:

# postsuper -d EFA421085

NOTE: If there are lots of emails, it is not possible to define corrupted one and you have to move them selectively or all of them until the error disappear.

NOTE: You may clear the mail queue with the following command:

postsuper -d ALL

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF