> > So basically (pseudo here)
> >
> > foobar:
> > domains = select domainname from table-with-all-domains-which
> > should-be-handled
> > local_parts = select username from usertable where name = $local_parts
> > driver = smartuser
> > transport = select transport from usertable where fullid =
> > $localparts@$domains
>
>
> Didn't you just want to re-address the message? In which case you need
> "new_address" rather than "transport".
I need to route the mails to another SMTP server, and on _some_ i need to
do recipient rewrite.