Re: Confusion over masquading/rewriting...

From: Magnus Bäck (no email)
Date: Fri Jul 01 2005 - 12:28:34 EDT

  • Next message: nate: "an odd issue that happened last night"

    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
    

  • Next message: nate: "an odd issue that happened last night"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD