Hi,
I have checked over the files again and I will post the results below:
If you can see an error in what I am doing here please let me know as I have spent far too much time on this already.
[root@smtp ~]# cat /etc/e-smith/templates/var/service/qpsmtpd/config/norelayclients/20norelayFromRouter
{
return '' unless $GatewayIP;
# we allow access from the router, but we do not allow relaying
return $GatewayIP;
}
[root@smtp ~]# cat /etc/e-smith/templates-custom/var/service/qpsmtpd/config/norelayclients/20norelayFromRouter
[root@smtp ~]#
expand-template /var/service/qpsmtpd/config/norelayclients
signal-event email-update
cat /var/service/qpsmtpd/config/norelayclients
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at
http://www.contribs.org/development/#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
# Format is IP, or IP part with trailing dot
# e.g. "127.0.0.1", or "192.168."
192.168.50.1
[root@smtp ~]#