vi /etc/mail/virtusertable

@domainname.com %1@google.smtp

then

make

make restart

/etc/rc.d/sendmail restart