• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Problem with greylisting.

sebas

Basic Pleskian
Hi,

We have been having an increasing number of REJECTS for those using "Microsoft accounts".

Jan 8 08:00:55 www greylisting filter[21002]: Starting greylisting filter...
Jan 8 08:00:55 www greylisting filter[21002]: list type: black, from: ch1outboundpool.messaging.microsoft.com, match string: dsl|pool|broadband|hsd
Jan 8 08:00:55 www qmail-queue-handlers[21001]: handlers_stderr: REJECT
Jan 8 08:00:55 www qmail-queue-handlers[21001]: REJECT during call 'grey' handler

Then we added a rule:

/usr/local/psa/bin/grey_listing --update-server -domains-whitelist "add:*messaging.microsoft.com"

Now it is:

Jan 8 14:59:26 www qmail-queue-handlers[23006]: [email protected]
Jan 8 14:59:26 www qmail-queue-handlers[23006]: [email protected]
Jan 8 14:59:26 www greylisting filter[23013]: Starting greylisting filter...
Jan 8 14:59:26 www qmail-queue-handlers[23006]: handlers_stderr: DEFER
Jan 8 14:59:26 www qmail-queue-handlers[23006]: DEFER during call 'grey' handler


That moved the filtering from REJECT to DEFER. So we are trying to edit the dsl|pool|broadband|hsd rule.

So far we have been failing.

Code:
[root@www new]# /usr/local/psa/bin/grey_listing  -u -blacklist "del:dsl|pool|broadband|hsd"
unable parse pattern list: incorrect pattern "dsl|pool|broadband|hsd"

Code:
[root@www new]# /usr/local/psa/bin/grey_listing  -u -blacklist del:dsl|pool|broadband|hsd
-bash: pool: command not found
-bash: hsd: command not found
-bash: broadband: command not found
unable parse pattern list: incorrect pattern "dsl"

Code:
[root@www new]# /usr/local/psa/bin/grey_listing  -u -blacklist "del:dsl\|pool\|broadband\|hsd"
unable parse pattern list: incorrect pattern "dsl\|pool\|broadband\|hsd"

Code:
[root@www new]# /usr/local/psa/bin/grey_listing  -u -blacklist del:dsl\|pool\|broadband\|hsd
unable parse pattern list: incorrect pattern "dsl|pool|broadband|hsd"

So far no luck.

Any ideas?

Thanks for your help.
 
Last edited:
What about using -domains-blacklist option instead -blacklist ?

~# /usr/local/psa/bin/grey_listing -u -domains-blacklist "del:dsl|pool|broadband|hsd"
SUCCESS: Update of server-wide settings complete.
 
Back
Top