RE: Defining another server as the mailhub.

From: Bisbal, Prentice (no email)
Date: Thu Jul 01 2004 - 11:10:04 EDT


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?

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
**********************************************************************







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD