Postfix Error Not Listed here on Forum

I had some problems sending mail with a relay denied, and fixed that but now i get the error:

This is the mail system at host

I’m sorry to have to inform you that your message could not be delivered to one or more recipients. It’s attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

               The mail system

(expanded from <>): Host or domain name
not found. Name service error for type=A: Host not

What is this, i have set everything up fine and apache and everything works fine.
Tried hostname -f
and i get
So i dont understand how the domain got addedd again after the domain.
How do i change and fix this, my /etc/hosts file is correct and shows localhost xxx

Please Help Joe.

Note i have edited the email addresses and hostnames for security reasons this is not how they show up on the error.

You might want to check your DNS settings. If you manually (through the address records module)added an MX addresses and forgot the ending "." you will end up with a double domain name.

Nope this wasnt it.

I did

dpkg-reconfigure postfix

and the server name automatically was

I changed it to but this still didnt fix my problem.

I now cannot recieve or send mail via any of the sites postfix addresses.

Can someone help please.

If need be i will send you an email with access to the server to have a poke around.