Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 13:13:19 +0100
From:      Edd <list@arameus.net>
To:        freebsd-questions@freebsd.org
Subject:   Postfix possibly ignoring myhostname and mydomainname?
Message-ID:  <200405201213.i4KCDJm26033@server1.web-mania.com>

next in thread | raw e-mail | index | archive | help

Hi,
I want postfix to send email from a domain name different to the one that
it really is. This is because I have no real (as in on the net) domain
associated with it, so I am going to use my website address so that the
from field resolves and relays are happy to pass on my mail.

I have:

set myhostname to:
hitbox.arameus.net

set mydomainname to:
arameus.net

and added this line:
masquerade_domains=3Dhitbox.arameus.net

So my theory is that postfix will send from uid@arameus.net

then restarted postfix. (postfix reload).
A quick 'postconf -d | grep my' reveals that postfix is infact ignoring
completely the value I have given it! why so?

Sorry if this is a really obvoius mistake, but I am new to mail server
administration, and I have checked the documentation and FreeBSD
mailinglist without luck.

Someone has suggested relaying between these two domains, so I added
relay_domains =3D arameus.net

Still no luck Im afraid.

Thanks all!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405201213.i4KCDJm26033>