Sendmail not configuring

13 posts / 0 new
Last post
#1 Mon, 01/05/2009 - 02:17
jinxster

Sendmail not configuring

Dear All,

Virtualmin does not want to configure.

It tells me:

[code:1]The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..

  BIND DNS server is installed, and the system is configured to use it.

  The Sendmail mail server does not appear to be installed on your system, or has not yet been set up properly in Webmin's Sendmail Mail Server module. If you are running a different mail server, select it on the module configuration page.

.. your system is not ready for use by Virtualmin.

[/code:1]

I goto server >> Sendmail Mail Server and it tells me [code:1]Help.. Module Config Sendmail Mail Server Sendmail version 8.14.2 Search Docs..

Your sendmail config file does not appear to be for the latest sendmail version. Webmin only supports versions 8.8 and above.[/code:1]

How can I get Virtualmin to configure? Many thanks Andrew<br><br>Post edited by: jinxster, at: 2009/01/05 02:18

Mon, 01/05/2009 - 04:11
jinxster

Ok I progressed a little bit.

When I start sendmail I get

<div class='quote'> * Starting Mail Transport Agent (MTA) sendmail 554 5.0.0 No local mailer defined
554 5.0.0 QueueDirectory (Q) option must be set
[ OK ]
</div>

Mon, 01/05/2009 - 05:50 (Reply to #2)
andreychek

Howdy,

Is it your intention to run Sendmail rather than Postfix? Postfix is the Virtualmin default, and comes setup pretty well :-)

I'm not much of a Sendmail guy, but poking around on Google for that error shows some messages about needing to set a line like this:

O QueueDirectory=/var/spool/mqueue

(You'll need to make sure that directory is correct)

In the /etc/mail/sendmail.cf file (you can probably also set that from within Webmin's Sendmail Module).
-Eric

Sun, 06/07/2009 - 07:34 (Reply to #3)
jinxster

Ok I successfully found a &quot;few&quot; problems.

In my sendmail.mc file I had put in the line:

<div class='quote'>FEATURE(`virtusertable&acirc;

Sun, 06/07/2009 - 07:34 (Reply to #4)
jinxster

Ok I successfully found a &quot;few&quot; problems.

In my sendmail.mc file I had put in the line:

<div class='quote'>FEATURE(`virtusertable&acirc;

Mon, 01/05/2009 - 07:23 (Reply to #5)
jinxster

Where can I find virtualmin's source for ubuntu? (ie what can I put in sources.list?)

And then is it simply: apt-get install httpd?

The problem is the suexec is pointing to the wrong directory. It needs to point to /home and not /var/www.

Apparently you need to recompile to do this. I found this: <a href='http://ubuntuforums.org/showthread.php?t=227551' target='_blank'>http://ubuntuforums.org/showthread.php?t=227551</a> which worked for another guy.

The last guy obviously did the recompile and finished installing virtualmin, then after he updated he could put in a link from /var/www to /home. The problem is to get past virtualmin install. This inherantly suggests there could be &quot;bugs&quot; in his particular installation in future, unless virtualmin is just strict on a setting which doesn't really mean anything.

Anyhow, I got the recompile, after correcting about 6 dependancy packages im stuck on
<div class='quote'>dpkg-buildpackage: warning: Failed to sign .changes file
-bash: dpkg-buildpackage:: command not found</div>

If you got a place for me to apt-get a /home version please help. Thanks

Mon, 01/05/2009 - 07:37 (Reply to #6)
andreychek

Okay, it sounds like you simply have the distro's version of Apache rather than Virtualmin's.

While recompiling is a solution, it's the more difficult way of going about it :-)

You can see the various Apache packages you have installed by running this:

dpkg -l 'apache*'

The Virtualmin packages have a version number ending in &quot;vm&quot;, such as &quot;2.2.8-11vm&quot;.

So the goal would be to replace the current Apache packages with those in the Virtualmin repository (they're near identical, but with the correct suexec path).

If you didn't install Virtualmin using the install.sh script, you'll want to make sure you have the Virtualmin repository added to the /etc/apt/sources.list file.

Mon, 01/05/2009 - 07:53 (Reply to #7)
jinxster

Apart from the default za.archive repositories, I only have

deb http://download.webmin.com/download/repository sarge contrib

What is the virtualmin repository?

Thanks for your help andreychek!

Mon, 01/05/2009 - 08:44 (Reply to #8)
andreychek

Hrm, I'm beginning to suspect you may not have installed with the install.sh script. For future reference, the install script makes life a ton easier, and automatically handles most setup tasks such as this :-)

The repository you'd use depends on what distro/version you're using, and whether you're using the GPL or Pro version of Virtualmin.

However, the GPL repository is here if that helps get you started:

http://software.virtualmin.com/gpl/

You mentioned something about Ubuntu; if you're using Ubuntu 8.04, I believe the Virtualmin repository entry would be:

deb http://software.virtualmin.com/gpl/ubuntu/ virtualmin-hardy main

Mon, 01/05/2009 - 09:03 (Reply to #9)
jinxster

No I didnt use install.sh.

I read someone that required a clean install and rhe manual way didnt.

I had a few other panels on here, and the server is a long way away so reinstalling was out the question.

Now it tells me

<div class='quote'>apt-get install apache2=2.2.8-11vm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2.2.8-11vm' for 'apache2' was not found
</div>

Is there another version number? How can I find it?

I feel like I made the 100km marathon but i cant do the last 1km.

Mon, 01/05/2009 - 09:08 (Reply to #10)
andreychek

Yeah, it looks like you have the package name right; did you run &quot;apt-get update&quot; after adding the Virtualmin repostory to the sources.list file?
-Eric

Mon, 01/05/2009 - 17:07 (Reply to #11)
jinxster

Aah yes, that struck me in my sleep.

Ok virtualmin is up and running. (Finally!)

Ok a big thanks to andreychek.

Mon, 01/05/2009 - 06:25
andreychek

Recompiling Apache rarely seems desirable :-)

That makes updates in the future a pain, and Virtualmin even provides their own Apache packages in the hopes of preventing you from having to re-compile it.

If you wish to recompile, searching for &quot;Ubuntu recompile Apache&quot; on Google brings up a few resources that should help (and the Debian instructions are remarkably similar to Ubuntu); but perhaps there's a way to avoid that?

What problem are you trying to solve?
-Eric

Topic locked