Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bldgfac on May 04, 2010, 07:27:09 PM
-
Hi,
Last week I tried to setup a more secure outgoing email server using the following howto: http://wiki.contribs.org/Email#How_do_I_enable_smtp_authentication_for_users_on_the_internal_network
However, i've just discovered that our printer/scanner doesn't allow SSL so i'm unable to scan anthing to email. I would like to go back to the standard port 25 but can't find any howto's. Do I just do:
config setprop qpsmtpd Authentication disabled
signal-event email-update
Thanks a bunch.
-
bldgfac
config setprop qpsmtpd Authentication disabled
signal-event email-update
Yes
-
Thank you!
-
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 (http://wiki.contribs.org/Email#How_do_I_disable_SMTP_relay_for_unauthenticated_LAN_clients), 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"