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 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 the pattern is not shown in 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 pattern "dsl|pool|broadband|hsd" is used?
How to remove the pattern from server wide Greylisting settings?
Cause
The domain pattern exists in SQLite database file /var/lib/plesk/mail/greylist/settings.db and it is used for email processing.However 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 future update of Parallels Plesk Panel that will be released after version 9.2.3.To resolve the problem 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