Whitelist_SoftThe "whitelist_soft" plugin has been renamed to "whitelist".
As such, you need to replace references to "whitelist_soft" with "whitelist" in the install instructions:
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0
echo whitelist > /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/05whitelist
Other RecommendationsThe greylisting instructions also include this recommendation:
Having reject disabled is useful for seeding the database and testing without impacting deliveries. It is recommended to begin with reject 0 for a week or two before enabling reject.
Additionally, my (non-SME) greylisting blocks emails for 15 minutes, which drives my users crazy when they are dealing with vendors and others; I would reduce the black_timeout from 60 minutes to 5, or possibly even 1...
Finally, I like to be able to research blocked emails in the mail logs -- According to the docs, I'll get more details in the logs if I enable "deny_late" in greylisting.
To disable reject, enable deny_late and reduce the black_timeout, modify the greylisting config like this:
echo greylisting reject 0 deny_late 1 black_timeout 5 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
You can review the greylisting database using:
strings /var/lib/qpsmtpd/greylisting/greylist.dbm
When you want to enable reject:
echo greylisting reject 1 black_timeout 5 deny_late 1 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