From: Yannick on
Hi,

Thanks a lot to all of you (Ralf, Stefano and Appliantologist) for your great support !!!

I think I'll use the Ralf solution as I don't have to maintain any additional list , by just putting:

luser_relay = $user@[IP_address_of_old_server]
local_recipient_maps =

All the mailbox not yet localy created on the new server will be forwarded to the old.



Thanks Again to all, you saved my new weeks !

Regards.

________________________________________
De : owner-postfix-users(a)postfix.org [owner-postfix-users(a)postfix.org] de la part de postfix(a)stefanolocati.it [postfix(a)stefanolocati.it]
Date d'envoi : samedi 1 mai 2010 21:02
À : postfix-users(a)postfix.org
Objet : Re: How to forward mail when mailbox not localy existing

Quoting Ralf Hildebrandt <Ralf.Hildebrandt(a)charite.de>:

> * Yannick <yannick(a)campana.be>:
> > Hi,
> >
> > In the context of migration from an MSExchaneg to Postfix ,
> >
> > I 'm tring to reproduce a functionality:
> > Until we have migrated all the 300 mailboxes, I want to put my new Postfix
> as a front end.
> > It would firstly receive the SMTP stream: if the recipient mailbox is
> localy existing on it then deliver localy (maildir format) and if the mailbox
> is not yet exising (user not migret) it would then transferred the mail to
> the old server.
>
> luser_relay

Hi all,

here is my first post and I'm here to learn more of postfix, I'm not an expert,
so I will be happy to be corrected if I say something wrong.

actually I noticed that this could be done with transport

mydomain.com smtp:[ip_address_or_hostname_of_exchange]

while I was testing this configuration I noticed that only non-existant
mailboxes were forwarded to the other smtp, while mailboxes that actually
existed in my user table were delivered locally.

Regards,
Stefano L.
From: Reinaldo de Carvalho on
On Sun, May 2, 2010 at 7:21 PM, Yannick <yannick(a)campana.be> wrote:
> Hi,
>
> Thanks a lot to all of you (Ralf, Stefano and Appliantologist) for your great support !!!
>
> I think I'll use the Ralf solution as I don't have to maintain any additional list , by just putting:
>
> luser_relay = $user@[IP_address_of_old_server]
> local_recipient_maps  =
>
> All the mailbox not yet localy created on the new server will be forwarded to the old.
>

Please, don't turn off (local) recipient checking.

--
Reinaldo de Carvalho
http://korreio.sf.net
http://python-cyrus.sf.net

"Don't try to adapt the software to the way you work, but rather
yourself to the way the software works" (myself)