Koozali.org: home of the SME Server

Disable SSL over email

Offline bldgfac

  • **
  • 25
  • +0/-0
Disable SSL over email
« 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:

Code: [Select]
config setprop qpsmtpd Authentication disabled
signal-event email-update

Thanks a bunch.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Disable SSL over email
« Reply #1 on: May 04, 2010, 08:25:12 PM »
bldgfac

Code: [Select]
config setprop qpsmtpd Authentication disabled
signal-event email-update

Yes
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline bldgfac

  • **
  • 25
  • +0/-0
Re: Disable SSL over email
« Reply #2 on: May 04, 2010, 08:54:39 PM »
Thank you!

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Disable SSL over email
« Reply #3 on: May 05, 2010, 01:24:54 PM »
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):

Code: [Select]
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:
Code: [Select]
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"