You should also be able to keep smtps authentication enabled, but allow smtp relay from your scanner.
When creating the template fragment to deny local unauthenticated relay as described
here, use these instructions instead (replacing "192.168.x.y" with the IP of your scanner):
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients
echo "# SMTP Relay from local network restricted by custom template
192.168.x.y" >\
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80relayFromLocalNetwork
signal-event email-update
If you have two scanners, add the IP of the second scanner on a new line.
To un-do these instructions:
rm -f /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80relayFromLocalNetwork
signal-event email-update
Note: I have not tested these instructions. If you test them and they work, let us know and we'll update the wiki.
Reference info is at
http://wiki.qpsmtpd.org/plugins - search for "check_relay"