Virtualmin/Postfix error.

6 posts / 0 new
Last post
#1 Mon, 10/10/2005 - 19:48
AaronWoehler

Virtualmin/Postfix error.

I get the following error in both the free and commercial version on Fedora Core 4.

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configurated, and that quotas are active ..

  No virtual domains file was found in your Postfix configuration. Maybe no virtual domain map has been defined.

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

Postfix 2.2.2 Webmin 1.230

Thanks for any help.

Tue, 10/11/2005 - 11:15
Joe
Joe's picture

Hey Aaron,

This one is easy to fix, but I'm surprised it happened in Virtualmin Professional. The installer is supposed to set this up for you. Was this an existing Virtualmin GPL system? There are many known issues with upgrading to Professional at this point (if your mail server is postfix, the issues are all easily fixable).

Anyway to workaround it:

Browse to Servers:Postfix Configuration:Virtual Domains

In the "Domain mapping lookup tables" field, enter: "hash:/etc/postfix/virtual" without the quotes.

Save it.

Browse to Virtualmin Virtual Servers and re-check your configuration. Holler if this fails to resolve this issue.

--

Check out the forum guidelines!

Sun, 10/16/2005 - 21:09 (Reply to #2)
BrettSmith

This isn't working for me... it gives this error when I put in that lookup table and hit apply:

Failed to save options : Failed to regenerate table /etc/postfix/virtual: postmap: warning: valid_hostname: numeric hostname: 192.168.1.1 postmap: warning: valid_hostname: numeric hostname: 192.168.1.1 postmap: warning: valid_hostname: numeric hostname: 168.1.1

Any ideas?

Sun, 10/16/2005 - 22:24 (Reply to #3)
Joe
Joe's picture

Hey Brett,

This is strange. Your system doesn't have a fully qualified hostname, and yet the installer didn't catch that fact. The system <i>must</i> have a fully qualified hostname (like virtualmin.com), and an IP address or localhost.localdomain won't do. This is a requirement of Postfix (and any mailserver, really...Postfix is just very particular about making sure you have one before it will do anything).

I'd better spend some time with the installer to be sure this check actually works for all cases.

After you give your box a real hostname, then solution I gave above should work fine.

--

Check out the forum guidelines!

Sun, 10/16/2005 - 22:49 (Reply to #4)
BrettSmith

Thank you, this fixed the problem

In case it will help you, instead of my actual my hostname, I had put in my router IP ( don't even know what I was thinking... )

Sat, 02/10/2007 - 20:42
AdamBrown

When i apply the hash info provided within the postfix config i get this error...Anyone have any ideas?

Failed to save options : Failed to regenerate table /etc/postfix/virtual: /usr/sbin/postmap: /usr/lib/mysql/libmysqlclient.so.14: no version information available (required by /usr/sbin/postmap)

Topic locked