Unable to save feature: Postfix config missing system's host in mydestination?

8 posts / 0 new
Last post
#1 Mon, 12/19/2011 - 20:18
Vince42

Unable to save feature: Postfix config missing system's host in mydestination?

Hi,

I just tried to enable the subversion feature, but I get the error message

Failed to save enabled features : Your Postfix configuration is missing the system's mail hostname domain.tld from the mydestination line, which will cause mail to bounce.

The hostname command returns 'host.domain.tld'.

The /etc/hosts file lists my external IP and host.domain.tld.

The postfix config is valid and all mails are delivered perfectly.

The only "non standard configuration" at the moment is, that domain.tld is still handled by my old server, while host.domain.tld is handled by the new server. I also tried to use domain2.tld and host.domain2.tld (which is completely handled by my new server) in /etc/postfix/main.cf - but the result was the same.

Any idea what might be the issue here?

Thanks a lot in advance!

Cheers Vince

Mon, 12/19/2011 - 23:13
andreychek

Howdy,

What distribution are you using?

And, just to clarify -- is "host.domain.tld" listed on the "mydestination" line of your /etc/postfix/main.cf file?

-Eric

Tue, 12/20/2011 - 04:14 (Reply to #2)
Vince42

Hi,

the server runs with Ubuntu 10.04.

I tried both variants in mydestination: only the predefined $-variables and $variables plus explicitly providing 'host.domain.tld'. None of the variants brought a change and they all still raised the error message when enabling the subversion feature. Thus I ended up in reverting mydestination to the $-only entries, ie

mydestination = $myhostname $mydomain localhost.$mydomain localhost

Cheers Vince

Thu, 01/05/2012 - 23:09 (Reply to #3)
JamieCameron

Try adding your full hostname to that line, as well as $mydestination .

''

Fri, 01/06/2012 - 17:18 (Reply to #5)
JamieCameron

So did you add the same hostname that is shown in Virtualmin's error message?

Also, have you upgraded to Virtualmin 3.88 ? Some older versions displayed this error message incorrectly..

''

Sat, 01/07/2012 - 00:02 (Reply to #7)
JamieCameron

What if you just add the first part of the hostname to the mydestination line ?

If that doesn't help, make sure there aren't two mydestination lines in main.cf .

''

Sun, 01/08/2012 - 14:14 (Reply to #9)
JamieCameron

I'm completely confused now, as this doesn't match at all what Virtualmin's code does.

I think I'd have to login to your system myself to see what is going wrong here. Email me at jcameron@virtualmin.com if that is possible ..

''

Sun, 01/08/2012 - 23:57 (Reply to #10)
JamieCameron

Ok, I see the issue now - your mydestination line had hostnames separated by spaces, but Virtualmin was expecting commas! Once I fixed that, the config check didn't complain anymore about it.

Since a space-separated list of domains is actually legit, I will fix Virtualmin in the next release to handle this.

''

Topic locked