|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Confusion over masquading/rewriting...
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Fri Jul 01 2005 - 11:28:34 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, July 1, 2005 5:56 pm, Kelly Price said:
> Okay, I'm having *some* confusion here. A sanitized version:
>
> Right now, I'm working on a Postfix 2.1.5 server that belives it's
> "test.domain2.tld". This server is behind a firewall, and gets mail
> just fine via Fetchmail from "mail.domain.tld". domain2.tld isn't
> registered anywhere, so there's no DNS other than the local system
> /etc/hosts file. However, mail going out to the Internet (eg this
> account on Gmail) is using
localhost.domain2.tld as the local sender.
> It needs to be
domain.tld (for replies and mail back to deliver
> properly).
myorigin is the parameter the controls which domain is appended to sender
addresses without a domain part. Set it appropriately.
> Upgrading to 2.2 is out of the question as it's a bundled server software
> suite.
>
> The easy way would be to make the server belive it's "test.domain.tld"
> and set masquading to "domain.tld". I may not have that option.
Why not?
> The only other way seems to be setting /etc/postfix/cannonical, but
> that looks like to be specific users and not all users. The
> documentation isn't much help in this reguard.
Oh, I believe canonical(5) is very clear about domain wildcards in
canonical maps. But you don't need those.
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]