• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Disable greylisting doesn´t works

SalvadorS

Regular Pleskian
Hello,

I am using plesk 9.3.2 in a debian 5.0

If I disable greylisting server wide:

server:/usr/local/psa/bin# /usr/local/psa/bin/grey_listing --update-server -status off
SUCCESS: Update of server-wide settings complete.

It seems greylisting is disabled but if I check one domain randomly:

server:/usr/local/psa/bin# ./grey_listing --info-domain whatever.com
Grey listing for domain is enabled
SUCCESS: Gathering information for 'whatever.com' complete.

As you can see greylisting is active.

How can I really disable greylisting? Any ideas?

Thanks a lot.
 
Did you tried to disable GL server-widely via Plesk interface?
 
Here you have the info:

server:/usr/local/psa/bin# /usr/local/psa/bin/grey_listing --update-server -status off
SUCCESS: Update of server-wide settings complete.
server:/usr/local/psa/bin# find /usr/local/psa/handlers -name "*grey*"
/usr/local/psa/handlers/hooks/grey
 
Hello,

I want to install postgrey on the server. Can I uninstall the greylisting feature on plesk? How?

Thanks a lot.
 
As you can see:

# rpm -qf /usr/local/psa/admin/bin/glmng
psa-mail-driver-common-9.5.2-cos5.build95100504.12
# rpm -qf /usr/local/psa/bin/grey_listing
psa-api-9.5.2-cos5.build95100504.12

GL is a part of system Plesk packages and it can be removed as usual package. You can disable it only via Plesk interface.
 
Dear IgorG,

Thanks for the update. Just to clarify. To uninstall greylisting I have to execute this:

rpm -qf /usr/local/psa/admin/bin/glmng

And then this

rpm -qf /usr/local/psa/bin/grey_listing

This will uninstall this packages:

psa-mail-driver-common-9.5.2-cos5.build95100504.12
psa-api-9.5.2-cos5.build95100504.12

(I have Plesk 9.3 on this server but I asume that commands uninstall 9.3 greylisting packages)

Wait your answer

Regards
 
No. These commands show to what packages these files belong. But you can't remove these packages because there are a lot of dependences:

# rpm -e --test psa-mail-driver-common psa-api
error: Failed dependencies:
psa-mail-driver-common is needed by (installed) psa-mail-qc-driver-1.0.0-cos5.build95100504.12.i586
psa-api >= 9.5.2 is needed by (installed) psa-9.5.2-cos5.build95100504.12.i586
psa-api = 9.5.2-cos5.build95100504.12 is needed by (installed) psa-api-rpc-9.5.2-cos5.build95100504.12.noarch

As you can see all Plesk (psa package) should be removed for resolving dependences.
 
You can do it via Plesk interface. I do not understand why you can't it.
 
Thanks for the update.

In the plesk intergface greylisting is disabled:

greylisting.jpg


However if I check the domains individually:

server:/usr/local/psa/bin# ./grey_listing --info-domain xxx.com
Grey listing for domain is enabled
SUCCESS: Gathering information for 'xxx.com' complete.

The greylisting is enabled.
 
Well. Look:

# /usr/local/psa/bin/grey_listing --update-server -status off
SUCCESS: Update of server-wide settings complete.
# find /usr/local/psa/handlers -name "*grey*"
/usr/local/psa/handlers/hooks/grey

As you can see there is only binary file and no any GL handlers.
Now we enable GL:

# /usr/local/psa/bin/grey_listing --update-server -status on
SUCCESS: Update of server-wide settings complete.
# find /usr/local/psa/handlers -name "*grey*"
/usr/local/psa/handlers/before-queue/global/05-grey-sTIaz6
/usr/local/psa/handlers/info/05-grey-sTIaz6
/usr/local/psa/handlers/hooks/grey

As you can see now there are GL handlers and therefore GL is enabled.
So, you can ignore message about domain's GL status.
 
hi fellas, we have same issue,
greylisting was enable automatically, (i beleive ) that was enable again by some plesk automatic update.
i've tryed the suggestion above, and wating the postfix graphic to see if was disable again, thanks
 
Back
Top