setting for one single message with multiple domains

2011-07-21 Thread Zhou, Yan
Hi there, I thought this is a Postfix setting. Postfix 2.3.3. Say, my postfix server manages domain1 and domain2. If I send a message to X@domain1 and Y@domain2. Right now I get two separate messages (both identical), how can I get just one single message for ALL domains? Thanks Yan Co

Re: setting for one single message with multiple domains

2011-07-21 Thread Victor Duchovni
On Thu, Jul 21, 2011 at 03:03:53PM -0400, Zhou, Yan wrote: > Hi there, > > I thought this is a Postfix setting. Postfix 2.3.3. > > Say, my postfix server manages domain1 and domain2. If I send a message > to X@domain1 and Y@domain2. Right now I get two separate messages (both > identical), h

RE: setting for one single message with multiple domains

2011-07-21 Thread Zhou, Yan
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Victor Duchovni > Sent: Thursday, July 21, 2011 3:09 PM > To: postfix-users@postfix.org > Subject: Re: setting for one single message with multiple domain

Re: setting for one single message with multiple domains

2011-07-21 Thread Jeroen Geilman
On 2011-07-21 21:08, Victor Duchovni wrote: On Thu, Jul 21, 2011 at 03:03:53PM -0400, Zhou, Yan wrote: Hi there, I thought this is a Postfix setting. Postfix 2.3.3. Say, my postfix server manages domain1 and domain2. If I send a message to X@domain1 and Y@domain2. Right now I get two separ

Re: setting for one single message with multiple domains

2011-07-21 Thread Jeroen Geilman
On 2011-07-21 21:39, Zhou, Yan wrote: -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix- us...@postfix.org] On Behalf Of Victor Duchovni Sent: Thursday, July 21, 2011 3:09 PM To: postfix-users@postfix.org Subject: Re: setting for one single message with

Re: setting for one single message with multiple domains

2011-07-21 Thread Victor Duchovni
On Thu, Jul 21, 2011 at 09:39:19PM +0200, Jeroen Geilman wrote: >> For mail others send, you can't. For mail you send, if it is important >> (I would suggest not), configure the same transport:nexthop for both >> domains: >> >> example.com smtp:example.com >> example.net smtp:exa

Re: setting for one single message with multiple domains

2011-07-21 Thread Jeroen Geilman
On 2011-07-21 21:47, Victor Duchovni wrote: On Thu, Jul 21, 2011 at 09:39:19PM +0200, Jeroen Geilman wrote: For mail others send, you can't. For mail you send, if it is important (I would suggest not), configure the same transport:nexthop for both domains: example.com smtp:example.

Re: setting for one single message with multiple domains

2011-07-21 Thread Victor Duchovni
On Thu, Jul 21, 2011 at 10:00:35PM +0200, Jeroen Geilman wrote: >> It is useful, when you want envelopes with recipient in both domains >> to be handled in a single transaction with the target nexthop, rather >> than a separate transaction for each domain (default). > > I understood that part, but

Re: setting for one single message with multiple domains

2011-07-21 Thread Jeroen Geilman
On 2011-07-21 22:02, Victor Duchovni wrote: On Thu, Jul 21, 2011 at 10:00:35PM +0200, Jeroen Geilman wrote: It is useful, when you want envelopes with recipient in both domains to be handled in a single transaction with the target nexthop, rather than a separate transaction for each domain (def

Re: setting for one single message with multiple domains

2011-07-21 Thread Victor Duchovni
On Thu, Jul 21, 2011 at 10:13:06PM +0200, Jeroen Geilman wrote: > Now my application is connecting to a local Postfix, which then relays > to the same remote Postfix. > > *Now this same remote Postfix is delivering two messages.* > - > > > He needs to configure domain-dependent transports on t

Re: setting for one single message with multiple domains

2011-07-21 Thread Wietse Venema
Victor Duchovni: > On Thu, Jul 21, 2011 at 10:00:35PM +0200, Jeroen Geilman wrote: > > >> It is useful, when you want envelopes with recipient in both domains > >> to be handled in a single transaction with the target nexthop, rather > >> than a separate transaction for each domain (default). > >

Re: setting for one single message with multiple domains

2011-07-21 Thread Victor Duchovni
On Thu, Jul 21, 2011 at 04:27:00PM -0400, Wietse Venema wrote: > The alternative would require what is called MX piggy-backing, where > the MTA looks up the MX records for all the recipients of a message, > and sorts the recipients by the MX IP address (instead of the > next-hop domain name like P

Re: setting for one single message with multiple domains

2011-07-21 Thread Jeroen Geilman
On 2011-07-21 22:23, Victor Duchovni wrote: On Thu, Jul 21, 2011 at 10:13:06PM +0200, Jeroen Geilman wrote: Now my application is connecting to a local Postfix, which then relays to the same remote Postfix. *Now this same remote Postfix is delivering two messages.* - He needs to configur

Re: setting for one single message with multiple domains

2011-07-21 Thread Victor Duchovni
On Thu, Jul 21, 2011 at 11:10:31PM +0200, Jeroen Geilman wrote: > Ah - does setting a relayhost= not make that a single destination, then ? Sure, if all remote mail goes to the same place. Anything that causes the domains in question to resolve to the same transport:nexthop. -- Viktor.

Re: setting for one single message with multiple domains

2011-07-21 Thread Jeroen Geilman
On 2011-07-21 23:14, Victor Duchovni wrote: On Thu, Jul 21, 2011 at 11:10:31PM +0200, Jeroen Geilman wrote: Ah - does setting a relayhost= not make that a single destination, then ? Sure, if all remote mail goes to the same place. Anything that causes the domains in question to resolve to the

Re: setting for one single message with multiple domains

2011-07-21 Thread Victor Duchovni
On Thu, Jul 21, 2011 at 11:19:16PM +0200, Jeroen Geilman wrote: > On 2011-07-21 23:14, Victor Duchovni wrote: >> On Thu, Jul 21, 2011 at 11:10:31PM +0200, Jeroen Geilman wrote: >> >>> Ah - does setting a relayhost= not make that a single destination, then ? >> Sure, if all remote mail goes to the