Article ID: 6800, created on Oct 22, 2009, last review on May 11, 2014

  • Applies to:
  • Plesk 9.2 for Linux/Unix
  • Plesk 9.0 for Linux/Unix

Symptoms

Emails from eBay will not come through because one of the default Greylisting patterns ("dsl|pool|broadband|hsd") excludes their mail servers. The following records are shown in the maillog:

/usr/local/psa/var/log/maillog
--->8---
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: Handlers Filter before-queue for qmail started ...
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: from=ebay@ebay.com
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: to=mail@domain.name
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: hook_dir = '/usr/local/psa/handlers/before-queue'
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: recipient[3] = 'mail@domain.name'
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: handlers dir 
= '/usr/local/psa/handlers/before-queue/recipient/mail@domain.name'
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: call_handlers: call executable = '/usr/local/psa/handlers/info/20-drweb-ngoJpC/executable'
Sep 21 21:02:05 panel qmail-queue[16385]: scan: the message(drweb.tmp.YGYsBB) sent by ebay@ebay.com to mail@domain.name is passed
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: handlers_stderr: PASS
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: call_handlers: PASS during call '/usr/local/psa/handlers/info/20-drweb-ngoJpC/executable' handler
Sep 21 21:02:05 panel qmail-queue-handlers[16384]: call_handlers: call executable = '/usr/local/psa/handlers/info/05-grey-INHFLI/executable'
Sep 21 21:02:05 panel greylisting filter[16386]: Starting greylisting filter...
Sep 21 21:02:05 panel greylisting filter[16386]: list type: black, from: mxpool01.ebay.com, match string: dsl|pool|broadband|hsd
Sep 21 21:02:05 panel qmail-queue-handlers[16384]:  handlers_stderr: REJECT
---8<---


... but this pattern is not shown in the server-wide Greylisting settings:
 
~# /usr/local/psa/bin/grey_listing --info-server
...
Black domains patterns list:
*[0-9][0-9]-[0-9][0-9]-[0-9][0-9]*
*[0-9][0-9].[0-9][0-9].[0-9][0-9]*
*[0-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9]*
*[0-9][0-9][0-9].[0-9][0-9][0-9].[0-9[0-9]][0-9]*
dsl|broadband|hsd
dynamic|static|ppp|dyn-ip|dial-up
...

 
Why is the "dsl|pool|broadband|hsd" pattern used?
How can I remove the pattern from the server-wide Greylisting settings?

Cause

The domain pattern exists in the SQLite database file /var/lib/plesk/mail/greylist/settings.db and is used for email processing. However, the CLI utility grey_listing cannot remove the pattern from Greylisting configuration and does not show it with "grey_listing --info-server."

Resolution

The problem will be fixed in a future update of Parallels Plesk Panel that will be released after version 9.2.3.

To resolve the problem for now, it is recommended that you remove the pattern manually with the following commands:

~# /usr/local/psa/bin/grey_listing -u -domains-blacklist del:"dsl|pool|broadband|hsd"
~# echo "delete from remote_domains where domain='dsl|pool|broadband|hsd';" |sqlite3 /var/lib/plesk/mail/greylist/settings.db

4f57df935e9acf8d18830757d2346419 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 11a46d8a188d618564f4f0cead9a50f3 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF