Greylisting does not work with an error: Unable to check message

Created:

2016-11-16 12:52:23 UTC

Modified:

2017-08-16 16:26:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Greylisting does not work with an error: Unable to check message

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux

Symptoms

  1. Greylisting does not work with the following errors in /var/log/maillog :

    <date> <hostname> greylisting filter[11703]: Unable to create regexp for bounce-1402729_html-965978533-21567814-75073-11804@example.com. Buffer too short
    <date> <hostname> greylisting filter[11703]: Unable to get data database after selection query: unknown error
    <date> <hostname> greylisting filter[11703]: Unable to get GL status for remote hostname.
    <date> <hostname> greylisting filter[11703]: Unable to check message
    <date> <hostname> greylisting filter[11714]: Starting greylisting filter...

    OR

    greylisting filter[25899]: Unable to prepare SQL statement for query 'SELECT blockedCount, passCount, creationTime, lastUpdate, greyExpires FROM data WHERE remoteIP=? AND mailFrom=? AND rcptTo=? LIMIT 1': no such table: data
  2. Messages remain undelivered

Cause

Greylisting handler corruption.

Resolution

Rebuild greylisting configuration using mchk utility:

# /usr/local/psa/admin/sbin/mchk --with-spam
Have more questions? Submit a request
Please sign in to leave a comment.