masquerade one domain only

From: Theodore Knab (no email)
Date: Mon Jul 01 2002 - 15:27:06 EDT


I was wondering how you masquerade one domain with Postfix.

For example,

    I have a server called imap.mycoll.edu.

    I have another server called mailhub.mycoll.edu.

And so on....

I want to masquerade imap.mycoll.edu to mycoll.edu.

I tried using masquerade_domains, but it transformed list.mycoll.edu and all my other servers
to mycoll.edu.

syntax from mail.cf

masquerade_domains = mycoll.edu
masquerade_exceptions= root,mailer-daemon,postmaster

sample header:

Return-Path: <>
Delivered-To:
Received: from mailhub.mycoll.edu (mailhub.mycoll.edu
by imap.mycoll.edu (Postfix) with ESMTP id AADF87012
for <>; Mon, 1 Jul 2002 14:59:06 -0400
Received: from list.mycoll.edu (list.mycoll.edu
by mailhub.mycoll.edu (Postfix) with ESMTP id 242173A601
for <>; Mon, 1 Jul 2002 14:59:07
Received: by list.mycoll.edu (Postfix, from userid
To:
Subject: test2
Date: Mon, 1 Jul 2002 14:59:11 -0400 (EDT)
From: (Ted)

this doesn't work.
masquerade_domain = mycoll.edu

neither does this.

masquerade_domains = mycoll.edu
masquerade_exceptions=
    root,mailer-daemon,postmaster,list.mycoll.edu

What does ?

---------------------
Ted Knab
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD