Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Hey, I have a strange problem: I have a mail-server. And I have a strange issue with hostnames on ubuntu. When I send an e-mail there is a line in the headers: Received from domain (ip6-localhost []) but my hosts file does not have The domain does not really fit in since was just for testing and I want to get rid of this! /etc/hosts and etc/hostname do not have an entry for /etc/mailname too Any ideas? (Reverse DNS is okay)

share|improve this question

1 Answer 1

It's probably specified in the configuration file. Assuming this is postfix, make sure /etc/postfix/ contains:

mydomain =
myhostname =
myorigin = $mydomain
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.