From: Wietse Venema (no email)
Date: Thu Jul 01 2004 - 11:40:08 EDT
Bisbal, Prentice:
> I spoke too soon. This works, but there's one problem: The addressess are
> rewritten so all the mail comes from . I would like to keep
> the addresses so that mail from root at machine1 still appears to be from
> . Is this possible?
Note: this introduces an inconsistency between sender and recipient
address. What you want is that sender root resolves to
while recipient root resolves to .
One possibility is to specify "myorigin = $myhostname",
"masquerade_domains = $mydomain" and "masquerade_exeptions = root".
Wietse
> Prentice
>
> -----Original Message-----
> From:
> [mailto:]On Behalf Of Bisbal, Prentice
> Sent: Thursday, July 01, 2004 10:05 AM
> To: ''
> Subject: RE: Defining another server as the mailhub.
>
>
> Setting $mydomain = (my domain)
>
> and
>
> myorigin = $mydomain
>
> worked. Thanks.
>
> Prentice
>
>
> -----Original Message-----
> From:
> [mailto:]On Behalf Of Magnus B?ck
> Sent: Thursday, July 01, 2004 9:46 AM
> To:
> Subject: Re: Defining another server as the mailhub.
>
>
> On Thursday, July 01, 2004 at 15:41 CEST,
> "Bisbal, Prentice" <> wrote:
>
> > I would like to define another server as the mailhub that will receive
> > all mail sent to unqualified addresses. This can be done in sendmail
> > by defining the MAILHUB variable in sendmail.mc. What is the best way
> > to duplicate this behavior in postfix?
>
> By default, addresses with no hostpart get @$myorigin appended by
> Postfix, and addresses with just a hostname as hostpart get $mydomain
> appended. Make sure you don't list $myorigin and $myhostname.$mydomain
> in $mydestination if you want to avoid local delivery of such mail.
>
> [...]
>
> --
> Magnus B?ck
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
>
>
>
|
|
|