Virtualmin virtual-server 3.94 released

Howdy all,

I’ve just rolled out Virtualmin virtual-server module version 3.94. It will begin appearing for all users over the next few hours.

Changes since 3.93:

  • Updated the SugarCRM script installer to version 6.5.2, WHMCS to 5.1.2, Django to 1.4.1, phpMyAdmin to 3.5.2.2, ZenPhoto to 1.4.3.1, PHPList to 2.10.19, Drupal to 7.15, RoundCube to 0.8.1, Typo3 to 4.6.12, dotProject to 2.1.6, Piwik to 1.8.3, Z-push to 2.0.2-1437, phpMyFAQ to 2.7.8, and CMS made simple to 1.11.1.
  • Alias virtual servers that have their own mailboxes and aliases can now be created, rather than always forwarding mail to the destination domain.
  • When installing Ruby scripts, dependencies like gcc and libfcgi-devel are now installed automatically if possible.
  • The outgoing IP address for email sent from a domain can now be configured to match the domain’s IP, when using Postfix 2.7 or above.
  • If the system’s primary IP address has changed, display a warning message and prompt to update all virtual servers on the old IP.
  • Virtual servers can now be backed up to the Rackspace Cloud Files service, in a similar way to Virtualmin’s S3 backup support.

As well as several minor bug fixes.

The virtualmin-htpasswd package has also been updated to version 2.6, which fixes cosmetic issues.

As always, if you run into any problems, please let us know in the issue tracker.

Regards,

Joe

Oops. Wait a bit before updating. This update requires a theme update, which isn’t in the repo yet. Will be fixed shortly.

OK, virtual-server-theme 8.5-2 is in the repo now, which includes support for the new warning_messages function, which is required for virtual-server 3.94.

Hey,

Just installed it on the two brand new CentOS 6.0 servers and got the following error message after the final step of the post-install wizard:


HTTP/1.0 500 Perl execution failed Server: MiniServ/1.590 Date: Sat, 25 Aug 2012 05:12:51 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed

Undefined subroutine &virtual_server::licence_warning_message called at /usr/libexec/webmin/virtual-server-theme/right.cgi line 116.


Is there a bug or something?

Howdy,

You may want to try doing another “yum update” to make sure you have the updated theme.

Once you do that, run this command to restart Webmin:

/etc/init.d/webmin restart

After that, does it work properly for you?

-Eric

after running apt-get update

then /etc/init.d/webmin restart

I still get the following error

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.590 Date: Sat, 25 Aug 2012 20:46:57 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed

Undefined subroutine &virtual_server::licence_warning_message called at /usr/share/webmin/virtual-server-theme/right.cgi line 116.

when trying to view system information.

I’m just experimenting with the new feature:

Alias virtual servers that have their own mailboxes and aliases can now be created, rather than always forwarding mail to the destination domain.

And I’m stumbling upon a missing “Edit Users” function in an alias domain. With the given description of the new feature, I was thinking that it means alias domains can now have “email aliases and email users” (i.e. mailboxes), while it probably just means “email aliases”. Is that correct?

I can see that alias domains still don’t get an own directory under “~/domains”, so naturally it cannot have their own users. But to me, “having their own mailboxes” would imply “having Linux users” to log in as for retrieving those mailboxes, so the feature description might be a bit misleading. To me, a mailbox is something that gets its own login and password and can be retrieved individually through POP3/IMAP.

That said, when I read the new feature description, I was already wondering what it was about, and what the difference between sub-servers and aliases would be, now that aliases can presumably have their own users. :slight_smile: would imply

Which distro are you using?

And what output do you get if you run this command:

dpkg -l ‘webmin-virtual-server-theme’

I am running Ubuntu 12.04

dpkg -l ‘webmin-virtual-server-theme’

No packages found matching webmin-virtual-server-theme.

Nothing has changed except the update I got this morning. This is only affecting my status page tho. Everything else seems to work fine.

IS there a theme for virtualmin? I have one for webmin.

Also, when I do this…

apt-get install webmin-virtual-server-theme
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
webmin-virtual-server-theme
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,240 kB of archives.
After this operation, 5,998 MB of additional disk space will be used.
(Reading database … 118851 files and directories currently installed.)
Unpacking webmin-virtual-server-theme (from …/webmin-virtual-server-theme_8.5-2_all.deb) …
This Webmin module is already installed on your system.
dpkg: error processing /var/cache/apt/archives/webmin-virtual-server-theme_8.5-2_all.deb (–unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/webmin-virtual-server-theme_8.5-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have NO idea why I get this error.

Hmm, how did you initially go about installing Virtualmin? Did you use the install.sh script?

It sounds like Webmin is saying it sees a version of the theme installed outside of the .deb package that you’re currently trying to install.

-Eric

I have been running this setup for a year.

I installed it from the script.

I have 6 virtual sites and have 2 sites that are social web sites (one’s a development site and the other is live).

All functions work normally except for system status.

Everything was fine until this last update.

I am not a big perl programmer, but it certainly looks like there’s a function missing.

Maybe it’s just mispelled?

I am using the “virtualmin framed theme”. Is that now out of date?

Well, it is indeed a missing function… the question is just regarding why it’s missing.

You need that new Virtualmin Framed Theme package installed, as it contains that function.

You’re getting an error of some sort when installing it that I haven’t been able to reproduce.

Webmin is telling you that it’s already installed, but dpkg is saying there is no such package installed.

You could always try running these two commands:

mv /usr/share/webmin/virtual-server-theme /tmp apt-get install webmin-virtual-server-theme

Outgoing SMTP IP Address (Version 3.94) | Try it …
The outgoing IP address for email sent from a domain can now be configured to match the domain’s IP, when using Postfix 2.7 or above.

The Try it link goes to a BCC setting not anything related to a IP and searching the template or domain settings doesn’t revel anything.

So where is this hidden feature ?

To get the Edit Users link, you’d need to enable mail for the alias server in the Edit Virtual Server page, in the Enabled Features section. Just check the box beside “Mail for domain” and save it.

You can then create mail users, not jut mail aliases.

I don’t know that I necessarily recommend using this feature. It was added for a couple of reasons. First, cPanel backups sometimes have mailboxes associated with alias domains…meaning that mail would “disappear” on a restore in Virtualmin in that circumstance. The other was a user request to be able to use alias domains with a Drupal multi-site setup. The web aliases could be hacked in the past with Server Templates (and/or proxying), but now there’s first class UI support for it. Drupal multi-site is a single install of Drupal with multiple databases selected by the hostname. Aliases aways worked for the web side of it, but you couldn’t (easily) have mailboxes for those domains.

But, it might have other uses. Since we had a couple of folks asking for it, and I ran into a problem in a cPanel migration of a site I was doing for a non-profit I’ve been helping out, it turned out to be the right time to add it.

Outgoing SMTP IP Address (Version 3.94) | Try it …
The outgoing IP address for email sent from a domain can now be configured to match the domain’s IP, when using Postfix 2.7 or above.

The Try it link goes to a BCC setting not anything related to a IP and searching the template or domain settings doesn’t revel anything.

So where is this hidden feature ?

There’s instructions on setting up the Sender Dependent Outgoing IP Address here:

https://www.virtualmin.com/documentation/email/dependent

I’ve done this for a domain, and I’m not seeing the edit users link, still.

Server is indeed set up as “Alias of … with own e-mail”, email is enabled in both the main and subserver. I’m seeing edit aliases, but not edit users.