You'll probably also want to remove domainB from $mydestination too.

On Monday 11 September 2006 09:16, Jonathan Kline wrote:
> Use Transport Maps to set the finaldestination for domainB.
>
> You'll need to probably add a line to /etc/postfix/main.conf to tell it you
> will be using berkely DB Transportmaps (usually /etc/postfix/transport)
>
> Then in /etc/postfix/transport add the line
> FQDN.DOMAINB.COM	[ip.of.said.destination]
>
>
> Note the the brackets they force postfix to not look up the mx handler for
> the domain.
>
> After adding the domains to /etc/postfix/transport you'll need to run
> postmap /etc/postfix/transport and reload postfix.
>
> ~J
>
> On Monday 11 September 2006 09:02, Kevin Lombardo wrote:
> > Hello-
> >
> > I have a postfix server up and running, and currently it accepts mail
> > for domainA and domainB and delivers locally. I am not using virtual
> > domains, I have mydestination = domainA, domainB.
> >
> > I would like to change the setup so that mail for domainA gets
> > delivered locally, but mail for domainB is forwarded to another mail
> > server, or even forwarded to the relayhost.
> >
> > Is this possible?
> >
> > Thanks!
> >
> > _______________________________________________
> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> > tclug-list at mn-linux.org
> > http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list