Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: Parsival1973 on January 15, 2017, 08:39:24 PM
-
Hello, not sure if appropriate forum or not.
I would like to know how I can remove greylisting from my server.
Thank you,
-
Well, how did you enable it? :-)
-
I followed the directions posted here...
https://wiki.contribs.org/Greylisting
-
ok..
so
rm /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/10greylisting
rm /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/05whitelist_soft
rm /etc/e-smith/templates-custom/var/service/qpsmtpd/config/whitelisthosts/10whitelisthosts
/sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0
signal-event email-update
-
ok..
so
rm /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/10greylisting
rm /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/05whitelist_soft
rm /etc/e-smith/templates-custom/var/service/qpsmtpd/config/whitelisthosts/10whitelisthosts
/sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0
signal-event email-update
I've added these instructions to the Wiki..
https://wiki.contribs.org/Greylisting
-
I've added these instructions to the Wiki..
https://wiki.contribs.org/Greylisting
Thank you
-
If you're having performance problems and only need to fine-tune the settings you could set greylisting in "test" mode, or turn it off in the custom template used to enable it.
Here is the code from the wiki page that enables greylisting:
echo greylisting black_timeout 60 db_dir /var/lib/qpsmtpd/greylisting > /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/10greylisting
/sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0
signal-event email-update
Adding "mode testonly" :
echo greylisting black_timeout 60 db_dir /var/lib/qpsmtpd/greylisting mode testonly> /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/10greylisting
/sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0
signal-event email-update
mode ( denysoft | testonly | off )
Operating mode. In 'denysoft' mode we log and track connections and issue DENYSOFTs for black
connections; in 'testonly' mode we log and track connections as normal, but never actually issue
DENYSOFTs (useful for seeding the database and testing without impacting deliveries); in 'off'
mode we do nothing (useful for turning greylisting off globally if using per_recipient configs).
Default: denysoft.
-
Thank you very much.