SME6.0 - CGI - QMAIL Port Change
gbl - smedevelopment <[email protected]> Sun, 04 Jan 2004 19:07:12 +0100
| Newsgroups | gmane.network.e-smith.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm developing a Extension for QMAIL-SMTP Port Change in SME6.0
When I run the following Script - started within the SME Webmanager - I
get a permission error in the line with the processTemplate statement.
But the scripts runs well even I loggen on as root in a console!
Any suggestions?
#!/usr/bin/perl -w
package esmith;
use strict;
use Errno;
use esmith::config;
use esmith::util;
use esmith::db;
my %conf;
tie %conf, 'esmith::config';
esmith::util::processTemplate (\%conf,
"/var/service/smtpfront-qmail/runenv");
system("/sbin/service smtpfront-qmail restart") == 0
or die ("Error occured while reconfiguring QMail.\n");
exit (0);
sincerly
Guenter
--
Please report bugs to [email protected]
Please mail [email protected] (only) to discuss security issues
Support for registered customers and partners to [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org