• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How to control greylisting on domain level?

M

MatthiasK

Guest
Hello,

for about half a year we're using Plesk 9.x.x (using QMail) on a Debian 4 machine.
Recently we updated to Plesk version 9.2.1 and activated greylisting as well as spamassassin.
As there are options available within the domain controls to disable greylisting for a specific domain (i.e. if the customer uses a spam filter, located within the company), this option doesn't seem to work.
It is possible to control spamassassin per domain, but greylisting remains active for the entire server, although it should be disabled for this specific domain (at least the control panel shows it that way).
If greylisting is turned off for the entire server, it is impossible to activate it - or spamassassin - on domain level (checkbox in the domain settings is disabled).

I already checked all resources Parallels provides (various other threads here) on related issues and consider them very inconclusive (like the manual on how to use the grey_listing command line tool).
Could someone from Parallels possibly give a statement about this issue and maybe write a howto on how to fix that?

Thanks in advance!

Best regards

MK
 
GUI: Uncheck 'Disable Switch on greylisting spam protection for all mail accounts under this domain [x]' checkbox at Home Page -> Domains -> [domain] -> Mail Settings (dropdown in Mail section)

CLI: /opt/psa/bin/grey_listing --update-domain [domain] -status off
 
Thank you for the instructions!

I aldready knew the GUI option, but it only triggers the spamassassin status on my system. Greylisting remains active for all domains on this server no matter what status is selected within the GUI.
Does the GUI switch trigger the same CLI command or are there any differences?
 
Yes, CLI command is equal with GUI option.

Try to see gl parameter in Plesk db:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'select name,gl_filter from domains'

It is switched off in db ?

What GL handler is write into /opt/psa/var/log/maillog for letters for this domain?
 
Thank you!
I checked the values in the DB with the command you supplied. Every domain is "ON", although it's supposed to be off. The CLI and GUI commands are accepted, but don't change those settings in the DB.

/opt/psa/var/log/maillog shows this GL handler:

Jul 31 14:29:21 SERVERNAME qmail-queue-handlers[28248]: call_handlers: call executable = '/opt/psa/handlers/info/05-grey-AGdYL7/executable'

I hope this is entry is what you were looking for.

Could it be possible that this problem is related to a setting in settings - mail server - spam filter settings - [x] activate server wide graylisting spam protection (translated from German). If this option is disabled, it is impossible to control greylisting or spamassassin at all.

Best regards

MK
 
Any news on that issue?

Hi,

are there any news regarding this issue?
Is there a possibility that this will be fixed with the recent updates?
I don't want to update a system that doesn't run smoothly, because that may introduce even more problems without fixing the old ones.

Best regards

MK
 
and another month

Hi everyone,

another month passed without any fix for that issue. Meanwhile we updated to the latest version of Plesk (9.2.2) but the greylisting control still doesn't work. It's either on or off for the entire server. The optios in the mailserver controls don't work and those commands supplied by "hasher" don't have any effect either.
Is there any way Parallels will fix that issue!?

Best regards

MK
 
Plesk 9.2 domain administrators manual

Page 111:
When the greylisting support components are installed on the server, then greylisting is automatically switched on for all domains. You can switch off and on greylisting protection for your domain through Parallels Plesk Panel (at Home > Mail group title menu > Mail Settings > Switch on greylisting spam protection for all mail accounts under this domain option).
That's exactly what doesn't work. Why is it even mentioned in the manual if it doesn't work?
 
Back
Top