dunni
> I'm not sure where to edit these lines.
The Spam Filter install should have set this correctly for you, have you actually enabled spam filtering in the server manager panel ?
Otherwise do
/sbin/e-smith/db configuration setprop amavis-ng qmail-queue /var/qmail/bin/qmail-spamc
/sbin/e-smith/signal-event email-update
and to fix the incorrect entry in the configuration database for smtpfront-qmail, which I can only assume must have been incorrectly typed or altered when you have been "playing" with your system do,
cp /home/e-smith/configuration /home/e-smith/configuration.save
pico /home/e-smith/configuration
scroll down to section for smtpfront-qmail that has the entry
|ExernalInterfacesFilter|/usr/bin/qmail-queue.amavis
and remove that part only
Then save Ctrl o
and exit Ctrl x