• 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

GreyListing per domain

Jayson

Basic Pleskian
Hello,

I have Plesk 11.09 on a Centos 6.3 box. Recently to deal with the high spam volumes I turned on greylisting for all domains. After a few complaints I tried to turn it off for select domains. However, it does not seem to matter if I un-select per domain. Home>Tools & Settings> Spam Filter Settings (Switch on server-wide greylisting spam protection) is checked.

On the subscription level, Home> Subscriptions> domainxxx.com> Mail> (Switch on greylisting spam protection for all mail accounts under this domain) is NOT checked. Please excuse domainxxx.com, I did not want my customer to see their domain while google searching. :p

On the console,, mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'select name,gl_filter from domains' shows the gl_filter as on for this domain. I check maillog and I see milter-reject still filtering messages for the domain email.

What gives? Should I be updating the db manually changing gl_filter to off?

Reading the docs it appears that you must turn greylisting on globally, then switch off for select domains. Anyone know if this is true?


Thank you for your help,
 
Try to set it manually:
# /usr/local/psa/admin/bin/glmng --help
USAGE: glmng COMMAND [OPTIONS]
glmng --add [--black-list|--white-list [--address=<address> [--mailname=<mailname]]]
glmng --remove [--address=<address> [--mailname=<mailname>]]
glmng --update [--black-list|--white-list [--address=<address> [--mailname=<mailname]]]
glmng --set [--grey-interval=<interval(minutes)>] [--expire-interval=<interval(minutes)>] [--penalty-interval=<interval(minutes)>]

glmng --enable-greylisting [--address=<address>]
glmng --disable-greylisting [--address=<address>]
glmng --enable-penalties
glmng --disable-penalties
glmng --enable-checking
glmng --disable-checking
glmng --enable-user-prefs
glmng --disable-user-prefs
glmng --help, -h
COMMANDS:
--add Add record into black/white server-wide lists.
Add into list for local mailname instead server-wide
lists if '--mailname' option was set.
Getting data from <stdin> if --black-list or --white-list
options was not set
--remove Delete record from black/white server-wide lists.
Delete from list for local mailname instead server-wide
lists if '--mailname' option was set.
Getting data from <stdin> if --black-list or --white-list
options was not set
--update Delete all records from black/white list and add record
from <stdin> stream
Getting data from <stdin> if --black-list or --white-list
options was not set
--enable-penalties, Switch on/off penalties mode.
--disable-penalties
--enable-greylisting, Enable greylisting for domains which defined in --address option.
Getting data from <stdin> if --address was not set
--disable-greylisting, Disable greylisting for domains which defined in --address option.
Getting data from <stdin> if --address was not set
--enable-checking, Enable/disable greylisting feature.
--disable-checking
--enable-user-prefs
Enable/disable user preferences for greylisting feature --disable-user-prefs
--help This help message.
OPTIONS:
--black-list List of domains(or mailnames for per-mailname controls)
which from do not accept messages.
--white-list List of domains(or mailnames for per-mailname controls)
which from do not accept messages.
--mailname Local e-mail address of message recpient.
--grey-interval Greylisting wait time interval in minutes.
--expire-interval Expiration time of record in greylisting database. In minutes.
--penalty-interval Additional waiting time for messages which received before
greylisting time was expired. In minutes.
 
Back
Top