Please help me!

4 posts / 0 new
Last post
#1 Tue, 11/29/2005 - 17:28
LarsReimers
LarsReimers's picture

Please help me!

I can´t for my life fix following error:

----- The following addresses had permanent fatal errors ----- <info@reimers.se> (reason: 553 5.1.8[webmin@kundserver.www1>... Domain of sender address webmin@kundserver.www1 does not exist)

The computername of my server are "kundserver.www1".

I'm a newbis, and lerning all the time, but rigt now i'm lost ;-)

Lars Reimers info@reimers.se

Tue, 11/29/2005 - 18:25
Joe
Joe's picture

Hey Lars,

So this domain wasn't setup with Virtualmin--it is the actual hostname of the system?

I suspect the problem is that your system doesn't know that its name is kundserver.www1. It probably thinks it is localhost.localdomain (or something else).

Postfix ships with a configuration that accepts mail for $myhostname (which should be kundserver.www1, but appears not to be) and localhost.$mydomain (which probably doesn't apply to you). So, the solution can be to fix the hostname at the system level, or it can be to explicitly tell Postfix to accept mail for this name even if it thinks it isn't the systems hostname. I generally prefer to fix the root of the problem--in this case the hostname of the system is not what you and DNS thinks it is.

First, you can see what the system thinks its name is using the hostname command:

<i># hostname</i>

Likewise, you can see what postfix thinks the hostname is:

<i># postconf myhostname</i>

If it is incorrect, you can correct it by editing /etc/sysconfig/network and changing the HOSTNAME parameter (or adding one if there isn't one in the file):

<i>HOSTNAME=kundserver.www1</i>

And, to make it the hostname immediately, use the hostname command again:

<i># hostname kundserver.www1</i>

Then restart postfix:

<i># service postfix restart</i>

Now we can check to see what postfix thinks about the myhostname parameter:

<i># postconf myhostname</i>

And if things still don't work right, check to be sure the $mydestination variable hasn't been changed from the default (I've included the output on my system, so you can see what the default ought to look like):

<i># postconf mydestination
mydestination = $myhostname, localhost.$mydomain, localhost</i>

If it has been changed, you can fix it by browsing to Servers:Postfix:General Options, and set &quot;What domains to receive mail for&quot; back to Default. Save and apply your changes and test it.

This ought to at least get you started on a solution--if this doesn't whip it right into shape, feel free to come back with more details (especially the output of the hostname and postconf commands above).

--

Check out the forum guidelines!

Wed, 11/30/2005 - 05:30
LarsReimers
LarsReimers's picture

Dear Joe,

Thank you for the fast replay, I'll tray your solution, and comming back with the result.

Thank you!

Regards,

Wed, 11/30/2005 - 06:05
LarsReimers
LarsReimers's picture

No, sorry that don&Acirc;&acute;thelps me!

Her are the result:
&gt; hostname
kundserver.www1
&gt; postconf mydestination
mydestination = $myhostname, localhost.$mydomain, localhost

That seems to be OK, if I mail to you my loggin to the server, maybe you will be nice to see if I have mess up somethings.

Regards,

Topic locked