Mar
That template file fragment content looks the same as the base template fragment on my system.
The recommended idea is to leave it unchanged, & copy it to the templates-custom tree & make changes there (typically).
I believe those template fragment updates have been incorporated into sme server many years ago, so you should not need to modify templates.
In your case you may only need to make db changes via command line.
Before doing so, investigate the current config & make a note of it.
What is the output of
config show qpsmtpd
..... it looks from the content that the Authentication is required for LAN clients which is the opposite of reality
is there any advise?
After checking the config as above, if necessary you could run the command shown ie
How do I enable smtp authentication for users on the internal network
config setprop qpsmtpd Authentication enabled
signal-event email-update
Then follow the steps for
How do I disable SMTP relay for unauthenticated LAN clients in the link provided earlier in this thread.
ie
Enable smtp authentication as shown above
Disable un-authenticated smtp relay for the local network(s)using:
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients
echo "# SMTP Relay from local network denied by custom template" >\
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80relayFromLocalNetwork
signal-event email-update
Configure your email clients to use smtps with authentication:
- change outgoing smtp port to 465 and select SSL
- enable Authentication against the outgoing mail server