How to configure sendmail to use different SMTP relay servers.
For example: For all gmail.com recipients sendmail should use gmail SMTP server obviously with Gmail smtp auth. For all yahoo.com recipients it should use yahoo.com SMTP with yahoo.com username and password. And for rest of the recipients it should use my dedicated SMTP server.