• 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.

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