OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Theodore Knab (tjkannapolislinux.org)
Date: Mon Jul 01 2002 - 14:27:06 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    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: <tedmycoll.edu>
    Delivered-To: tknab2imap.mycoll.edu
    Received: from mailhub.mycoll.edu (mailhub.mycoll.edu
    by imap.mycoll.edu (Postfix) with ESMTP id AADF87012
    for <tknab2imap.mycoll.edu>; 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 <tknab2mycoll.edu>; Mon, 1 Jul 2002 14:59:07
    Received: by list.mycoll.edu (Postfix, from userid
    To: tknab2mycoll.edu
    Subject: test2
    Date: Mon, 1 Jul 2002 14:59:11 -0400 (EDT)
    From: tedmycoll.edu (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 majordomopostfix.org with content
    (not subject): unsubscribe postfix-users