Sendmail using several MTAs question

Hello people

I'm trying to configure my sendmail to relay my mail to different MTAs based on the email adress:

If User1@home.com ->send to MTA 10.10.10.1

If User2@home.com ->send to MTA 10.10.10.2

I've read about this and it seens that it should be enough to change my mailertable to:

User1@home.com User1@[10.10.10.1]

User2@home.com User2@[10.10.10.2]

That didn't worked. I've tried changin the virtusertable but that also didn't worked.

I also want to relay all mail except the above to 10.10.10.3:

@home.com %1@[10.10.3]

Anyone has ideias about this?

Paulo Sergio

 

 Paulo Roncon
 PT Inovação
 R. Engº José Ferreira Pinto Basto - 3810 -106 Aveiro
 Tel +351 234 403341