For future reference, badhelo is in:
/var/service/qpsmtpd/config/badhelo
While the file is templated, it hasn't made its way into the config-db.
You can see the current values as a guide.
cat /etc/e-smith/templates/var/service/qpsmtpd/config/badhelo/20yahoo.com
yahoo.com
Using that info, you can customize this with a template-custom.
Make the dir:
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/badhelo
Edit the file:
echo ylmf-pc > /etc/e-smith/templates-custom/var/service/qpsmtpd/config/badhelo/20ylmf-pc
Expand and restart the service by signaling the event:
signal-event email-update
============================================
This could probably make its way into the config-db with the following:
/etc/e-smith/templates/var/service/qpsmtpd/config/badhelo/20BadHeloItems
{
my @badhelo = split /[,:]/, ${qpsmtpd}{BadHelo} || '';
return "# No BadHelo are defined" unless (scalar @badhelo);
return join "\n", @badhelo;
}
Add the values to the config-db:
config setprop qpsmtpd BadHelo aol.com,yahoo.com,ylmf-pc
Expand and restart:
signal-event email-update