I1m trying to configure virtualmin, but I get this message:
No address mapping (virtusers) file was found in your Sendmail configuration. Your may need to add the appropriate feature your Sendmail M4 and re-build the configuration.
Typically, a Virtualmin install using the install.sh script would configure Postfix (amongst lots of other goodies!) – but your error message about suggests your system is using Sendmail.
If you didn’t use the install.sh script, is starting fresh and using the install.sh an option?
Barring that, I’m not particularly familiar with Sendmail… but it sounds like your Sendmail config is missing some options. What you’d need to do is Google that particular error message, and add the appropriate lines to your config file.
Hrm, which set of instructions there did you use? There’s a few mentioned on that page (which may be a bit confusing).
The first paragraph there mentions:
If you have a fresh system running CentOS 5 or Debian 4.0 and want to install the full Virtualmin GPL stack (including Webmin, Apache, Postfix and other dependencies), the easiest way is to use the Virtualmin GPL install script. Otherwise, you should add it to an existing Webmin install, as described here.
You can install it by going to the Webmin Configuration module, clicking on Webmin Modules and use the first form on the page to install the downloaded .wbm.gz file. Or install it directly from the above URL. After installation the module will show up in the Servers category.
I installed it from URL
ok if i reinstall, where exactly do I have to place the install.sh file on my system?
I did the same thing (followed the same wrong instructions) I have worked out what I am going to do and that is.
Reinstall my operating system (ubuntu). Make sure I have a fully qualified domain name for the domain name. Then download and save insatll.sh somewhere on the new operating system. Then run updatedb (This tells the os where you put install.sh) and ./install.sh this will then install and configure Webmin, Virtualmin and Usermin
I managed to reinstall it, but I get this error message now:
The Read User Mail module is not setup to use the Postfix mail server. Either adjust its module configuration to match, or change the Virtualmin configuration.
I suspect when you reinstalled it, that some config files from you previous installation may have been left over.
The easiest way to do all this is to start with a fresh OS install, and install Virtualmin onto that.
However, the error you’re seeing is fixable! Check in System Settings -> Module Config, and on the first screen there, make sure that “Mail server to configure” is set to “Postfix”.