Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Rigger on February 11, 2004, 09:53:28 AM
-
Hello,
I was expanding the /etc/rc.d/init.d/masq file using #>/sbin/e-smith/expand-template /tc/rc.d/init.d/masq and it generated this error.
WARNING in /etc/e-smith/templates//etc/rc.d/init.d/masq/90adjustSMTPProxy: Use of uninitialized value in string eq at /etc/e-smith/templates//etc/rc.d/init.d/masq/90adjustSMTPProxy line 15.
Looking at the template fragment it looks like it is checking the db to see if the SMTPProxy is enabled.
if (${'smtpfront-qmail'}{'Proxy'} eq 'enabled')
Looking in the /etc/e-smith/db/smtpfront-qmail/status file states enabled
Do I want this enabled or disable? If possible a short explanation on what the SMTPProxy is. Last how do I correct the db to show which setting I'd choose?
Only thing close I found in a forum search was this SME6.0b3 intercepting SMTP traffic (http://forums.contribs.org/index.php?topic=8870.msg33384#msg33384)
For now just taking advise from that topic and creating a empty custom template for that fragment.
--
Doug M.
"Rigger"
-
You should look in /home/e-smith/configuration if you have a line like this one :
smtpfront-qmail=service|Proxy|enabled|access|public|status|enabled
Maybe the "proxy" property is missing. :-?
-
Apparently this has something to do with the virus scanner, Amavis.
smtpfront-qmail=service|ExternalInterfacesFilter|/usr/bin/qmail-queue.amavis|InternalInterfacesFilter|/usr/bin/qmail-queue.amavis|access|public|status|enabled
--
Doug M.
"Rigger"
-
No. In fact, my complete line also includes Amavis properties :
smtpfront-qmail=service|ExternalInterfacesFilter|/usr/bin/qmail-queue.amavis|Instances|40|InternalInterfacesFilter|/usr/bin/qmail-queue.amavis|Proxy|enabled|access|public|status|enabled
You can try to manually add your lost property :
/sbin/e-smith/db configuration setprop smtpfront-qmail Proxy enabled
-
That did the trick. Set the property SMTPProxy to enabled, deleted the empty custom template fragment and the template expanded without error. Thanks
--
Doug M.
"Rigger"